mirror of
https://github.com/encounter/numix-blue-gtk-theme.git
synced 2026-07-10 12:18:49 -07:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
SASS=scss
|
||||
SASSFLAGS=--sourcemap=none
|
||||
SASS=sassc
|
||||
SASSFLAGS=-M -t expanded
|
||||
GLIB_COMPILE_RESOURCES=glib-compile-resources
|
||||
RES_DIR=src/gtk-3.0
|
||||
SCSS_DIR=$(RES_DIR)/scss
|
||||
@@ -14,8 +14,12 @@ UTILS=scripts/utils.sh
|
||||
all: clean gresource
|
||||
|
||||
css:
|
||||
$(SASS) --update $(SASSFLAGS) $(SCSS_DIR):$(DIST_DIR)
|
||||
$(SASS) --update $(SASSFLAGS) $(SCSS_DIR320):$(DIST_DIR320)
|
||||
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
|
||||
|
||||
gresource: css
|
||||
$(GLIB_COMPILE_RESOURCES) --sourcedir=$(RES_DIR) $(RES_DIR)/gtk.gresource.xml
|
||||
|
||||
@@ -16,18 +16,16 @@
|
||||
|
||||
First, you need to compile the theme using the [Sass](http://sass-lang.com/) compiler.
|
||||
|
||||
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 will need to install SassC (`sassc`) which is likely to be available as a package in your distribution's software repositories.
|
||||
|
||||
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 glib2 gdk-pixbuf2`|
|
||||
|![opensuse][opensuse]|`sudo zypper 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`|
|
||||
|![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`|
|
||||
|
||||
After installing all the dependencies, change to the cloned directory and, run the following in Terminal,
|
||||
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
@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,6 +31,7 @@
|
||||
@import "apps/nemo";
|
||||
@import "apps/panel";
|
||||
@import "apps/synaptic";
|
||||
@import "apps/thunar";
|
||||
@import "apps/xfce";
|
||||
@import "apps/unity";
|
||||
@import "apps/lightdm";
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
@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;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -31,6 +31,7 @@
|
||||
@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,8 +34,10 @@
|
||||
@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";
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
/***********
|
||||
! Eclipse *
|
||||
***********/
|
||||
|
||||
@include exports("eclipse") {
|
||||
button.flat.image-button > image {
|
||||
padding: 3px;
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,3 @@
|
||||
@import "widgets/button";
|
||||
|
||||
/**********************
|
||||
! Genome Terminal *
|
||||
***********************/
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
@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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user