jsscclr commited on
Commit
45c855c
·
verified ·
1 Parent(s): 6b74d0a

Update colors.py

Browse files
Files changed (1) hide show
  1. colors.py +56 -56
colors.py CHANGED
@@ -124,65 +124,65 @@ yellow = Color(
124
  c950="hsla(31, 45%, 14%, 1)",
125
  )
126
 
127
- # Colors with alpha transparency
128
- white = {
129
- "white": "hsla(0, 0%, 100%, 1)",
130
- "whiteA90": "hsla(0, 0%, 100%, 0.9)",
131
- "whiteA80": "hsla(0, 0%, 100%, 0.8)",
132
- "whiteA70": "hsla(0, 0%, 100%, 0.7)",
133
- "whiteA50": "hsla(0, 0%, 100%, 0.5)",
134
- "whiteA40": "hsla(0, 0%, 100%, 0.4)",
135
- "whiteA30": "hsla(0, 0%, 100%, 0.3)",
136
- "whiteA20": "hsla(0, 0%, 100%, 0.2)",
137
- "whiteA15": "hsla(0, 0%, 100%, 0.15)",
138
- "whiteA07": "hsla(0, 0%, 100%, 0.07)",
139
- "whiteA00": "hsla(0, 0%, 100%, 0)",
140
- }
141
 
142
- black = {
143
- "black": "hsla(210, 26%, 7%, 1)",
144
- "blackA86": "hsla(210, 26%, 7%, 0.86)",
145
- "blackA70": "hsla(210, 26%, 7%, 0.7)",
146
- "blackA60": "hsla(210, 26%, 9%, 0.6)",
147
- "blackA50": "hsla(207, 26%, 15%, 0.5)",
148
- "blackA40": "hsla(209, 26%, 19%, 0.4)",
149
- "blackA30": "hsla(209, 26%, 23%, 0.3)",
150
- "blackA20": "hsla(211, 26%, 28%, 0.2)",
151
- "blackA15": "hsla(211, 25%, 30%, 0.15)",
152
- "blackA07": "hsla(209, 26%, 34%, 0.07)",
153
- "blackA00": "hsla(210, 26%, 7%, 0)",
154
- }
 
155
 
156
- # Greys with alpha transparency
157
- grey = {
158
- "greyUltraLight": "hsla(220, 13%, 97%, 1)",
159
- "greyUltraLightA70": "hsla(220, 13%, 97%, 0.7)",
160
- "greyUltraLightA00": "hsla(220, 13%, 97%, 0)",
161
- "greyLight": "hsla(228, 20%, 95%, 1)",
162
- "greyLightA70": "hsla(228, 20%, 95%, 0.7)",
163
- "greyLightA00": "hsla(228, 20%, 95%, 0)",
164
- "greyDark": "hsla(220, 3%, 15%, 1)",
165
- "greyDarkA70": "hsla(220, 3%, 15%, 0.7)",
166
- "greyDarkA00": "hsla(220, 3%, 15%, 0)",
167
- "greyUltraDark": "hsla(220, 4%, 10%, 1)",
168
- "greyUltraDarkA70": "hsla(220, 4%, 10%, 0.7)",
169
- "greyUltraDarkA00": "hsla(220, 4%, 10%, 0)",
170
- }
171
 
172
- # Purple with alpha transparency
173
- purpleA = {
174
- "purpleA90": "hsla(262, 100%, 72%, 0.9)",
175
- "purpleA80": "hsla(262, 100%, 72%, 0.8)",
176
- "purpleA70": "hsla(262, 100%, 72%, 0.7)",
177
- "purpleA60": "hsla(262, 100%, 72%, 0.6)",
178
- "purpleA50": "hsla(262, 100%, 72%, 0.5)",
179
- "purpleA40": "hsla(262, 100%, 72%, 0.4)",
180
- "purpleA30": "hsla(262, 100%, 72%, 0.3)",
181
- "purpleA20": "hsla(262, 100%, 72%, 0.2)",
182
- "purpleA15": "hsla(262, 100%, 72%, 0.15)",
183
- "purpleA07": "hsla(262, 100%, 72%, 0.07)",
184
- "purpleA00": "hsla(262, 100%, 72%, 0)",
185
- }
186
 
187
  # Brand gradients
188
  gradients = {
 
124
  c950="hsla(31, 45%, 14%, 1)",
125
  )
126
 
127
+ grey = Color(
128
+ name="grey",
129
+ c50="hsla(220, 13%, 97%, 1)",
130
+ c100="hsla(228, 20%, 95%, 1)",
131
+ c200="hsla(228, 20%, 95%, 0.7)",
132
+ c300="hsla(228, 20%, 95%, 0.5)",
133
+ c400="hsla(220, 3%, 15%, 0.3)",
134
+ c500="hsla(220, 3%, 15%, 1)",
135
+ c600="hsla(220, 3%, 15%, 0.7)",
136
+ c700="hsla(220, 3%, 15%, 0.5)",
137
+ c800="hsla(220, 4%, 10%, 1)",
138
+ c900="hsla(220, 4%, 10%, 0.7)",
139
+ c950="hsla(220, 4%, 10%, 0.5)",
140
+ )
141
 
142
+ white = Color(
143
+ name="white",
144
+ c50="hsla(0, 0%, 100%, 1)", # white
145
+ c100="hsla(0, 0%, 100%, 0.9)", # whiteA90
146
+ c200="hsla(0, 0%, 100%, 0.8)", # whiteA80
147
+ c300="hsla(0, 0%, 100%, 0.7)", # whiteA70
148
+ c400="hsla(0, 0%, 100%, 0.5)", # whiteA50
149
+ c500="hsla(0, 0%, 100%, 0.4)", # whiteA40
150
+ c600="hsla(0, 0%, 100%, 0.3)", # whiteA30
151
+ c700="hsla(0, 0%, 100%, 0.2)", # whiteA20
152
+ c800="hsla(0, 0%, 100%, 0.15)", # whiteA15
153
+ c900="hsla(0, 0%, 100%, 0.07)", # whiteA07
154
+ c950="hsla(0, 0%, 100%, 0)", # whiteA00
155
+ )
156
 
157
+ black = Color(
158
+ name="black",
159
+ c50="hsla(210, 26%, 7%, 1)", # black
160
+ c100="hsla(210, 26%, 7%, 0.86)", # blackA86
161
+ c200="hsla(210, 26%, 7%, 0.7)", # blackA70
162
+ c300="hsla(210, 26%, 9%, 0.6)", # blackA60
163
+ c400="hsla(207, 26%, 15%, 0.5)", # blackA50
164
+ c500="hsla(209, 26%, 19%, 0.4)", # blackA40
165
+ c600="hsla(209, 26%, 23%, 0.3)", # blackA30
166
+ c700="hsla(211, 26%, 28%, 0.2)", # blackA20
167
+ c800="hsla(211, 25%, 30%, 0.15)", # blackA15
168
+ c900="hsla(209, 26%, 34%, 0.07)", # blackA07
169
+ c950="hsla(210, 26%, 7%, 0)", # blackA00
170
+ )
 
171
 
172
+ purple_alpha = Color(
173
+ name="purple_alpha",
174
+ c50="hsla(262, 100%, 72%, 1)", # solid
175
+ c100="hsla(262, 100%, 72%, 0.9)", # purpleA90
176
+ c200="hsla(262, 100%, 72%, 0.8)", # purpleA80
177
+ c300="hsla(262, 100%, 72%, 0.7)", # purpleA70
178
+ c400="hsla(262, 100%, 72%, 0.6)", # purpleA60
179
+ c500="hsla(262, 100%, 72%, 0.5)", # purpleA50
180
+ c600="hsla(262, 100%, 72%, 0.4)", # purpleA40
181
+ c700="hsla(262, 100%, 72%, 0.3)", # purpleA30
182
+ c800="hsla(262, 100%, 72%, 0.2)", # purpleA20
183
+ c900="hsla(262, 100%, 72%, 0.15)", # purpleA15
184
+ c950="hsla(262, 100%, 72%, 0)", # purpleA00
185
+ )
186
 
187
  # Brand gradients
188
  gradients = {