Compare commits
1 Commits
master
...
latest-rel
Author | SHA1 | Date |
---|---|---|
Khurshid Alam | 2e58680a21 |
12
Makefile
12
Makefile
|
@ -1,5 +1,5 @@
|
|||
SASS=sassc
|
||||
SASSFLAGS=-M -t expanded
|
||||
SASS=scss
|
||||
SASSFLAGS=--sourcemap=none
|
||||
GLIB_COMPILE_RESOURCES=glib-compile-resources
|
||||
RES_DIR=src/gtk-3.0
|
||||
SCSS_DIR=$(RES_DIR)/scss
|
||||
|
@ -14,12 +14,8 @@ UTILS=scripts/utils.sh
|
|||
all: clean gresource
|
||||
|
||||
css:
|
||||
mkdir $(DIST_DIR)
|
||||
$(SASS) $(SASSFLAGS) $(SCSS_DIR)/gtk.scss $(DIST_DIR)/gtk.css
|
||||
$(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
|
||||
$(SASS) --update $(SASSFLAGS) $(SCSS_DIR):$(DIST_DIR)
|
||||
$(SASS) --update $(SASSFLAGS) $(SCSS_DIR320):$(DIST_DIR320)
|
||||
|
||||
gresource: css
|
||||
$(GLIB_COMPILE_RESOURCES) --sourcedir=$(RES_DIR) $(RES_DIR)/gtk.gresource.xml
|
||||
|
|
14
README.md
14
README.md
|
@ -16,16 +16,18 @@
|
|||
|
||||
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.
|
||||
|
||||
|Distro|Commands|
|
||||
|:----:|:----:|
|
||||
|![arch][arch] ![antergos][antergos]|`sudo pacman -S sassc glib2 gdk-pixbuf2`|
|
||||
|![opensuse][opensuse]|`sudo zypper install sassc glib2-devel gdk-pixbuf-devel`|
|
||||
|![fedora][fedora]|`sudo dnf install sassc glib2-devel gdk-pixbuf2-devel`|
|
||||
|![debian][debian] ![ubuntu][ubuntu]|`sudo apt-get install sassc libglib2.0-dev libgdk-pixbuf2.0-dev libxml2-utils`|
|
||||
|![arch][arch] ![antergos][antergos]|`sudo pacman -S glib2 gdk-pixbuf2`|
|
||||
|![opensuse][opensuse]|`sudo zipper install glib2-devel gdk-pixbuf-devel`|
|
||||
|![fedora][fedora]|`sudo dnf install glib2-devel gdk-pixbuf2-devel`|
|
||||
|![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,
|
||||
|
||||
|
@ -47,8 +49,6 @@ xfconf-query -c xsettings -p /Net/ThemeName -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
|
||||
Start by reviewing the [guidelines for contributing](https://github.com/numixproject/numix-gtk-theme/blob/master/.github/CONTRIBUTING.md).
|
||||
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
@define-color success_color #{"" + $success_color};
|
||||
@define-color warning_color #{"" + $warning_color};
|
||||
@define-color error_color #{"" + $error_color};
|
||||
@define-color text_view_bg #{"" + $base_color};
|
||||
|
||||
/* widget colors */
|
||||
@define-color titlebar_bg_color @dark_bg_color;
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
@import "apps/nemo";
|
||||
@import "apps/panel";
|
||||
@import "apps/synaptic";
|
||||
@import "apps/thunar";
|
||||
@import "apps/xfce";
|
||||
@import "apps/unity";
|
||||
@import "apps/lightdm";
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -23,17 +23,4 @@
|
|||
|
||||
.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,7 +8,8 @@
|
|||
@include exports("osd") {
|
||||
GtkOverlay.osd { background-color: transparent; }
|
||||
|
||||
.osd {
|
||||
.osd,
|
||||
#XfceNotifyWindow {
|
||||
&.background {
|
||||
background-color: alpha($osd_bg, .8);
|
||||
color: $osd_fg;
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
@define-color success_color #{"" + $success_color};
|
||||
@define-color warning_color #{"" + $warning_color};
|
||||
@define-color error_color #{"" + $error_color};
|
||||
@define-color text_view_bg #{"" + $base_color};
|
||||
|
||||
/* widget colors */
|
||||
@define-color titlebar_bg_color @dark_bg_color;
|
||||
|
|
|
@ -34,10 +34,8 @@
|
|||
@import "apps/nemo";
|
||||
@import "apps/panel";
|
||||
@import "apps/synaptic";
|
||||
@import "apps/thunar";
|
||||
@import "apps/xfce";
|
||||
@import "apps/unity";
|
||||
@import "apps/lightdm";
|
||||
@import "apps/gnome-terminal";
|
||||
@import "apps/budgie";
|
||||
@import "apps/eclipse";
|
||||
|
|
|
@ -24,38 +24,4 @@
|
|||
.raven-mpris {
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
/***********
|
||||
! Eclipse *
|
||||
***********/
|
||||
|
||||
@include exports("eclipse") {
|
||||
button.flat.image-button > image {
|
||||
padding: 3px;
|
||||
}
|
||||
}
|
|
@ -1,3 +1,5 @@
|
|||
@import "widgets/button";
|
||||
|
||||
/**********************
|
||||
! Genome Terminal *
|
||||
***********************/
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -27,65 +27,4 @@
|
|||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,7 +23,8 @@
|
|||
}
|
||||
}
|
||||
|
||||
button.osd {
|
||||
button.osd,
|
||||
#XfceNotifyWindow button {
|
||||
@include button($osd_bg, $osd_fg);
|
||||
|
||||
&.image-button {
|
||||
|
@ -72,7 +73,8 @@
|
|||
}
|
||||
}
|
||||
|
||||
.osd {
|
||||
.osd,
|
||||
#XfceNotifyWindow {
|
||||
background-color: $osd_bg;
|
||||
color: $osd_fg;
|
||||
|
||||
|
|
|
@ -59,9 +59,6 @@ window.active.button.hover.bg: flat solid
|
|||
window.active.button.hover.bg.color: #444444
|
||||
window.active.button.hover.image.color: #f06860
|
||||
|
||||
window.active.button.toggled.image.color: #eeeeee
|
||||
window.active.button.toggled.hover.image.color: #f06860
|
||||
|
||||
|
||||
# Inactive window
|
||||
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.image.color: #f06860
|
||||
|
||||
window.inactive.button.toggled.image.color: #888888
|
||||
window.inactive.button.toggled.hover.image.color: #f06860
|
||||
|
||||
|
||||
# OSD
|
||||
osd.border.width: 1
|
||||
|
|
Loading…
Reference in New Issue