From cd0079697aba5877b7ea36e84651da525c833050 Mon Sep 17 00:00:00 2001 From: eudaimon Date: Fri, 20 May 2022 18:20:14 +0200 Subject: [PATCH] =?UTF-8?q?First=20steps,=20incomplete=C3=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/templates/_theme_colors.scss | 35 ++++++++++---------- source/templates/_theme_colors.scss~ | 37 +++++++++++++++++++++ source/templates/process_variables.sh | 3 ++ source/templates/process_variables.sh~ | 0 source/templates/variables.sh | 46 ++++++++++++++++++++++++++ source/templates/variables.sh~ | 46 ++++++++++++++++++++++++++ 6 files changed, 149 insertions(+), 18 deletions(-) create mode 100644 source/templates/_theme_colors.scss~ create mode 100755 source/templates/process_variables.sh create mode 100644 source/templates/process_variables.sh~ create mode 100755 source/templates/variables.sh create mode 100755 source/templates/variables.sh~ diff --git a/source/templates/_theme_colors.scss b/source/templates/_theme_colors.scss index 0981b08..057db45 100644 --- a/source/templates/_theme_colors.scss +++ b/source/templates/_theme_colors.scss @@ -1,28 +1,28 @@ -$window_fg: #241f31; -$window_bg: #a7a7a7; -$text_widget_fg: #241f31; -$text_widget_bg: #908f8d; +$window_fg: $vwindow_fg; +$window_bg: $vwindow_bg; +$text_widget_fg: $vtext_widget_fg; +$text_widget_bg: $vtext_widget_bg; -$selected_fg: #000000; -$selected_bg: #b0dd7e; +$selected_fg: $vselected_fg; +$selected_bg: $vselected_bg; -$button_fg: #241f31; -$button_bg: #bcbeb9; -$button_checked_bg: $selected_bg; -$button_checked_fg: $selected_fg; +$button_fg: $vbutton_fg; +$button_bg: $vbutton_bg; +$button_checked_bg: $vbutton_checked_bg; +$button_checked_fg: $vbutton_checked_fg; -$disabled_fg: #552222; -$disabled_bg: #938989; +$disabled_fg: $vdisabled_fg; +$disabled_bg: $vdisabled_bg; /*Usually an automatic fg color on these backgrounds should check this value!*/ -$warningc: #f57900; -$errorc: #990000; -$successc: #73d216; +$warningc: $vdisabled_bg; +$errorc: $verrorc; +$successc: $vsuccessc; -$titlebar_active_fg: $selected_fg; -$titlebar_active_bg: $selected_bg; +$titlebar_active_fg: $vtitlebar_active_fg; +$titlebar_active_bg: $vtitlebar_active_bg; $titlebar_backdrop_fg: $window_fg; $titlebar_backdrop_bg: $window_bg; @@ -35,4 +35,3 @@ $osd_bg: $hint_bg; $link_fg: #004B91; $link_visited_fg: #680091; - diff --git a/source/templates/_theme_colors.scss~ b/source/templates/_theme_colors.scss~ new file mode 100644 index 0000000..2c4e275 --- /dev/null +++ b/source/templates/_theme_colors.scss~ @@ -0,0 +1,37 @@ +$window_fg: $vwindow_fg; +$window_bg: $vwindow_bg; +$text_widget_fg: $vtext_widget_fg; +$text_widget_bg: $vtext_widget_bg; + +$selected_fg: $vselected_fg; +$selected_bg: $vselected_bg; + +$button_fg: $vbutton_fg; +$button_bg: $vbutton_bg; +$button_checked_bg: $vbutton_checked_bg; +$button_checked_fg: $vbutton_checked_fg; + + +$disabled_fg: #552222; +$disabled_bg: #938989; + +/*Usually an automatic fg color on these backgrounds should check this value!*/ +$warningc: #f57900; +$errorc: #990000; +$successc: #73d216; + + +$titlebar_active_fg: $selected_fg; +$titlebar_active_bg: $selected_bg; + +$titlebar_backdrop_fg: $window_fg; +$titlebar_backdrop_bg: $window_bg; + +$hint_fg: #002269; +$hint_bg: #6789b4; + +$osd_fg: $hint_fg; +$osd_bg: $hint_bg; + +$link_fg: #004B91; +$link_visited_fg: #680091; diff --git a/source/templates/process_variables.sh b/source/templates/process_variables.sh new file mode 100755 index 0000000..9306331 --- /dev/null +++ b/source/templates/process_variables.sh @@ -0,0 +1,3 @@ +#! /bin/bash + +source variables.sh diff --git a/source/templates/process_variables.sh~ b/source/templates/process_variables.sh~ new file mode 100644 index 0000000..e69de29 diff --git a/source/templates/variables.sh b/source/templates/variables.sh new file mode 100755 index 0000000..68774ac --- /dev/null +++ b/source/templates/variables.sh @@ -0,0 +1,46 @@ +#! /bin/bash + +# Gray light green scheme + +vwindow_fg="#241f31" +vwindow_bg="#a7a7a7" +vtext_widget_fg="#241f31" +vtext_widget_bg="#908f8d" + +vselected_fg="#000000" +vselected_bg="#b0dd7e" + +vbutton_fg="#241f31" +vbutton_bg="#bcbeb9" +vbutton_checked_bg=$vselected_bg +vbutton_checked_fg=$vselected_fg + + +vdisabled_fg="#552222" +vdisabled_bg="#938989" + +# Usually an automatic fg color on these backgrounds should check this value! + +vwarningc="#f57900" +verrorc="#990000" +vsuccessc="#73d216" + + +vtitlebar_active_fg=$vselected_fg +vtitlebar_active_bg=$vselected_bg + +vtitlebar_backdrop_fg=$vwindow_fg +vtitlebar_backdrop_bg=$vwindow_bg + +vhint_fg="#002269" +vhint_bg="#6789b4" + +vosd_fg=$hint_fg +vosd_bg=$hint_bg + +vlink_fg="#004B91" +vlink_visited_fg="#680091" + + +export vwindow_fg vwindow_bg vtext_widget_fg vtext_widget_bg vselected_fg vselected_bg vbutton_fg vbutton_bg vbutton_checked_bg vbutton_checked_fg vdisabled_fg vdisabled_bg vwarningc verrorc vsuccessc vtitlebar_active_fg vtitlebar_active_bg vtitlebar_backdrop_fg vtitlebar_backdrop_bg vhint_fg vhint_bg vosd_fg vosd_bg vlink_fg vlink_visited_fg + diff --git a/source/templates/variables.sh~ b/source/templates/variables.sh~ new file mode 100755 index 0000000..58a6bcc --- /dev/null +++ b/source/templates/variables.sh~ @@ -0,0 +1,46 @@ +#! /bin/bash + +# Gray light green scheme + +window_fg="#241f31" +window_bg="#a7a7a7" +text_widget_fg="#241f31" +text_widget_bg="#908f8d" + +selected_fg="#000000" +selected_bg="#b0dd7e" + +button_fg="#241f31" +button_bg="#bcbeb9" +button_checked_bg=$selected_bg +button_checked_fg=$selected_fg + + +disabled_fg="#552222" +disabled_bg="#938989" + +# Usually an automatic fg color on these backgrounds should check this value! + +warningc="#f57900" +errorc="#990000" +successc="#73d216" + + +titlebar_active_fg=$selected_fg +titlebar_active_bg=$selected_bg + +titlebar_backdrop_fg=$window_fg +titlebar_backdrop_bg=$window_bg + +hint_fg="#002269" +hint_bg="#6789b4" + +osd_fg=$hint_fg +osd_bg=$hint_bg + +link_fg="#004B91" +link_visited_fg="#680091" + + +export window_fg window_bg text_widget_fg text_widget_bg selected_fg selected_bg button_fg button_bg button_checked_bg button_checked_fg disabled_fg disabled_bg warningc errorc successc titlebar_active_fg titlebar_active_bg titlebar_backdrop_fg titlebar_backdrop_bg hint_fg hint_bg osd_fg osd_bg link_fg link_visited_fg +