diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 5bf0e958d0..ac0d05d0bd 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -4567,6 +4567,22 @@ stackswitcher button.text-button.circular { // FIXME aggregate with buttons padding: 0; } +/************* + * App Icons * + *************/ +/* Outline for low res icons */ +.lowres_icon { +icon-shadow: 1px 1px rgba(0,0,0,0.3), + -1px -1px rgba(0,0,0,0.3), + -1px 1px rgba(0,0,0,0.3), + 1px -1px rgba(0,0,0,0.3); +} + +/* Drapshadow for large icons */ +.icon_dropshadow { + icon-shadow: 0 2px 12px rgba(0,0,0,0.2), + 0 1px 2px rgba(0,0,0,0.7); +} /********* * Emoji * diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index 58ca68c8ff..fd0c7cf926 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -1931,6 +1931,13 @@ stackswitcher button.text-button { min-width: 100px; } stackswitcher button.circular, stackswitcher button.text-button.circular { min-width: 32px; min-height: 32px; padding: 0; } +/************* App Icons * */ +/* Outline for low res icons */ +.lowres_icon { icon-shadow: 1px 1px rgba(0, 0, 0, 0.3), -1px -1px rgba(0, 0, 0, 0.3), -1px 1px rgba(0, 0, 0, 0.3), 1px -1px rgba(0, 0, 0, 0.3); } + +/* Drapshadow for large icons */ +.icon_dropshadow { icon-shadow: 0 2px 12px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.7); } + /********* Emoji * */ popover.emoji-picker { padding-left: 0; padding-right: 0; } @@ -2023,7 +2030,7 @@ these colors are exported for the window manager and shouldn't be used in applic read if you used those and something break with a version upgrade you're on your own... */ @define-color wm_title shade(#eeeeec, 1.8); @define-color wm_unfocused_title #919494; -@define-color wm_highlight transparent; +@define-color wm_highlight rgba(0, 0, 0, 0); @define-color wm_borders_edge rgba(238, 238, 236, 0.07); @define-color wm_bg_a shade(#33393b, 1.2); @define-color wm_bg_b #33393b; diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index 912018d595..a61d7bc169 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -1951,6 +1951,13 @@ stackswitcher button.text-button { min-width: 100px; } stackswitcher button.circular, stackswitcher button.text-button.circular { min-width: 32px; min-height: 32px; padding: 0; } +/************* App Icons * */ +/* Outline for low res icons */ +.lowres_icon { icon-shadow: 1px 1px rgba(0, 0, 0, 0.3), -1px -1px rgba(0, 0, 0, 0.3), -1px 1px rgba(0, 0, 0, 0.3), 1px -1px rgba(0, 0, 0, 0.3); } + +/* Drapshadow for large icons */ +.icon_dropshadow { icon-shadow: 0 2px 12px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.7); } + /********* Emoji * */ popover.emoji-picker { padding-left: 0; padding-right: 0; }