Skip to content

Commit

Permalink
Express colour, style, and width of separators in one place #3325
Browse files Browse the repository at this point in the history
  • Loading branch information
giorgiosironi committed Jun 14, 2024
1 parent 9f8db53 commit 5e28461
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/read-side/html-pages/_standard-separator.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
@use 'settings';

$_colour: settings.$colour-furniture;
$_style: solid;
$_width: settings.$border-width;

@mixin top($distance) {
border-top: settings.$border-width solid settings.$colour-furniture;
border-top: $_width $_style $_colour;
padding-top: $distance;
}
@mixin bottom($distance) {
border-bottom: settings.$border-width solid settings.$colour-furniture;
border-bottom: $_width $_style $_colour;
padding-bottom: $distance;
}

0 comments on commit 5e28461

Please sign in to comment.