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

Documentation inconsistencies for variable names #54

Open
scottsweb opened this issue Jul 8, 2020 · 1 comment
Open

Documentation inconsistencies for variable names #54

scottsweb opened this issue Jul 8, 2020 · 1 comment

Comments

@scottsweb
Copy link

Hi, thanks for the great project.

I have been looking through the documentation and spotted some variable references like the following example:

html {
    --color-primary-tint: hsl(350, 100%, 80%);
    --color-primary: hsl(350, 80%, 60%);
    --color-primary-shade: hsl(350, 60%, 40%);
}

Source: https://www.cutestrap.com/features/themes

But after inspecting the code for the project, I can see that many of these variable names differ slightly. In the case of the above, they are suffixed with numbers, e.g. --color-primary-tint1, source: https://github.com/tylerchilds/cutestrap/blob/master/src/css/core.css#L39

I have noticed this in a few other locations too. Does the documentation need updating?

@tylerchilds
Copy link
Owner

Yeah, I'm not sure why I suffixed them with numbers at this point, but good catch on the mismatch :) Documentation should be updated

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