mirror of
https://git.disroot.org/eudaimon/Simplewaita.git
synced 2026-03-12 05:15:18 +00:00
Finished templating. Now it's only a matter of adding more themes!
This commit is contained in:
parent
837eb5922f
commit
2c3647c2f2
17 changed files with 199 additions and 96 deletions
|
|
@ -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; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue