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:
parent
034d3df919
commit
5955dfd460
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
3349
common/gtk-3.0/3.14/gtk-contained-solid.css
Normal file
3349
common/gtk-3.0/3.14/gtk-contained-solid.css
Normal file
File diff suppressed because it is too large
Load Diff
15
common/gtk-3.0/3.14/gtk-contained-solid.scss
Normal file
15
common/gtk-3.0/3.14/gtk-contained-solid.scss
Normal 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';
|
@ -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';
|
||||
|
@ -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;
|
||||
|
||||
|
3271
common/gtk-3.0/3.16/gtk-contained-solid.css
Normal file
3271
common/gtk-3.0/3.16/gtk-contained-solid.css
Normal file
File diff suppressed because it is too large
Load Diff
15
common/gtk-3.0/3.16/gtk-contained-solid.scss
Normal file
15
common/gtk-3.0/3.16/gtk-contained-solid.scss
Normal 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';
|
@ -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';
|
||||
|
13
configure.ac
13
configure.ac
@ -12,12 +12,13 @@ AC_CONFIG_MACRO_DIR([m4])
|
||||
AM_INIT_AUTOMAKE([foreign])
|
||||
AC_PROG_MKDIR_P
|
||||
|
||||
ARC_ENABLE([GNOME_SHELL], [gnome-shell], [GNOME Shell], [disable])
|
||||
ARC_ENABLE([GTK2], [gtk2], [GTK2], [disable])
|
||||
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([GNOME_SHELL], [gnome-shell], [GNOME Shell], [disable])
|
||||
ARC_ENABLE([GTK2], [gtk2], [GTK2], [disable])
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user