You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
based on a list of colors, generate the colors page.
Define how to write the sass file for colors and make sure the following things are included & extractable in a json
name
(automatically show the .c-, .bg- classes)
(automatically show the $c- variable name)
value
description
subcolorOf
(this makes sure the color is shown as a subcolor of another color, grouped together)
examplesSchema
(this is an array with the EasyForms schema to show some examples on the right)
(can be inline or can be a path pointing towards a json or js file that should export the schema array as default export)
/** * There is no pure black in this interface, instead there is the awesomeness that is Blue-Zodiac. * Use blue-zodiac instead of black, and use it’s opacity variants for text and icon colors.*/
$c-blue-zodiac: #0E2348
$c-primary: rgba($c-blue-zodiac, 0.96)
$c-secondary: rgba($c-blue-zodiac, 0.72)
$c-hint: rgba($c-blue-zodiac, 0.56)
$c-disabled: rgba($c-blue-zodiac, 0.28)
mesqueeb
changed the title
SASS color file parser
SASS color file parser (4h)
Sep 3, 2020
based on a list of colors, generate the colors page.
Define how to write the sass file for colors and make sure the following things are included & extractable in a json
name
(automatically show the
.c-
,.bg-
classes)(automatically show the
$c-
variable name)value
description
subcolorOf
(this makes sure the color is shown as a subcolor of another color, grouped together)
examplesSchema
(this is an array with the EasyForms schema to show some examples on the right)
(can be inline or can be a path pointing towards a json or js file that should export the schema array as default export)
Ways of tackling this:
raw-loader
and write manual REGEX to get the job done lolThe text was updated successfully, but these errors were encountered: