summaryrefslogtreecommitdiff
path: root/_high-contrast-colors.scss
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2015-02-19 18:42:50 +0100
committerCarlos Soriano <csoriano@gnome.org>2015-02-19 18:42:50 +0100
commitf9e45c152f56b086baac34f111c837287b7b1806 (patch)
treea1327bbd7bff2c314e072566d36d96ffd31b4939 /_high-contrast-colors.scss
parent353a8011be0d1c98bf6d5c4168e41eef3be1e18d (diff)
downloadgnome-shell-sass-f9e45c152f56b086baac34f111c837287b7b1806.tar.gz
Add high contrast sass sources
Diffstat (limited to '_high-contrast-colors.scss')
-rw-r--r--_high-contrast-colors.scss41
1 files changed, 41 insertions, 0 deletions
diff --git a/_high-contrast-colors.scss b/_high-contrast-colors.scss
new file mode 100644
index 0000000..af1e52f
--- /dev/null
+++ b/_high-contrast-colors.scss
@@ -0,0 +1,41 @@
+// When color definition differs for dark and light variant,
+// it gets @if ed depending on $variant
+
+
+$base_color: #222;
+$bg_color: #000;
+$fg_color: #fff;
+
+$selected_fg_color: #ffffff;
+$selected_bg_color: darken(#4a90d9,20%);
+$selected_borders_color: darken($selected_bg_color, 20%);
+$borders_color: darken($bg_color,12%);
+$borders_edge: transparentize($fg_color, 0.9);
+$link_color: lighten($selected_bg_color,20%);
+$link_visited_color: lighten($selected_bg_color,10%);
+$top_hilight: $borders_edge;
+
+$warning_color: #f57900;
+$error_color: #cc0000;
+$success_color: darken(#73d216,10%);
+$destructive_color: darken(#ef2929,10%);
+
+$osd_fg_color: #eeeeec;
+$osd_bg_color: #2e3436;
+$osd_borders_color: transparentize(black, 0.3);
+$osd_outer_borders_color: transparentize(white, 0.9);
+
+$tooltip_borders_color: $osd_outer_borders_color;
+
+//insensitive state derived colors
+$insensitive_fg_color: mix($fg_color, $bg_color, 50%);
+$insensitive_bg_color: mix($bg_color, $base_color, 60%);
+$insensitive_borders_color: $borders_color;
+
+//colors for the backdrop state, derived from the main colors.
+$backdrop_base_color: lighten($base_color,1%);
+$backdrop_bg_color: $bg_color;
+$backdrop_fg_color: mix($fg_color, $backdrop_bg_color, 80%);
+$backdrop_insensitive_color: lighten($backdrop_bg_color,15%);
+$backdrop_borders_color: mix($borders_color, $bg_color, 90%);
+$backdrop_dark_fill: mix($backdrop_borders_color,$backdrop_bg_color, 35%);