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

add variant with dark header-bars

This commit is contained in:
Horst3180 2015-06-12 22:24:32 +02:00
parent 05c7271a21
commit 6829630aad
53 changed files with 4675 additions and 67 deletions

View File

@ -50,11 +50,14 @@ $button_bg: if($variant == 'light', lighten($bg_color, 1%), darken($bg_color, 2%
$button_border: $entry_border; $button_border: $entry_border;
$header_bg: if($transparency == 'true' and $variant == 'light', transparentize(#e7e8eb, 0.05), #e7e8eb); $header_bg: if($transparency == 'true' and $variant == 'light', transparentize(#e7e8eb, 0.05), #e7e8eb);
$header_bg: if($darker == 'true', transparentize(#2f343b, 0.05), $header_bg);
@if $variant==dark { $header_bg: if($transparency == 'true', transparentize(#25282E, 0.04), #25282E); } @if $variant==dark { $header_bg: if($transparency == 'true', transparentize(#25282E, 0.04), #25282E); }
$header_bg_backdrop: if($variant == 'light', lighten($header_bg, 3%), lighten($header_bg, 1.5%)); $header_bg_backdrop: if($variant == 'light', lighten($header_bg, 3%), lighten($header_bg, 1.5%));
$header_bg_backdrop: if($darker == 'true', lighten($header_bg, 1.5%), $header_bg_backdrop);
$header_fg: if($variant == 'light', saturate(transparentize($fg_color, 0.2), 10%), saturate(transparentize($fg_color, 0.2), 10%)); $header_fg: if($variant == 'light', saturate(transparentize($fg_color, 0.2), 10%), saturate(transparentize($fg_color, 0.2), 10%));
$header_fg: if($darker == 'true', saturate(transparentize(#D3DAE3, 0.2), 10%), $header_fg);
$dark_sidebar_bg: if($transparency == 'true' and $variant == 'light', $osd_bg_color, opacify($osd_bg_color, 1)); $dark_sidebar_bg: if($transparency == 'true' and $variant == 'light', $osd_bg_color, opacify($osd_bg_color, 1));
@if $variant==dark { $dark_sidebar_bg: if($transparency == 'true', darken($osd_bg_color, 5%), darken(opacify($osd_bg_color, 1), 5%)); } @if $variant==dark { $dark_sidebar_bg: if($transparency == 'true', darken($osd_bg_color, 5%), darken(opacify($osd_bg_color, 1), 5%)); }

View File

@ -4,6 +4,7 @@
$ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94); $ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
$asset_suffix: if($variant=='dark', '-dark', ''); // use dark assets in dark variant $asset_suffix: if($variant=='dark', '-dark', ''); // use dark assets in dark variant
$darker_asset_suffix: if($darker=='true', '-darker', $asset_suffix);
* { * {
background-clip: padding-box; background-clip: padding-box;
@ -1897,7 +1898,7 @@ GtkSwitch {
} }
} }
@each $i,$j in ('',''), ('.header-bar ','-header'), ('.list-row:selected ','-selected') { @each $i,$j in ('',''), ('.list-row:selected ','-selected') {
@each $k,$l in ('',''), @each $k,$l in ('',''),
(':active','-active'), (':active','-active'),
@ -1910,6 +1911,11 @@ GtkSwitch {
background-image: -gtk-scaled(url("assets/switch#{$l}#{$j}#{$asset_suffix}.png"),url("assets/switch#{$l}#{$j}#{$asset_suffix}@2.png")); background-image: -gtk-scaled(url("assets/switch#{$l}#{$j}#{$asset_suffix}.png"),url("assets/switch#{$l}#{$j}#{$asset_suffix}@2.png"));
} }
.header-bar GtkSwitch.trough#{$k},
.primary-toolbar GtkSwitch.trough#{$k} {
background-image: -gtk-scaled(url("assets/switch#{$l}-header#{$darker_asset_suffix}.png"),url("assets/switch#{$l}-header#{$darker_asset_suffix}@2.png"));
}
// load switch sliders from .png files in assets directory // load switch sliders from .png files in assets directory
//#{$i}GtkSwitch.slider#{$k} { //#{$i}GtkSwitch.slider#{$k} {
@ -2655,15 +2661,14 @@ GtkVolumeButton.button { padding: 8px; }
// this needs to be transparent // this needs to be transparent
// see bug #722563 // see bug #722563
$_wm_border: if($variant=='light', transparentize(black, 0.9), transparentize(black, 0.35)); $_wm_border: if($variant=='light', transparentize(black, 0.9), transparentize(black, 0.35));
$_wm_border_backdrop: if($variant=='light', transparentize(black, 0.9), transparentize(black, 0.35));
box-shadow: 0 0 0 1px $_wm_border, 0 4px 8px 1px $_wm_border; box-shadow: 0 0 0 1px if($darker=='true', transparentize(black, 0.4), $_wm_border), 0 4px 8px 1px $_wm_border;
/* this is used for the resize cursor area */ /* this is used for the resize cursor area */
margin: 10px; margin: 10px;
&:backdrop { &:backdrop {
box-shadow: 0 0 0 1px $_wm_border, 0 4px 5px 2px $_wm_border_backdrop; box-shadow: 0 0 0 1px if($darker=='true', transparentize(black, 0.4), $_wm_border), 0 4px 5px 2px $_wm_border;
} }
&.tiled { &.tiled {
border-radius: 0; border-radius: 0;
@ -2671,7 +2676,7 @@ GtkVolumeButton.button { padding: 8px; }
// server-side decorations as used by mutter // server-side decorations as used by mutter
&.ssd { &.ssd {
border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0;
box-shadow: 0 0 0 1px $_wm_border; box-shadow: 0 0 0 1px if($darker=='true', transparentize(black, 0.4), $_wm_border);
&.maximized { border-radius: 0; } &.maximized { border-radius: 0; }
} }
@ -2733,20 +2738,20 @@ GtkVolumeButton.button { padding: 8px; }
&:backdrop { opacity: 1; } &:backdrop { opacity: 1; }
} }
&.close { background-image: -gtk-scaled(url('assets/titlebutton-close#{$asset_suffix}.png'),url('assets/titlebutton-close#{$asset_suffix}@2.png')); } &.close { background-image: -gtk-scaled(url('assets/titlebutton-close#{$darker_asset_suffix}.png'),url('assets/titlebutton-close#{$darker_asset_suffix}@2.png')); }
&.close:backdrop { background-image: -gtk-scaled(url('assets/titlebutton-close-backdrop#{$asset_suffix}.png'),url('assets/titlebutton-close-backdrop#{$asset_suffix}@2.png')); } &.close:backdrop { background-image: -gtk-scaled(url('assets/titlebutton-close-backdrop#{$darker_asset_suffix}.png'),url('assets/titlebutton-close-backdrop#{$darker_asset_suffix}@2.png')); }
&.close:hover { background-image: -gtk-scaled(url('assets/titlebutton-close-hover#{$asset_suffix}.png'),url('assets/titlebutton-close-hover#{$asset_suffix}@2.png')); } &.close:hover { background-image: -gtk-scaled(url('assets/titlebutton-close-hover#{$darker_asset_suffix}.png'),url('assets/titlebutton-close-hover#{$darker_asset_suffix}@2.png')); }
&.close:active { background-image: -gtk-scaled(url('assets/titlebutton-close-active#{$asset_suffix}.png'),url('assets/titlebutton-close-active#{$asset_suffix}@2.png')); } &.close:active { background-image: -gtk-scaled(url('assets/titlebutton-close-active#{$darker_asset_suffix}.png'),url('assets/titlebutton-close-active#{$darker_asset_suffix}@2.png')); }
&.maximize { background-image: -gtk-scaled(url('assets/titlebutton-max#{$asset_suffix}.png'),url('assets/titlebutton-max#{$asset_suffix}@2.png')); } &.maximize { background-image: -gtk-scaled(url('assets/titlebutton-max#{$darker_asset_suffix}.png'),url('assets/titlebutton-max#{$darker_asset_suffix}@2.png')); }
&.maximize:backdrop { background-image: -gtk-scaled(url('assets/titlebutton-max-backdrop#{$asset_suffix}.png'),url('assets/titlebutton-max-backdrop#{$asset_suffix}@2.png')); } &.maximize:backdrop { background-image: -gtk-scaled(url('assets/titlebutton-max-backdrop#{$darker_asset_suffix}.png'),url('assets/titlebutton-max-backdrop#{$darker_asset_suffix}@2.png')); }
&.maximize:hover { background-image: -gtk-scaled(url('assets/titlebutton-max-hover#{$asset_suffix}.png'),url('assets/titlebutton-max-hover#{$asset_suffix}@2.png')); } &.maximize:hover { background-image: -gtk-scaled(url('assets/titlebutton-max-hover#{$darker_asset_suffix}.png'),url('assets/titlebutton-max-hover#{$darker_asset_suffix}@2.png')); }
&.maximize:active { background-image: -gtk-scaled(url('assets/titlebutton-max-active#{$asset_suffix}.png'),url('assets/titlebutton-max-active#{$asset_suffix}@2.png')); } &.maximize:active { background-image: -gtk-scaled(url('assets/titlebutton-max-active#{$darker_asset_suffix}.png'),url('assets/titlebutton-max-active#{$darker_asset_suffix}@2.png')); }
&.minimize { background-image: -gtk-scaled(url('assets/titlebutton-min#{$asset_suffix}.png'),url('assets/titlebutton-min#{$asset_suffix}@2.png')); } &.minimize { background-image: -gtk-scaled(url('assets/titlebutton-min#{$darker_asset_suffix}.png'),url('assets/titlebutton-min#{$darker_asset_suffix}@2.png')); }
&.minimize:backdrop { background-image: -gtk-scaled(url('assets/titlebutton-min-backdrop#{$asset_suffix}.png'),url('assets/titlebutton-min-backdrop#{$asset_suffix}@2.png')); } &.minimize:backdrop { background-image: -gtk-scaled(url('assets/titlebutton-min-backdrop#{$darker_asset_suffix}.png'),url('assets/titlebutton-min-backdrop#{$darker_asset_suffix}@2.png')); }
&.minimize:hover { background-image: -gtk-scaled(url('assets/titlebutton-min-hover#{$asset_suffix}.png'),url('assets/titlebutton-min-hover#{$asset_suffix}@2.png')); } &.minimize:hover { background-image: -gtk-scaled(url('assets/titlebutton-min-hover#{$darker_asset_suffix}.png'),url('assets/titlebutton-min-hover#{$darker_asset_suffix}@2.png')); }
&.minimize:active { background-image: -gtk-scaled(url('assets/titlebutton-min-active#{$asset_suffix}.png'),url('assets/titlebutton-min-active#{$asset_suffix}@2.png')); } &.minimize:active { background-image: -gtk-scaled(url('assets/titlebutton-min-active#{$darker_asset_suffix}.png'),url('assets/titlebutton-min-active#{$darker_asset_suffix}@2.png')); }
} }
} }

View File

@ -52,13 +52,20 @@
background-image: linear-gradient(to bottom, transparentize($entry_bg, 0.45)); background-image: linear-gradient(to bottom, transparentize($entry_bg, 0.45));
} }
$_header_entry_bg: if($variant == 'light', transparentize($base_color, 0.1), transparentize(darken($base_color, 4%), 0.1));
$_header_entry_bg: if($darker == 'true', transparentize(darken($header_bg, 4%), 0.1), $_header_entry_bg);
$_header_entry_border: if($variant == 'light', transparentize($header_fg, 0.7), darken($borders_color, 4%));
$_header_entry_border: if($darker == 'true', darken($header_bg, 10%), $_header_entry_border);
@if $t==header-normal { @if $t==header-normal {
// //
// normal header-bar entry // normal header-bar entry
// //
color: $header_fg; color: $header_fg;
border-color: if($variant == 'light', transparentize($header_fg, 0.7), darken($borders_color, 4%)); border-color: $_header_entry_border;
background-image: linear-gradient(to bottom, if($variant == 'light', transparentize($base_color, 0.1), transparentize(darken($base_color, 4%), 0.1))); background-image: linear-gradient(to bottom, $_header_entry_bg);
background-color: transparent; background-color: transparent;
&.image, &.image:hover { color: inherit; } &.image, &.image:hover { color: inherit; }
@ -78,7 +85,7 @@
// insensitive header-bar entry // insensitive header-bar entry
// //
color: transparentize($header_fg, 0.45); color: transparentize($header_fg, 0.45);
background-image: linear-gradient(to bottom, if($variant == 'light', transparentize($base_color, 0.45), transparentize(darken($base_color, 4%), 0.45))); background-image: linear-gradient(to bottom, transparentize($_header_entry_bg, 0.35));
} }
@if $t==osd { @if $t==osd {
@ -175,6 +182,12 @@
> GtkLabel { color: inherit; } > GtkLabel { color: inherit; }
} }
$_header_button_bg: if($variant == 'light', transparentize($button_bg, 0.1), transparentize(darken($button_bg, 4%), 0.1));
$_header_button_bg: if($darker == 'true', transparentize(darken($header_bg, 3%), 0.1), $_header_button_bg);
$_header_button_border: if($variant == 'light', transparentize($header_fg, 0.7), darken($borders_color, 4%));
$_header_button_border: if($darker == 'true', darken($header_bg, 8%), $_header_button_border);
@if $t==header-normal { @if $t==header-normal {
// //
// normal header-bar button // normal header-bar button
@ -192,8 +205,8 @@
// //
color: $header_fg; color: $header_fg;
outline-color: transparentize($header_fg, 0.7); outline-color: transparentize($header_fg, 0.7);
border-color: if($variant == 'light', transparentize($header_fg, 0.7), darken($borders_color, 4%)); border-color: $_header_button_border;
background-color: if($variant == 'light', transparentize($button_bg, 0.1), transparentize(darken($button_bg, 4%), 0.1)); background-color: $_header_button_bg;
} }
@else if $t==header-active { @else if $t==header-active {

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 234 KiB

After

Width:  |  Height:  |  Size: 286 KiB

View File

@ -48,6 +48,22 @@ titlebutton-min
titlebutton-min-backdrop titlebutton-min-backdrop
titlebutton-min-hover titlebutton-min-hover
titlebutton-min-active titlebutton-min-active
switch-header-darker
switch-active-header-darker
switch-insensitive-header-darker
switch-active-insensitive-header-darker
titlebutton-close-darker
titlebutton-close-backdrop-darker
titlebutton-close-hover-darker
titlebutton-close-active-darker
titlebutton-max-darker
titlebutton-max-backdrop-darker
titlebutton-max-hover-darker
titlebutton-max-active-darker
titlebutton-min-darker
titlebutton-min-backdrop-darker
titlebutton-min-hover-darker
titlebutton-min-active-darker
checkbox-checked-dark checkbox-checked-dark
checkbox-checked-insensitive-dark checkbox-checked-insensitive-dark
checkbox-unchecked-dark checkbox-unchecked-dark

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1016 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1000 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 539 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 678 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 540 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1016 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 509 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 996 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 514 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 850 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 632 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 639 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 668 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 418 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 729 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 547 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 554 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 568 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -1501,39 +1501,59 @@ GtkSwitch {
GtkSwitch.trough { GtkSwitch.trough {
background-image: -gtk-scaled(url("assets/switch-dark.png"), url("assets/switch-dark@2.png")); } background-image: -gtk-scaled(url("assets/switch-dark.png"), url("assets/switch-dark@2.png")); }
.header-bar GtkSwitch.trough,
.primary-toolbar GtkSwitch.trough {
background-image: -gtk-scaled(url("assets/switch-header-dark.png"), url("assets/switch-header-dark@2.png")); }
GtkSwitch.trough:active { GtkSwitch.trough:active {
background-image: -gtk-scaled(url("assets/switch-active-dark.png"), url("assets/switch-active-dark@2.png")); } background-image: -gtk-scaled(url("assets/switch-active-dark.png"), url("assets/switch-active-dark@2.png")); }
.header-bar GtkSwitch.trough:active,
.primary-toolbar GtkSwitch.trough:active {
background-image: -gtk-scaled(url("assets/switch-active-header-dark.png"), url("assets/switch-active-header-dark@2.png")); }
GtkSwitch.trough:insensitive { GtkSwitch.trough:insensitive {
background-image: -gtk-scaled(url("assets/switch-insensitive-dark.png"), url("assets/switch-insensitive-dark@2.png")); } background-image: -gtk-scaled(url("assets/switch-insensitive-dark.png"), url("assets/switch-insensitive-dark@2.png")); }
.header-bar GtkSwitch.trough:insensitive,
.primary-toolbar GtkSwitch.trough:insensitive {
background-image: -gtk-scaled(url("assets/switch-insensitive-header-dark.png"), url("assets/switch-insensitive-header-dark@2.png")); }
GtkSwitch.trough:active:insensitive { GtkSwitch.trough:active:insensitive {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-dark.png"), url("assets/switch-active-insensitive-dark@2.png")); } background-image: -gtk-scaled(url("assets/switch-active-insensitive-dark.png"), url("assets/switch-active-insensitive-dark@2.png")); }
.header-bar GtkSwitch.trough { .header-bar GtkSwitch.trough:active:insensitive,
background-image: -gtk-scaled(url("assets/switch-header-dark.png"), url("assets/switch-header-dark@2.png")); } .primary-toolbar GtkSwitch.trough:active:insensitive {
.header-bar GtkSwitch.trough:active {
background-image: -gtk-scaled(url("assets/switch-active-header-dark.png"), url("assets/switch-active-header-dark@2.png")); }
.header-bar GtkSwitch.trough:insensitive {
background-image: -gtk-scaled(url("assets/switch-insensitive-header-dark.png"), url("assets/switch-insensitive-header-dark@2.png")); }
.header-bar GtkSwitch.trough:active:insensitive {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-header-dark.png"), url("assets/switch-active-insensitive-header-dark@2.png")); } background-image: -gtk-scaled(url("assets/switch-active-insensitive-header-dark.png"), url("assets/switch-active-insensitive-header-dark@2.png")); }
.list-row:selected GtkSwitch.trough { .list-row:selected GtkSwitch.trough {
background-image: -gtk-scaled(url("assets/switch-selected-dark.png"), url("assets/switch-selected-dark@2.png")); } background-image: -gtk-scaled(url("assets/switch-selected-dark.png"), url("assets/switch-selected-dark@2.png")); }
.header-bar GtkSwitch.trough,
.primary-toolbar GtkSwitch.trough {
background-image: -gtk-scaled(url("assets/switch-header-dark.png"), url("assets/switch-header-dark@2.png")); }
.list-row:selected GtkSwitch.trough:active { .list-row:selected GtkSwitch.trough:active {
background-image: -gtk-scaled(url("assets/switch-active-selected-dark.png"), url("assets/switch-active-selected-dark@2.png")); } background-image: -gtk-scaled(url("assets/switch-active-selected-dark.png"), url("assets/switch-active-selected-dark@2.png")); }
.header-bar GtkSwitch.trough:active,
.primary-toolbar GtkSwitch.trough:active {
background-image: -gtk-scaled(url("assets/switch-active-header-dark.png"), url("assets/switch-active-header-dark@2.png")); }
.list-row:selected GtkSwitch.trough:insensitive { .list-row:selected GtkSwitch.trough:insensitive {
background-image: -gtk-scaled(url("assets/switch-insensitive-selected-dark.png"), url("assets/switch-insensitive-selected-dark@2.png")); } background-image: -gtk-scaled(url("assets/switch-insensitive-selected-dark.png"), url("assets/switch-insensitive-selected-dark@2.png")); }
.header-bar GtkSwitch.trough:insensitive,
.primary-toolbar GtkSwitch.trough:insensitive {
background-image: -gtk-scaled(url("assets/switch-insensitive-header-dark.png"), url("assets/switch-insensitive-header-dark@2.png")); }
.list-row:selected GtkSwitch.trough:active:insensitive { .list-row:selected GtkSwitch.trough:active:insensitive {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected-dark.png"), url("assets/switch-active-insensitive-selected-dark@2.png")); } background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected-dark.png"), url("assets/switch-active-insensitive-selected-dark@2.png")); }
.header-bar GtkSwitch.trough:active:insensitive,
.primary-toolbar GtkSwitch.trough:active:insensitive {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-header-dark.png"), url("assets/switch-active-insensitive-header-dark@2.png")); }
/************************* /*************************
* Check and Radio items * * Check and Radio items *
*************************/ *************************/
@ -2325,7 +2345,8 @@ NautilusCanvasViewContainer.view .entry, NemoIconViewContainer .entry {
border-radius: 2px; } border-radius: 2px; }
.nautilus-desktop.nautilus-canvas-item, .nemo-desktop.nemo-canvas-item { .nautilus-desktop.nautilus-canvas-item, .nemo-desktop.nemo-canvas-item {
color: #ffffff; } color: #ffffff;
text-shadow: 1px 1px rgba(0, 0, 0, 0.6); }
.nautilus-desktop.nautilus-canvas-item:active, .nemo-desktop.nemo-canvas-item:active { .nautilus-desktop.nautilus-canvas-item:active, .nemo-desktop.nemo-canvas-item:active {
color: #D3DAE3; } color: #D3DAE3; }
.nautilus-desktop.nautilus-canvas-item:selected, .nemo-desktop.nemo-canvas-item:selected { .nautilus-desktop.nautilus-canvas-item:selected, .nemo-desktop.nemo-canvas-item:selected {

View File

@ -4,6 +4,7 @@
// you need a subtle shade // you need a subtle shade
$variant: 'dark'; $variant: 'dark';
$darker: 'false';
$transparency: 'true'; $transparency: 'true';
@import 'colors'; @import 'colors';

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,17 @@
// 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
$variant: 'light';
$darker: 'true';
$transparency: 'true';
@import 'colors';
@import 'drawing';
@import 'common';
@import 'applications';
@import 'unity';
@import 'granite';
@import 'transparent_widgets';
@import 'colors-public';

View File

@ -1501,39 +1501,59 @@ GtkSwitch {
GtkSwitch.trough { GtkSwitch.trough {
background-image: -gtk-scaled(url("assets/switch-dark.png"), url("assets/switch-dark@2.png")); } background-image: -gtk-scaled(url("assets/switch-dark.png"), url("assets/switch-dark@2.png")); }
.header-bar GtkSwitch.trough,
.primary-toolbar GtkSwitch.trough {
background-image: -gtk-scaled(url("assets/switch-header-dark.png"), url("assets/switch-header-dark@2.png")); }
GtkSwitch.trough:active { GtkSwitch.trough:active {
background-image: -gtk-scaled(url("assets/switch-active-dark.png"), url("assets/switch-active-dark@2.png")); } background-image: -gtk-scaled(url("assets/switch-active-dark.png"), url("assets/switch-active-dark@2.png")); }
.header-bar GtkSwitch.trough:active,
.primary-toolbar GtkSwitch.trough:active {
background-image: -gtk-scaled(url("assets/switch-active-header-dark.png"), url("assets/switch-active-header-dark@2.png")); }
GtkSwitch.trough:insensitive { GtkSwitch.trough:insensitive {
background-image: -gtk-scaled(url("assets/switch-insensitive-dark.png"), url("assets/switch-insensitive-dark@2.png")); } background-image: -gtk-scaled(url("assets/switch-insensitive-dark.png"), url("assets/switch-insensitive-dark@2.png")); }
.header-bar GtkSwitch.trough:insensitive,
.primary-toolbar GtkSwitch.trough:insensitive {
background-image: -gtk-scaled(url("assets/switch-insensitive-header-dark.png"), url("assets/switch-insensitive-header-dark@2.png")); }
GtkSwitch.trough:active:insensitive { GtkSwitch.trough:active:insensitive {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-dark.png"), url("assets/switch-active-insensitive-dark@2.png")); } background-image: -gtk-scaled(url("assets/switch-active-insensitive-dark.png"), url("assets/switch-active-insensitive-dark@2.png")); }
.header-bar GtkSwitch.trough { .header-bar GtkSwitch.trough:active:insensitive,
background-image: -gtk-scaled(url("assets/switch-header-dark.png"), url("assets/switch-header-dark@2.png")); } .primary-toolbar GtkSwitch.trough:active:insensitive {
.header-bar GtkSwitch.trough:active {
background-image: -gtk-scaled(url("assets/switch-active-header-dark.png"), url("assets/switch-active-header-dark@2.png")); }
.header-bar GtkSwitch.trough:insensitive {
background-image: -gtk-scaled(url("assets/switch-insensitive-header-dark.png"), url("assets/switch-insensitive-header-dark@2.png")); }
.header-bar GtkSwitch.trough:active:insensitive {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-header-dark.png"), url("assets/switch-active-insensitive-header-dark@2.png")); } background-image: -gtk-scaled(url("assets/switch-active-insensitive-header-dark.png"), url("assets/switch-active-insensitive-header-dark@2.png")); }
.list-row:selected GtkSwitch.trough { .list-row:selected GtkSwitch.trough {
background-image: -gtk-scaled(url("assets/switch-selected-dark.png"), url("assets/switch-selected-dark@2.png")); } background-image: -gtk-scaled(url("assets/switch-selected-dark.png"), url("assets/switch-selected-dark@2.png")); }
.header-bar GtkSwitch.trough,
.primary-toolbar GtkSwitch.trough {
background-image: -gtk-scaled(url("assets/switch-header-dark.png"), url("assets/switch-header-dark@2.png")); }
.list-row:selected GtkSwitch.trough:active { .list-row:selected GtkSwitch.trough:active {
background-image: -gtk-scaled(url("assets/switch-active-selected-dark.png"), url("assets/switch-active-selected-dark@2.png")); } background-image: -gtk-scaled(url("assets/switch-active-selected-dark.png"), url("assets/switch-active-selected-dark@2.png")); }
.header-bar GtkSwitch.trough:active,
.primary-toolbar GtkSwitch.trough:active {
background-image: -gtk-scaled(url("assets/switch-active-header-dark.png"), url("assets/switch-active-header-dark@2.png")); }
.list-row:selected GtkSwitch.trough:insensitive { .list-row:selected GtkSwitch.trough:insensitive {
background-image: -gtk-scaled(url("assets/switch-insensitive-selected-dark.png"), url("assets/switch-insensitive-selected-dark@2.png")); } background-image: -gtk-scaled(url("assets/switch-insensitive-selected-dark.png"), url("assets/switch-insensitive-selected-dark@2.png")); }
.header-bar GtkSwitch.trough:insensitive,
.primary-toolbar GtkSwitch.trough:insensitive {
background-image: -gtk-scaled(url("assets/switch-insensitive-header-dark.png"), url("assets/switch-insensitive-header-dark@2.png")); }
.list-row:selected GtkSwitch.trough:active:insensitive { .list-row:selected GtkSwitch.trough:active:insensitive {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected-dark.png"), url("assets/switch-active-insensitive-selected-dark@2.png")); } background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected-dark.png"), url("assets/switch-active-insensitive-selected-dark@2.png")); }
.header-bar GtkSwitch.trough:active:insensitive,
.primary-toolbar GtkSwitch.trough:active:insensitive {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-header-dark.png"), url("assets/switch-active-insensitive-header-dark@2.png")); }
/************************* /*************************
* Check and Radio items * * Check and Radio items *
*************************/ *************************/
@ -2325,7 +2345,8 @@ NautilusCanvasViewContainer.view .entry, NemoIconViewContainer .entry {
border-radius: 2px; } border-radius: 2px; }
.nautilus-desktop.nautilus-canvas-item, .nemo-desktop.nemo-canvas-item { .nautilus-desktop.nautilus-canvas-item, .nemo-desktop.nemo-canvas-item {
color: #ffffff; } color: #ffffff;
text-shadow: 1px 1px rgba(0, 0, 0, 0.6); }
.nautilus-desktop.nautilus-canvas-item:active, .nemo-desktop.nemo-canvas-item:active { .nautilus-desktop.nautilus-canvas-item:active, .nemo-desktop.nemo-canvas-item:active {
color: #D3DAE3; } color: #D3DAE3; }
.nautilus-desktop.nautilus-canvas-item:selected, .nemo-desktop.nemo-canvas-item:selected { .nautilus-desktop.nautilus-canvas-item:selected, .nemo-desktop.nemo-canvas-item:selected {

View File

@ -4,6 +4,7 @@
// you need a subtle shade // you need a subtle shade
$variant: 'dark'; $variant: 'dark';
$darker: 'false';
$transparency: 'false'; $transparency: 'false';
@import 'colors'; @import 'colors';

View File

@ -1501,39 +1501,59 @@ GtkSwitch {
GtkSwitch.trough { GtkSwitch.trough {
background-image: -gtk-scaled(url("assets/switch.png"), url("assets/switch@2.png")); } background-image: -gtk-scaled(url("assets/switch.png"), url("assets/switch@2.png")); }
.header-bar GtkSwitch.trough,
.primary-toolbar GtkSwitch.trough {
background-image: -gtk-scaled(url("assets/switch-header.png"), url("assets/switch-header@2.png")); }
GtkSwitch.trough:active { GtkSwitch.trough:active {
background-image: -gtk-scaled(url("assets/switch-active.png"), url("assets/switch-active@2.png")); } background-image: -gtk-scaled(url("assets/switch-active.png"), url("assets/switch-active@2.png")); }
.header-bar GtkSwitch.trough:active,
.primary-toolbar GtkSwitch.trough:active {
background-image: -gtk-scaled(url("assets/switch-active-header.png"), url("assets/switch-active-header@2.png")); }
GtkSwitch.trough:insensitive { GtkSwitch.trough:insensitive {
background-image: -gtk-scaled(url("assets/switch-insensitive.png"), url("assets/switch-insensitive@2.png")); } background-image: -gtk-scaled(url("assets/switch-insensitive.png"), url("assets/switch-insensitive@2.png")); }
.header-bar GtkSwitch.trough:insensitive,
.primary-toolbar GtkSwitch.trough:insensitive {
background-image: -gtk-scaled(url("assets/switch-insensitive-header.png"), url("assets/switch-insensitive-header@2.png")); }
GtkSwitch.trough:active:insensitive { GtkSwitch.trough:active:insensitive {
background-image: -gtk-scaled(url("assets/switch-active-insensitive.png"), url("assets/switch-active-insensitive@2.png")); } background-image: -gtk-scaled(url("assets/switch-active-insensitive.png"), url("assets/switch-active-insensitive@2.png")); }
.header-bar GtkSwitch.trough { .header-bar GtkSwitch.trough:active:insensitive,
background-image: -gtk-scaled(url("assets/switch-header.png"), url("assets/switch-header@2.png")); } .primary-toolbar GtkSwitch.trough:active:insensitive {
.header-bar GtkSwitch.trough:active {
background-image: -gtk-scaled(url("assets/switch-active-header.png"), url("assets/switch-active-header@2.png")); }
.header-bar GtkSwitch.trough:insensitive {
background-image: -gtk-scaled(url("assets/switch-insensitive-header.png"), url("assets/switch-insensitive-header@2.png")); }
.header-bar GtkSwitch.trough:active:insensitive {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-header.png"), url("assets/switch-active-insensitive-header@2.png")); } background-image: -gtk-scaled(url("assets/switch-active-insensitive-header.png"), url("assets/switch-active-insensitive-header@2.png")); }
.list-row:selected GtkSwitch.trough { .list-row:selected GtkSwitch.trough {
background-image: -gtk-scaled(url("assets/switch-selected.png"), url("assets/switch-selected@2.png")); } background-image: -gtk-scaled(url("assets/switch-selected.png"), url("assets/switch-selected@2.png")); }
.header-bar GtkSwitch.trough,
.primary-toolbar GtkSwitch.trough {
background-image: -gtk-scaled(url("assets/switch-header.png"), url("assets/switch-header@2.png")); }
.list-row:selected GtkSwitch.trough:active { .list-row:selected GtkSwitch.trough:active {
background-image: -gtk-scaled(url("assets/switch-active-selected.png"), url("assets/switch-active-selected@2.png")); } background-image: -gtk-scaled(url("assets/switch-active-selected.png"), url("assets/switch-active-selected@2.png")); }
.header-bar GtkSwitch.trough:active,
.primary-toolbar GtkSwitch.trough:active {
background-image: -gtk-scaled(url("assets/switch-active-header.png"), url("assets/switch-active-header@2.png")); }
.list-row:selected GtkSwitch.trough:insensitive { .list-row:selected GtkSwitch.trough:insensitive {
background-image: -gtk-scaled(url("assets/switch-insensitive-selected.png"), url("assets/switch-insensitive-selected@2.png")); } background-image: -gtk-scaled(url("assets/switch-insensitive-selected.png"), url("assets/switch-insensitive-selected@2.png")); }
.header-bar GtkSwitch.trough:insensitive,
.primary-toolbar GtkSwitch.trough:insensitive {
background-image: -gtk-scaled(url("assets/switch-insensitive-header.png"), url("assets/switch-insensitive-header@2.png")); }
.list-row:selected GtkSwitch.trough:active:insensitive { .list-row:selected GtkSwitch.trough:active:insensitive {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected.png"), url("assets/switch-active-insensitive-selected@2.png")); } background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected.png"), url("assets/switch-active-insensitive-selected@2.png")); }
.header-bar GtkSwitch.trough:active:insensitive,
.primary-toolbar GtkSwitch.trough:active:insensitive {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-header.png"), url("assets/switch-active-insensitive-header@2.png")); }
/************************* /*************************
* Check and Radio items * * Check and Radio items *
*************************/ *************************/

View File

@ -4,6 +4,7 @@
// you need a subtle shade // you need a subtle shade
$variant: 'light'; $variant: 'light';
$darker: 'false';
$transparency: 'false'; $transparency: 'false';
@import 'colors'; @import 'colors';

View File

@ -1501,39 +1501,59 @@ GtkSwitch {
GtkSwitch.trough { GtkSwitch.trough {
background-image: -gtk-scaled(url("assets/switch.png"), url("assets/switch@2.png")); } background-image: -gtk-scaled(url("assets/switch.png"), url("assets/switch@2.png")); }
.header-bar GtkSwitch.trough,
.primary-toolbar GtkSwitch.trough {
background-image: -gtk-scaled(url("assets/switch-header.png"), url("assets/switch-header@2.png")); }
GtkSwitch.trough:active { GtkSwitch.trough:active {
background-image: -gtk-scaled(url("assets/switch-active.png"), url("assets/switch-active@2.png")); } background-image: -gtk-scaled(url("assets/switch-active.png"), url("assets/switch-active@2.png")); }
.header-bar GtkSwitch.trough:active,
.primary-toolbar GtkSwitch.trough:active {
background-image: -gtk-scaled(url("assets/switch-active-header.png"), url("assets/switch-active-header@2.png")); }
GtkSwitch.trough:insensitive { GtkSwitch.trough:insensitive {
background-image: -gtk-scaled(url("assets/switch-insensitive.png"), url("assets/switch-insensitive@2.png")); } background-image: -gtk-scaled(url("assets/switch-insensitive.png"), url("assets/switch-insensitive@2.png")); }
.header-bar GtkSwitch.trough:insensitive,
.primary-toolbar GtkSwitch.trough:insensitive {
background-image: -gtk-scaled(url("assets/switch-insensitive-header.png"), url("assets/switch-insensitive-header@2.png")); }
GtkSwitch.trough:active:insensitive { GtkSwitch.trough:active:insensitive {
background-image: -gtk-scaled(url("assets/switch-active-insensitive.png"), url("assets/switch-active-insensitive@2.png")); } background-image: -gtk-scaled(url("assets/switch-active-insensitive.png"), url("assets/switch-active-insensitive@2.png")); }
.header-bar GtkSwitch.trough { .header-bar GtkSwitch.trough:active:insensitive,
background-image: -gtk-scaled(url("assets/switch-header.png"), url("assets/switch-header@2.png")); } .primary-toolbar GtkSwitch.trough:active:insensitive {
.header-bar GtkSwitch.trough:active {
background-image: -gtk-scaled(url("assets/switch-active-header.png"), url("assets/switch-active-header@2.png")); }
.header-bar GtkSwitch.trough:insensitive {
background-image: -gtk-scaled(url("assets/switch-insensitive-header.png"), url("assets/switch-insensitive-header@2.png")); }
.header-bar GtkSwitch.trough:active:insensitive {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-header.png"), url("assets/switch-active-insensitive-header@2.png")); } background-image: -gtk-scaled(url("assets/switch-active-insensitive-header.png"), url("assets/switch-active-insensitive-header@2.png")); }
.list-row:selected GtkSwitch.trough { .list-row:selected GtkSwitch.trough {
background-image: -gtk-scaled(url("assets/switch-selected.png"), url("assets/switch-selected@2.png")); } background-image: -gtk-scaled(url("assets/switch-selected.png"), url("assets/switch-selected@2.png")); }
.header-bar GtkSwitch.trough,
.primary-toolbar GtkSwitch.trough {
background-image: -gtk-scaled(url("assets/switch-header.png"), url("assets/switch-header@2.png")); }
.list-row:selected GtkSwitch.trough:active { .list-row:selected GtkSwitch.trough:active {
background-image: -gtk-scaled(url("assets/switch-active-selected.png"), url("assets/switch-active-selected@2.png")); } background-image: -gtk-scaled(url("assets/switch-active-selected.png"), url("assets/switch-active-selected@2.png")); }
.header-bar GtkSwitch.trough:active,
.primary-toolbar GtkSwitch.trough:active {
background-image: -gtk-scaled(url("assets/switch-active-header.png"), url("assets/switch-active-header@2.png")); }
.list-row:selected GtkSwitch.trough:insensitive { .list-row:selected GtkSwitch.trough:insensitive {
background-image: -gtk-scaled(url("assets/switch-insensitive-selected.png"), url("assets/switch-insensitive-selected@2.png")); } background-image: -gtk-scaled(url("assets/switch-insensitive-selected.png"), url("assets/switch-insensitive-selected@2.png")); }
.header-bar GtkSwitch.trough:insensitive,
.primary-toolbar GtkSwitch.trough:insensitive {
background-image: -gtk-scaled(url("assets/switch-insensitive-header.png"), url("assets/switch-insensitive-header@2.png")); }
.list-row:selected GtkSwitch.trough:active:insensitive { .list-row:selected GtkSwitch.trough:active:insensitive {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected.png"), url("assets/switch-active-insensitive-selected@2.png")); } background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected.png"), url("assets/switch-active-insensitive-selected@2.png")); }
.header-bar GtkSwitch.trough:active:insensitive,
.primary-toolbar GtkSwitch.trough:active:insensitive {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-header.png"), url("assets/switch-active-insensitive-header@2.png")); }
/************************* /*************************
* Check and Radio items * * Check and Radio items *
*************************/ *************************/

View File

@ -4,6 +4,7 @@
// you need a subtle shade // you need a subtle shade
$variant: 'light'; $variant: 'light';
$darker: 'false';
$transparency: 'true'; $transparency: 'true';
@import 'colors'; @import 'colors';

View File

@ -1 +1 @@
@import url("gtk-contained.css"); @import url("gtk-contained-darker.css");

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -0,0 +1,39 @@
{
"description": "Arc Darker theme for Chrome/Chromium",
"key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC6RY/VX2xN/FFEQQwi4sSHGaMxF6cARCTsKKxmPhbics9qDIkZxxBqeM4TUhHDhgsZrxZsXAplyKnIjTEIdw96XDK34uF5cqLOG5vzFRIOAdFfCyC9HNupQGg3Vd8PKSVmLZz/2Xsu5zmvx+zz3VIDtNK+HaVktMhJnO9utBougQIDAQAB",
"manifest_version": 2,
"name": "Arc Darker",
"theme": {
"colors": {
"bookmark_text": [ 35, 35, 35 ],
"button_background": [ 0, 0, 0, 0 ],
"frame": [ 235, 235, 237 ],
"frame_inactive": [ 235, 235, 237 ],
"frame_incognito": [ 235, 235, 237 ],
"frame_incognito_inactive": [ 235, 235, 237 ],
"ntp_background": [ 255, 255, 255 ],
"ntp_text": [ 0, 0, 0 ],
"tab_background_text": [ 100, 100, 100 ],
"tab_text": [ 20, 20, 20 ],
"toolbar": [ 223, 223, 223 ]
},
"images": {
"theme_frame": "images/theme_frame.png",
"theme_frame_inactive": "images/theme_frame_inactive.png",
"theme_toolbar": "images/theme_toolbar.png"
},
"properties": {
"ntp_background_alignment": "bottom",
"ntp_background_repeat": "no-repeat"
},
"tints": {
"background_tab": [ -1, 0.5, 0.85 ],
"buttons": [ -1, -1, -1 ],
"frame": [ -1, -1, -1 ],
"frame_inactive": [ -1, -1, -1 ],
"frame_incognito": [ -1, 0.2, 0.35 ],
"frame_incognito_inactive": [ -1, 0.3, 0.6 ]
}
},
"version": "1"
}