Define the DyeSet


Defines a set of colours that can be tweaked so that they still represent what they are but are shades that may look better with the theme. Dyes are defined in the dyes.json file.

The after tweaking the dye file the CSS must be recompiled with $ dev.atl dyes.

@alias
Refer to Bg of another row.
&alias
Refer to the Fg of another row.
%auto
Check the other component of the colour and set to be either dark or light.
{ "black" : { "Bg": "#141414", "Fg": "#FDFDFD" }, "white" : { "Bg": "#FDFDFD", "Fg": "#141414" }, "dark" : { "Bg": "@black", "Fg": "&black" }, "light" : { "Bg": "@white", "Fg": "&white" }, "red" : { "Bg": "#D22828", "Fg": "&light" }, "gold" : { "Bg": "#FFB81D", "Fg": "&light" }, "orange" : { "Bg": "#EA7222", "Fg": "&light" }, "yellow" : { "Bg": "#FFE11D", "Fg": "&light" }, "lime" : { "Bg": "#B1DE1A", "Fg": "&light" }, "green" : { "Bg": "#3BB33B", "Fg": "&light" }, "seafoam" : { "Bg": "#06D6AD", "Fg": "&light" }, "cyan" : { "Bg": "#4FD8EE", "Fg": "&light" }, "blue" : { "Bg": "#3363F4", "Fg": "&light" }, "violet" : { "Bg": "#7540EA", "Fg": "&light" }, "purple" : { "Bg": "#A671E6", "Fg": "&light" }, "magenta" : { "Bg": "#bf52bf", "Fg": "&light" }, "pink" : { "Bg": "#D587A8", "Fg": "&light" }, "grey-lt" : { "Bg": "#B0B0B0", "Fg": "&light" }, "grey-md" : { "Bg": "#707070", "Fg": "&dark" }, "grey-dk" : { "Bg": "#303030", "Fg": "&dark" } }

CSS Classes


The dark and light keywords automatically switch their colours based on if the current theme is set to be dark or light. The trick is to think Dark Mode First as things like btn-light will be dark on light themes and I am in too deep to reconsider the naming.

// Solid Buttons

// Outlined Buttons

// Progress 1

49.79%
72.34%
81.83%
82.74%
73.54%
59.71%
30.34%
46.9%
51.24%
70.53%
36.67%
77.23%
50.17%
69.69%
66.91%
40.97%
62.31%
82.69%
// Progress 2

0197a421-eb86-73d7-9e50-dca7369aa8d6.png ...
72.93%
0197a421-eb86-73d7-9e50-dca736ffadc4.png ...
53.94%
0197a421-eb86-73d7-9e50-dca737bb1714.png ...
26.29%
0197a421-eb86-73d7-9e50-dca7385f3f2a.png ...
58.82%
0197a421-eb86-73d7-9e50-dca738ff94b5.png ...
62.87%
0197a421-eb86-73d7-9e50-dca739b86a41.png ...
48.03%
0197a421-eb86-73d7-9e50-dca73a318323.png ...
67.47%
0197a421-eb86-73d7-9e50-dca73b29463e.png ...
38.34%
0197a421-eb86-73d7-9e50-dca73b618f25.png ...
71.63%
0197a421-eb86-73d7-9e50-dca73bc251e4.png ...
52.94%
0197a421-eb86-73d7-9e50-dca73c669007.png ...
63.37%
0197a421-eb86-73d7-9e50-dca73d3241df.png ...
30.4%
0197a421-eb86-73d7-9e50-dca73db8d0de.png ...
59.09%
0197a421-eb86-73d7-9e50-dca73e98c24d.png ...
83.31%
0197a421-eb86-73d7-9e50-dca73f05ce5b.png ...
76.47%
0197a421-eb86-73d7-9e50-dca73f567ff0.png ...
78.15%
0197a421-eb86-73d7-9e50-dca73ff37fdc.png ...
48.52%
0197a421-eb86-73d7-9e50-dca740ecfa86.png ...
40.17%