Spiderpig86/Cirrus

Missing colors key in configuration extend examples

roonie007 opened this issue · 1 comments

Describe the issue with the documentation
Missing colors: () in the configuration extend examples

Issue Location (if incorrect/inconsistent information)
https://cirrus-ui.netlify.app/getting-started/configuration#extend
https://cirrus-ui.netlify.app/getting-started/configuration#clearing-defaults

URL:
Screenshots:
image

Incorrect text/code/example:

@use "cirrus-ui/src/cirrus-ext" as * with (
    $config: (
        extend: (
            semantic: (
                'primary': #0066FF,
                'midnight': '#121062',
            )
        )
    )
);

What it should say/display instead:

@use "cirrus-ui/src/cirrus-ext" as * with (
  $config: (
    extend: (
      colors: (
        semantic: (
          "primary": #0066ff,
          "midnight": "#121062",
        ),
      ),
    ),
  )
);

Thanks for the report! Fixed the docs, closing.