Skip to content

Commit

Permalink
Ability to add a custom theme dark and light colors
Browse files Browse the repository at this point in the history
  • Loading branch information
Yohn committed Jan 18, 2025
1 parent 74b3d55 commit 6198d39
Show file tree
Hide file tree
Showing 2 changed files with 492 additions and 479 deletions.
10 changes: 10 additions & 0 deletions scss/_settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -198,3 +198,13 @@ $modules: map.merge(
),
$modules
);

// Custom theme mappings
$color-mappings: () !default;
// Check if custom theme mappings are provided and merge them
$custom-theme-mappings: () !default;
$color-mappings: if(
list.length($custom-theme-mappings) > 0,
map.merge($color-mappings, $custom-theme-mappings),
$color-mappings
);
Loading

0 comments on commit 6198d39

Please sign in to comment.