Finished templating. Now it's only a matter of adding more themes!

This commit is contained in:
Eudaimon 2022-07-14 12:22:58 +02:00
parent 837eb5922f
commit 2c3647c2f2
17 changed files with 199 additions and 96 deletions

View file

@ -3,7 +3,7 @@
// generic drawing of more complex things
//to allow some common mixins to know whether they've been called for a gtk3 or gtk4 widget, because there are some things that are different.
$gtk: 4;
$gtk: 3;
@function _widget_edge($c:$borders_edge) {
@ -27,8 +27,9 @@ $gtk: 4;
// entries
@function entry_focus_border($fc:$selected_bg_color) {
@if $variant == 'light' { @return $fc; }
@else { @return if($fc==$selected_bg_color, $selected_borders_color, darken($fc, 35%)); }
//@if $variant == 'light' { @return $fc; }
//@else { @return if($fc==$selected_bg_color, $selected_borders_color, darken($fc, 35%)); }
@return $fc;
}
@function entry_focus_shadow($fc:$selected_bg_color) { @return inset 0 0 0 1px $fc; }