Skip to content

Commit

Permalink
fix: adds back primary color in uikit + adds bg- color class
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles Héon committed Aug 1, 2024
1 parent 2d23088 commit 110877d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/app/pages/uikit/UiKit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export default function UiKit() {

<UikitBlock title="Colors">
<Grid container>
<UikitColor color="primary" />
<UikitColor color="secondary" />
<UikitColor color="info" />
<UikitColor color="success" />
Expand Down
8 changes: 8 additions & 0 deletions frontend/src/styles/_export.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@
}
}

@each $colorKey, $colorValue in $color {
@each $colorSubkey, $colorSubvalue in $colorValue {
#root .bg-#{$colorKey}-#{$colorSubkey} {
background-color: $colorSubvalue;
}
}
}

@each $propertyKey, $propertyValue in $property {
@each $spacingKey, $spacingValue in $spacing {
#root .#{$propertyKey}-#{$spacingKey} {
Expand Down

0 comments on commit 110877d

Please sign in to comment.