1
0
mirror of https://github.com/horst3180/arc-theme.git synced 2024-10-27 19:04:02 +00:00

add option to disable transparency

This commit is contained in:
Horst3180 2015-06-03 22:23:22 +02:00
parent 034d3df919
commit 5955dfd460
11 changed files with 6671 additions and 10 deletions

View File

@ -75,6 +75,7 @@ Other options to pass to autogen.sh are
--disable-metacity disable Metacity support
--disable-unity disable Unity support
--disable-xfwm disable XFWM support
--disable-transparency disable transparency in the GTK3 theme
--with-gnome=<version> build the theme for a specific Gnome version (3.14, 3.16)
Note: Normally the correct version is detected automatically and this

View File

@ -26,6 +26,11 @@ if ENABLE_GTK3
*.sh \
*.txt \
Gemfile*
if !ENABLE_TRANSPARENCY
cd $(ithemedir)/gtk-3.0 && mv gtk-contained-solid.css gtk-contained.css
endif #!ENABLE_TRANSPARENCY
endif # ENABLE_GTK3

View File

@ -47,10 +47,10 @@ $entry_focus_border: $selected_bg_color;
$button_bg: lighten($bg_color, 1%);
$button_border: $entry_border;
$header_bg: transparentize(#e7e8eb, 0.05);
$header_bg: if($transparency == 'true', transparentize(#e7e8eb, 0.05), #e7e8eb);
$header_fg: saturate(transparentize($fg_color, 0.2), 10%);
$dark_sidebar_bg: $osd_bg_color;
$dark_sidebar_bg: if($transparency == 'true', $osd_bg_color, opacify($osd_bg_color, 1));
$dark_sidebar_fg: $osd_fg_color;
$dark_sidebar_border: $dark_sidebar_bg;

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,15 @@
// General guidelines:
// - very unlikely you want to edit something else than _common.scss
// - keep the number of defined colors to a minimum, use the color blending functions if
// you need a subtle shade
$transparency: 'false';
@import 'colors';
@import 'drawing';
@import 'common';
@import 'applications';
@import 'unity';
@import 'granite';
@import 'transparent_widgets';
@import 'colors-public';

View File

@ -3,6 +3,8 @@
// - keep the number of defined colors to a minimum, use the color blending functions if
// you need a subtle shade
$transparency: 'true';
@import 'colors';
@import 'drawing';
@import 'common';

View File

@ -47,10 +47,10 @@ $entry_focus_border: $selected_bg_color;
$button_bg: lighten($bg_color, 1%);
$button_border: $entry_border;
$header_bg: transparentize(#e7e8eb, 0.05);
$header_bg: if($transparency == 'true', transparentize(#e7e8eb, 0.05), #e7e8eb);
$header_fg: saturate(transparentize($fg_color, 0.2), 10%);
$dark_sidebar_bg: $osd_bg_color;
$dark_sidebar_bg: if($transparency == 'true', $osd_bg_color, opacify($osd_bg_color, 1));
$dark_sidebar_fg: $osd_fg_color;
$dark_sidebar_border: $dark_sidebar_bg;

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,15 @@
// General guidelines:
// - very unlikely you want to edit something else than _common.scss
// - keep the number of defined colors to a minimum, use the color blending functions if
// you need a subtle shade
$transparency: 'false';
@import 'colors';
@import 'drawing';
@import 'common';
@import 'applications';
@import 'unity';
@import 'granite';
@import 'transparent_widgets';
@import 'colors-public';

View File

@ -3,6 +3,8 @@
// - keep the number of defined colors to a minimum, use the color blending functions if
// you need a subtle shade
$transparency: 'true';
@import 'colors';
@import 'drawing';
@import 'common';

View File

@ -18,6 +18,7 @@ ARC_ENABLE([GTK3], [gtk3], [GTK3], [disable])
ARC_ENABLE([METACITY], [metacity], [Metacity], [disable])
ARC_ENABLE([UNITY], [unity], [Unity], [disable])
ARC_ENABLE([XFWM], [xfwm], [XFWM], [disable])
ARC_ENABLE([TRANSPARENCY], [transparency], [transparency], [disable])
ARC_GNOME