Skip to content

Commit 7b97152

Browse files
mansonaamyrlam
authored andcommitted
add docs for new colour pallet
1 parent 4beb742 commit 7b97152

File tree

1 file changed

+83
-1
lines changed

1 file changed

+83
-1
lines changed

docs/concepts/colors.md

Lines changed: 83 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,86 @@ The primary palette is applied across every page of the website and contains the
4848

4949
The secondary palette is applied to UI elements and it's not part of the base colors. The purpose of the secondary palette is to ensure the readability, usability, and accessibility of all UI elements and enhance the communication of actions, changes in state, or errors.
5050

51-
The secondary palette is yet to be defined.
51+
<div class="layout">
52+
<ColorPallet
53+
class="lg:col-2"
54+
@color="#0076D6"
55+
@name="Dark Blue"
56+
@variable="--color-blue-dark"
57+
@textClasses={{array 'text-sm' 'text-base' 'text-md' 'text-lg' 'text-xl'}}
58+
@textColorClasses={{array '' 'text-light'}}
59+
/>
60+
<ColorPallet
61+
class="lg:col-2"
62+
@color="#10AAFF"
63+
@name="Blue"
64+
@variable="--color-blue"
65+
@textClasses={{array 'text-sm' 'text-base' 'text-md' 'text-lg' 'text-xl'}}
66+
@textColorClasses={{array '' 'text-light'}}
67+
/>
68+
<ColorPallet
69+
class="lg:col-2"
70+
@color="#DFFDFF"
71+
@name="Light Blue"
72+
@variable="--color-blue-light"
73+
@textClasses={{array 'text-sm' 'text-base' 'text-md' 'text-lg' 'text-xl'}}
74+
@textColorClasses={{array '' 'text-light'}}
75+
/>
76+
</div>
77+
78+
<div class="layout">
79+
<ColorPallet
80+
class="lg:col-2"
81+
@color="#8BE998"
82+
@name="Green"
83+
@variable="--color-green"
84+
@textClasses={{array 'text-sm' 'text-base' 'text-md' 'text-lg' 'text-xl'}}
85+
@textColorClasses={{array '' 'text-light'}}
86+
/>
87+
<ColorPallet
88+
class="lg:col-2"
89+
@color="#C7F9DE"
90+
@name="Light Green"
91+
@variable="--color-green-light"
92+
@textClasses={{array 'text-sm' 'text-base' 'text-md' 'text-lg' 'text-xl'}}
93+
@textColorClasses={{array '' 'text-light'}}
94+
/>
95+
</div>
96+
97+
<div class="layout">
98+
<ColorPallet
99+
class="lg:col-2"
100+
@color="#FFEC64"
101+
@name="Yellow"
102+
@variable="--color-yellow"
103+
@textClasses={{array 'text-sm' 'text-base' 'text-md' 'text-lg' 'text-xl'}}
104+
@textColorClasses={{array '' 'text-light'}}
105+
/>
106+
<ColorPallet
107+
class="lg:col-2"
108+
@color="#FFFAD6"
109+
@name="Light Yellow"
110+
@variable="--color-yellow-light"
111+
@textClasses={{array 'text-sm' 'text-base' 'text-md' 'text-lg' 'text-xl'}}
112+
@textColorClasses={{array '' 'text-light'}}
113+
/>
114+
</div>
115+
116+
<div class="layout">
117+
<ColorPallet
118+
class="lg:col-2"
119+
@color="#7650F1"
120+
@name="Lilac"
121+
@variable="--color-lilac"
122+
@textClasses={{array 'text-sm' 'text-base' 'text-md' 'text-lg' 'text-xl'}}
123+
@textColorClasses={{array '' 'text-light'}}
124+
/>
125+
<ColorPallet
126+
class="lg:col-2"
127+
@color="#D5CBFF"
128+
@name="Light Lilac"
129+
@variable="--color-lilac-light"
130+
@textClasses={{array 'text-sm' 'text-base' 'text-md' 'text-lg' 'text-xl'}}
131+
@textColorClasses={{array '' 'text-light'}}
132+
/>
133+
</div>

0 commit comments

Comments
 (0)