diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-01 19:53:28 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-01 19:53:28 +1100 |
| commit | 27b12681f61188d458560480e74d377c141fff52 (patch) | |
| tree | b10ecf5f0f8565322dae651ee7845801377385ef /scss/_lib.scss | |
| parent | calendar: cache calendars (diff) | |
| download | caelestia-shell-27b12681f61188d458560480e74d377c141fff52.tar.gz caelestia-shell-27b12681f61188d458560480e74d377c141fff52.tar.bz2 caelestia-shell-27b12681f61188d458560480e74d377c141fff52.zip | |
feat: toggle borders option
Diffstat (limited to 'scss/_lib.scss')
| -rw-r--r-- | scss/_lib.scss | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scss/_lib.scss b/scss/_lib.scss index e222b59..ef8cc8d 100644 --- a/scss/_lib.scss +++ b/scss/_lib.scss @@ -12,8 +12,10 @@ $scale: 0.068rem; -gtk-outline-radius: s($tl) s($tr) s($br) s($bl); } -@mixin border($colour, $alpha: 1, $width: 1, $style: solid) { - border: s($width) $style color.change($colour, $alpha: $alpha); +@mixin border($colour, $alpha: 1, $width: 1, $style: solid, $force: false) { + @if $force or scheme.$borders { + border: s($width) $style color.change($colour, $alpha: $alpha); + } } @mixin shadow($colour: black, $alpha: 0.64, $x: 0, $y: 0, $blur: 3, $spread: 0) { |