Compare commits

..

1 Commits

Author SHA1 Message Date
Khurshid Alam 2e58680a21 RELEASE PREP :: Update CHANGES file. 2017-10-14 18:53:55 +05:30
17 changed files with 19 additions and 180 deletions

View File

@ -1,5 +1,5 @@
SASS=sassc SASS=scss
SASSFLAGS=-M -t expanded SASSFLAGS=--sourcemap=none
GLIB_COMPILE_RESOURCES=glib-compile-resources GLIB_COMPILE_RESOURCES=glib-compile-resources
RES_DIR=src/gtk-3.0 RES_DIR=src/gtk-3.0
SCSS_DIR=$(RES_DIR)/scss SCSS_DIR=$(RES_DIR)/scss
@ -14,12 +14,8 @@ UTILS=scripts/utils.sh
all: clean gresource all: clean gresource
css: css:
mkdir $(DIST_DIR) $(SASS) --update $(SASSFLAGS) $(SCSS_DIR):$(DIST_DIR)
$(SASS) $(SASSFLAGS) $(SCSS_DIR)/gtk.scss $(DIST_DIR)/gtk.css $(SASS) --update $(SASSFLAGS) $(SCSS_DIR320):$(DIST_DIR320)
$(SASS) $(SASSFLAGS) $(SCSS_DIR)/gtk-dark.scss $(DIST_DIR)/gtk-dark.css
mkdir $(DIST_DIR320)
$(SASS) $(SASSFLAGS) $(SCSS_DIR320)/gtk.scss $(DIST_DIR320)/gtk.css
$(SASS) $(SASSFLAGS) $(SCSS_DIR320)/gtk-dark.scss $(DIST_DIR320)/gtk-dark.css
gresource: css gresource: css
$(GLIB_COMPILE_RESOURCES) --sourcedir=$(RES_DIR) $(RES_DIR)/gtk.gresource.xml $(GLIB_COMPILE_RESOURCES) --sourcedir=$(RES_DIR) $(RES_DIR)/gtk.gresource.xml

View File

@ -16,16 +16,18 @@
First, you need to compile the theme using the [Sass](http://sass-lang.com/) compiler. First, you need to compile the theme using the [Sass](http://sass-lang.com/) compiler.
You will need to install SassC (`sassc`) which is likely to be available as a package in your distribution's software repositories. To install Sass, install Ruby and the gem command using your distribution's package manager. Then install `sass` with the `gem` command,
`gem install sass` (not needed for Ubuntu/Debian)
You'll also need the ```glib-compile-schemas``` and ```gdk-pixbuf-pixdata``` commands in your path to generate the gresource binary. Install them using your distribution's package manager. You'll also need the ```glib-compile-schemas``` and ```gdk-pixbuf-pixdata``` commands in your path to generate the gresource binary. Install them using your distribution's package manager.
|Distro|Commands| |Distro|Commands|
|:----:|:----:| |:----:|:----:|
|![arch][arch]  ![antergos][antergos]|`sudo pacman -S sassc glib2 gdk-pixbuf2`| |![arch][arch]  ![antergos][antergos]|`sudo pacman -S glib2 gdk-pixbuf2`|
|![opensuse][opensuse]|`sudo zypper install sassc glib2-devel gdk-pixbuf-devel`| |![opensuse][opensuse]|`sudo zipper install glib2-devel gdk-pixbuf-devel`|
|![fedora][fedora]|`sudo dnf install sassc glib2-devel gdk-pixbuf2-devel`| |![fedora][fedora]|`sudo dnf install glib2-devel gdk-pixbuf2-devel`|
|![debian][debian]  ![ubuntu][ubuntu]|`sudo apt-get install sassc libglib2.0-dev libgdk-pixbuf2.0-dev libxml2-utils`| |![debian][debian]  ![ubuntu][ubuntu]|`sudo apt-get install ruby-sass libglib2.0-dev libgdk-pixbuf2.0-dev libxml2-utils`|
After installing all the dependencies, change to the cloned directory and, run the following in Terminal, After installing all the dependencies, change to the cloned directory and, run the following in Terminal,
@ -47,8 +49,6 @@ xfconf-query -c xsettings -p /Net/ThemeName -s "Numix"
xfconf-query -c xfwm4 -p /general/theme -s "Numix" xfconf-query -c xfwm4 -p /general/theme -s "Numix"
``` ```
In Openbox you can set the theme with [ObConf](http://openbox.org/wiki/ObConf:About) tool. Alternatively, you can set the theme by changing the `<name> `key value to `Numix` in the `<theme>` section of your rc.xml file.
### For contributors ### For contributors
Start by reviewing the [guidelines for contributing](https://github.com/numixproject/numix-gtk-theme/blob/master/.github/CONTRIBUTING.md). Start by reviewing the [guidelines for contributing](https://github.com/numixproject/numix-gtk-theme/blob/master/.github/CONTRIBUTING.md).

0
src/gtk-2.0/gtkrc 100644 → 100755
View File

View File

@ -31,7 +31,6 @@
@define-color success_color #{"" + $success_color}; @define-color success_color #{"" + $success_color};
@define-color warning_color #{"" + $warning_color}; @define-color warning_color #{"" + $warning_color};
@define-color error_color #{"" + $error_color}; @define-color error_color #{"" + $error_color};
@define-color text_view_bg #{"" + $base_color};
/* widget colors */ /* widget colors */
@define-color titlebar_bg_color @dark_bg_color; @define-color titlebar_bg_color @dark_bg_color;

View File

@ -31,7 +31,6 @@
@import "apps/nemo"; @import "apps/nemo";
@import "apps/panel"; @import "apps/panel";
@import "apps/synaptic"; @import "apps/synaptic";
@import "apps/thunar";
@import "apps/xfce"; @import "apps/xfce";
@import "apps/unity"; @import "apps/unity";
@import "apps/lightdm"; @import "apps/lightdm";

View File

@ -1,17 +0,0 @@
@include exports("thunar") {
.thunar {
scrolledwindow.sidebar treeview.view {
background: $bg_color;
color: $fg_color;
&:selected, &:active {
background: $selected_bg_color;
color: $selected_fg_color;
}
}
scrolledwindow.shortcuts-pane {
border-top-width: 1;
}
}
}

View File

@ -23,17 +23,4 @@
.menu { -gtk-image-effect: none; } .menu { -gtk-image-effect: none; }
} }
#XfceNotifyWindow {
background-color: $osd_bg;
color: $osd_fg;
border-radius: $roundness;
border: 1px solid border_normal($osd_bg);
GtkLabel {
&#summary {
font-weight: bold;
}
}
}
} }

View File

@ -8,7 +8,8 @@
@include exports("osd") { @include exports("osd") {
GtkOverlay.osd { background-color: transparent; } GtkOverlay.osd { background-color: transparent; }
.osd { .osd,
#XfceNotifyWindow {
&.background { &.background {
background-color: alpha($osd_bg, .8); background-color: alpha($osd_bg, .8);
color: $osd_fg; color: $osd_fg;

View File

@ -31,7 +31,6 @@
@define-color success_color #{"" + $success_color}; @define-color success_color #{"" + $success_color};
@define-color warning_color #{"" + $warning_color}; @define-color warning_color #{"" + $warning_color};
@define-color error_color #{"" + $error_color}; @define-color error_color #{"" + $error_color};
@define-color text_view_bg #{"" + $base_color};
/* widget colors */ /* widget colors */
@define-color titlebar_bg_color @dark_bg_color; @define-color titlebar_bg_color @dark_bg_color;

View File

@ -34,10 +34,8 @@
@import "apps/nemo"; @import "apps/nemo";
@import "apps/panel"; @import "apps/panel";
@import "apps/synaptic"; @import "apps/synaptic";
@import "apps/thunar";
@import "apps/xfce"; @import "apps/xfce";
@import "apps/unity"; @import "apps/unity";
@import "apps/lightdm"; @import "apps/lightdm";
@import "apps/gnome-terminal"; @import "apps/gnome-terminal";
@import "apps/budgie"; @import "apps/budgie";
@import "apps/eclipse";

View File

@ -24,38 +24,4 @@
.raven-mpris { .raven-mpris {
background-color: transparentize($bg_color, .3); background-color: transparentize($bg_color, .3);
} }
.budgie-panel {
background-color: $dark_bg_color;
color: $dark_fg_color;
}
.budgie-panel > box > widget > separator {
background-color: transparentize($dark_fg_color, .8);
}
.workspace-switcher {
background-color: $dark_bg_color;
.workspace-icon-button {
background-color: transparent;
&:hover {
background-color: transparentize($selected_bg_color, .5);
border: transparent;
}
}
.workspace-more-label {
color: $dark_fg_color;
}
.workspace-add-button {
background-color: transparentize($selected_bg_color, .8);
color: $selected_bg_color;
border: transparent;
&:hover {
background-color: transparentize($selected_bg_color, .5);
}
}
.current-workspace {
background-color: $selected_bg_color;
}
}
} }

View File

@ -1,9 +0,0 @@
/***********
! Eclipse *
***********/
@include exports("eclipse") {
button.flat.image-button > image {
padding: 3px;
}
}

View File

@ -1,3 +1,5 @@
@import "widgets/button";
/********************** /**********************
! Genome Terminal * ! Genome Terminal *
***********************/ ***********************/

View File

@ -1,17 +0,0 @@
@include exports("thunar") {
.thunar {
scrolledwindow.sidebar treeview.view {
background: $bg_color;
color: $fg_color;
&:selected, &:active {
background: $selected_bg_color;
color: $selected_fg_color;
}
}
scrolledwindow.shortcuts-pane {
border-top-width: 1;
}
}
}

View File

@ -27,65 +27,4 @@
text-shadow: none; text-shadow: none;
} }
} }
#XfceNotifyWindow {
.osd {
background-color: $osd_bg;
color: $osd_fg;
border-radius: $roundness;
border: 1px solid border_normal($osd_bg);
}
&.osd {
label {
&#summary {
font-weight: bold;
}
}
}
}
#whiskermenu-window {
* {
border-color: border_normal($dark_bg_color);
outline: none;
}
background-color: $dark_bg_color;
color: $dark_fg_color;
entry {
background-color: shade($dark_bg_color, 1.2);
color: $dark_fg_color;
}
button {
font-weight: bold;
padding: 6px 12px;
margin: 3px 0px;
border: none;
@include linear_gradient($dark_bg_color);
color: $dark_fg_color;
&:focus, &:hover {
background-color: $selected_bg_color;
color: $selected_fg_color;
}
&:checked {
background-color: shade($selected_bg_color, .9);
color: $selected_fg_color;
}
}
treeview {
background-color: shade($dark_bg_color, 1.2);
color: $dark_fg_color;
&:selected, &:hover {
background-color: $selected_bg_color;
color: $selected_fg_color;
}
}
}
} }

View File

@ -23,7 +23,8 @@
} }
} }
button.osd { button.osd,
#XfceNotifyWindow button {
@include button($osd_bg, $osd_fg); @include button($osd_bg, $osd_fg);
&.image-button { &.image-button {
@ -72,7 +73,8 @@
} }
} }
.osd { .osd,
#XfceNotifyWindow {
background-color: $osd_bg; background-color: $osd_bg;
color: $osd_fg; color: $osd_fg;

View File

@ -59,9 +59,6 @@ window.active.button.hover.bg: flat solid
window.active.button.hover.bg.color: #444444 window.active.button.hover.bg.color: #444444
window.active.button.hover.image.color: #f06860 window.active.button.hover.image.color: #f06860
window.active.button.toggled.image.color: #eeeeee
window.active.button.toggled.hover.image.color: #f06860
# Inactive window # Inactive window
window.inactive.border.color: #393939 window.inactive.border.color: #393939
@ -96,9 +93,6 @@ window.inactive.button.hover.bg: flat solid
window.inactive.button.hover.bg.color: #444444 window.inactive.button.hover.bg.color: #444444
window.inactive.button.hover.image.color: #f06860 window.inactive.button.hover.image.color: #f06860
window.inactive.button.toggled.image.color: #888888
window.inactive.button.toggled.hover.image.color: #f06860
# OSD # OSD
osd.border.width: 1 osd.border.width: 1