Skip to content

Commit

Permalink
fix(theming): use correct sass syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
dpellier committed Oct 13, 2023
1 parent d78cc5c commit 4bd2298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/common/theming/color/ods-component-color.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/// @param {String} $hue - the hue to apply like '500' or '500-contrasted'
/// @return {Variable} - a CSS variable corresponding to the color defined in the theme
@function ods-get-color-variable($intent-name: null, $palette-name: null, $hue, $alpha: 1) {
@if not ($intent-name and $palette-name) {
@if (not $intent-name and not $palette-name) {
@error 'You must set $intent-name or $palette-name at least';
}

Expand Down

0 comments on commit 4bd2298

Please sign in to comment.