Skip to content

Commit

Permalink
Replace direct root rules with a root mixin in variables
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenesvk committed May 2, 2023
1 parent 685359e commit 43d36cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions sass/_imports.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,6 @@
@import "colors/orange";
//@import "colors/blue";
//@import "colors/blueshade";
:root {
@include variables.root;
}
2 changes: 1 addition & 1 deletion sass/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ $icon-sun: false !default;// light sun
$font: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Noto Sans", Helvetica, Arial, sans-serif !default;
$font-mono: ui-monospace, Menlo, Monaco, Consolas, "SF Mono", "Cascadia Mono", "Segoe UI Mono", "DejaVu Sans Mono", "Liberation Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Ubuntu Mono", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", Courier, monospace !default;

:root {
@mixin root {
#{--ff}: $font;
#{--fm}: $font-mono;//code

Expand Down

0 comments on commit 43d36cd

Please sign in to comment.