Skip to content

Commit ee0a8ad

Browse files
author
Almog Adziashvili
committed
fix theming colors
1 parent da897fc commit ee0a8ad

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/stories/theming.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ import { Default as ButtonDefault } from '../components/fui-button/fui-button.st
1010
display: flex;
1111
justify-content: center;
1212
align-items: center;
13-
border: 1px solid var(--fui-color-background-subdued);
13+
border: 1px solid var(--fui-color-badge-neutral-bg);
1414
border-radius: 4px;
1515
height: 200px;
1616
flex: 1 0 300px;
17-
background-image: radial-gradient(var(--fui-color-background-subdued) 1px, transparent 0);
17+
background-image: radial-gradient(var(--fui-color-badge-neutral-bg) 1px, transparent 0);
1818
background-size: 10px 10px;
1919
position: relative;
2020
}
@@ -24,7 +24,7 @@ import { Default as ButtonDefault } from '../components/fui-button/fui-button.st
2424
top: 0;
2525
right: 0;
2626
padding: var(--fui-space-md) var(--fui-space-lg);
27-
background-color: var(--fui-color-background-subdued);
27+
background-color: var(--fui-color-badge-neutral-bg);
2828
border-radius: 0 var(--fui-border-radius-sm) 0 var(--fui-border-radius-sm);
2929
font: var(--running-small-regular);
3030
color: var(--fui-color-foreground-default);
@@ -49,7 +49,7 @@ import { Default as ButtonDefault } from '../components/fui-button/fui-button.st
4949
`}
5050
</style>
5151

52-
### Customizing Theme
52+
### Theming
5353
Theme FUI colors by overriding CSS variables.
5454
Make sure you are overriding the CSS variables only after importing FUI's styles.
5555
The variables operate on an inheritance model, ensuring a cohesive organizational structure. Overriding one variable will have consequences on other variables.

0 commit comments

Comments
 (0)