Skip to content

Releases: oddbird/cascading-color-system

v0.1.0-beta.18

19 Jan 18:49
d3cced0

Choose a tag to compare

  • 🏠 INTERNAL: Address Sass deprecation warnings
  • 🏠 INTERNAL: Upgrade dev dependencies

Full Changelog: v0.1.0-beta.17...v0.1.0-beta.18

v0.1.0-beta.17

04 Nov 21:44
a8342e8

Choose a tag to compare

v0.1.0-beta.17 Pre-release
Pre-release

What's Changed

  • 🏠 INTERNAL: Use Sass modules instead of global functions
  • 🏠 INTERNAL: Upgrade dependencies

Full Changelog: v0.1.0-beta.16...v0.1.0-beta.17

v0.1.0-beta.16

14 Dec 20:39
5f35e75

Choose a tag to compare

v0.1.0-beta.16 Pre-release
Pre-release
  • 🏠 INTERNAL: Remove documentation from npm package
  • 🏠 INTERNAL: Upgrade dependencies

New Contributors

Full Changelog: v0.1.0-beta.15...v0.1.0-beta.16

Fix demo site

20 Oct 15:26
b1a72d6

Choose a tag to compare

Fix demo site Pre-release
Pre-release
  • INTERNAL: Update dependencies & fix demo site [#12]

Documentation cleanup

02 Jul 13:37
9e38001

Choose a tag to compare

Documentation cleanup Pre-release
Pre-release
  • INTERNAL: Update homepage & documentation links

More flexible user form controls

30 Jun 23:18

Choose a tag to compare

Pre-release
  • NEW: All form inputs & buttons are now optional
  • NEW: Support radio-inputs for light/dark/auto modes:
    • [data-ccs-input="light-mode"]
    • [data-ccs-input="dark-mode"]
    • [data-ccs-input="auto-mode"]
  • NEW: Optionally unset theme-related user values when changing themes:
    • Add unset-values to theme input: [data-ccs-input="theme unset-values"]
  • INTERNAL: Upgrade dev dependencies

Documentation and Cleanup

23 Jun 18:42
b46b13a

Choose a tag to compare

Pre-release

This is a minor non-breaking pre-release, upgrading dependencies and adding documentation to the repository and npm package, along with some module re-arranging.

  • INTERNAL: Upgrade dev dependencies
  • INTERNAL: Split modes and palette into their own tools module that can be imported as plain Sass without any CSS output
  • DOCS: Added documentation to repo

Arbitrary Colors

31 Dec 22:09
b724cda

Choose a tag to compare

Arbitrary Colors Pre-release
Pre-release

This is a major breaking pre-release, adding support for arbitrary color names,
so you can define more complex and customized cascading themes.

  • BREAKING: Replaced individual $*-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:
    • a single number | null value will be assigned a key: prime
    • a string | list (of strings) will generate keys with null values
  • BREAKING: Added a $colors list argument (first) in both the
    colors() and gradient() mixins --
    set to the list of $hues map-keys by default
  • BREAKING: Since accent 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.
  • NEW: Any color with neutral in the name
    will use the neutral saturation,
    rather than the default saturation

Mode fixes and improvements

06 Dec 03:25
723421a

Choose a tag to compare

Pre-release
  • BUGFIX: Source & cascade order was causing HTML modes to fail
  • BREAKING: Rename --ccs-mode--invert to --ccs-invert,
    and --ccs-mode--invert-zero to --ccs-invert--zero
  • BREAKING: Remove prefers-color-scheme media-query from fallback colors,
    since more browsers support variables than color-scheme queries
  • DOCS: Added documentation of fallback and mode settings

mode toggles

30 Nov 05:17

Choose a tag to compare

mode toggles Pre-release
Pre-release
  • NEW: --ccs-mode--zero and --ccs-mode--invert-zero
    provide mode values of 0 (dark) or 1 (light),
    rather than -1 (dark) and 1 (light)
  • NEW: if-mode($light, $dark) function returns a CSS calc() toggle
    between two values, depending on the current (light/dark) mode