cascading-color-systems
Advanced tools
Changelog
0.1.0-beta.17 - 2024/11/04
Changelog
0.1.0-beta.16 - 2022/12/14
Changelog
0.1.0-beta.15 - 2020/10/20
Changelog
0.1.0-beta.14 - 2020/7/2
Changelog
0.1.0-beta.13 - 2020/6/30
light
/dark
/auto
modes:
[data-ccs-input="light-mode"]
[data-ccs-input="dark-mode"]
[data-ccs-input="auto-mode"]
unset-values
to theme input: [data-ccs-input="theme unset-values"]
Changelog
0.1.0-beta.12 - 2020/6/23
modes
and palette
into their own tools
module
that can be imported as plain Sass without any CSS outputChangelog
0.1.0-beta.11 - 2019/12/31
This release adds support for arbitrary color names, allowing you to define more complex and customized cascading themes.
$*-hue
settings with a combined $hues
map
of (string
) color name keys with (number
| null
) hue values.
This allows the tool to generate any number of colors.
The default ('prime', 'accent', 'neutral')
shorthand
creates identical default settings to previous releases.
Acceptable shorthands:
number
| null
value will be assigned a key: prime
string
| list
(of strings) will generate keys with null
values$colors
list argument (first) in both the
colors()
and gradient()
mixins --
set to the list of $hues
map-keys by defaultaccent
colors are no longer hard-coded,
the built-in themes have replaced --ccs-accent--theme
settings
with more generic --ccs-theme--1
and --ccs-theme--2
--
which can be assigned to other color names as needed.neutral
in the name
will use the neutral saturation,
rather than the default saturationChangelog
0.1.0-beta.10 - 2019/12/5
--ccs-mode--invert
to --ccs-invert
,
and --ccs-mode--invert-zero
to --ccs-invert--zero
prefers-color-scheme
media-query from fallback colors,
since more browsers support variables than color-scheme queriesChangelog
0.1.0-beta.9 - 2019/11/29
--ccs-mode--zero
and --ccs-invert--zero
provide mode values of 0
(dark) or 1
(light),
rather than -1
(dark) and 1
(light)if-mode($light, $dark)
function returns a CSS calc()
toggle
between two values, depending on the current (light/dark) modeChangelog
0.1.0-beta.8 - 2019/11/29
background-color
rather than background
shorthand--ccs-custom-display
and --ccs-field-display
variables
for more customized control of CCS menu field displaybackground-color
and color
on all [data-ccs-colors]
,
with both fallback values and variables defaulting to
--ccs-neutral--(fg/bg)-full
--ccs-background
and --ccs-color
override the default
[data-ccs-colors]
background and text$neutral-hue
and --ccs-neutral--config
for setting neutral hues$neutral-saturation
and --ccs-s-neutral--config
override contrast-based saturation on neutral paletteLICENSE
=> LICENSE.md
(and fix in package.json
)