-
Notifications
You must be signed in to change notification settings - Fork 38
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
docs: add article about data-color
#2830
base: next
Are you sure you want to change the base?
Conversation
|
Preview deployments for this pull request: Storefront - Theme - |
Setting to draft as we will change this a bit, and it will affect how we word ourselves in this article |
apps/storefront/app/grunnleggende/for-utviklere/fargar/page.mdx
Outdated
Show resolved
Hide resolved
|
||
## `data-color` | ||
|
||
Dette data-attributtet blir brukt for å endre fargen til ein komponent. Du kan bruke alle fargane som finst i temaet ditt. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nevn at det er fargene du har definert i temabygger og link til den?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eg tenker nei, sia artikkelen tar forbehold om at du har brukt den allerede, og er linka i toppen
apps/storefront/app/grunnleggende/for-utviklere/fargar/page.mdx
Outdated
Show resolved
Hide resolved
data-color
data-color
#2928
Also fixes some color issues on the storefront.
This is written as short as possible, and only about the usage of these. What they do (change variables) is not documented here, as this should live on another documentation page.