Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing colors key in configuration extend examples #108

Closed
roonie007 opened this issue Apr 19, 2022 · 1 comment
Closed

Missing colors key in configuration extend examples #108

roonie007 opened this issue Apr 19, 2022 · 1 comment

Comments

@roonie007
Copy link
Contributor

roonie007 commented Apr 19, 2022

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",
        ),
      ),
    ),
  )
);
@roonie007 roonie007 changed the title Missing colors key in configuration extend example Missing colors key in configuration extend examples Apr 19, 2022
@Spiderpig86
Copy link
Owner

Thanks for the report! Fixed the docs, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants