diff options
author | Adam Goldsmith | 2016-04-20 00:19:55 -0400 |
---|---|---|
committer | Adam Goldsmith | 2016-04-20 00:19:55 -0400 |
commit | 79f5bff72ac1e1b2d0faa3e8c4dc015b0d63ec93 (patch) | |
tree | 072a8197fbc2fc21f0cf0ee38064fe4858007186 | |
parent | f774a5cec5c07169b790f916beba869d604666e5 (diff) | |
download | aur-79f5bff72ac1e1b2d0faa3e8c4dc015b0d63ec93.tar.gz |
Convert to dark blue colors/name
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 31 | ||||
-rw-r--r-- | dark_colors.patch | 95 |
3 files changed, 128 insertions, 16 deletions
@@ -1,7 +1,9 @@ -pkgbase = numix-themes-git - pkgdesc = A flat and light theme with a modern look (GNOME, Openbox, Unity, Xfce) - pkgver = 2.5.1.r98.5cccc5b - pkgrel = 2 +# Generated by mksrcinfo v8 +# Wed Apr 20 04:18:14 UTC 2016 +pkgbase = numix-themes-darkblue-git + pkgdesc = A flat and light theme with a modern look (GNOME, Openbox, Unity, Xfce) (Dark Blue Variant) + pkgver = 2.5.1.r200.a0736e4 + pkgrel = 1 url = http://numixproject.org/ arch = any license = GPL3 @@ -9,10 +11,12 @@ pkgbase = numix-themes-git makedepends = glib2 makedepends = ruby-sass optdepends = gtk-engine-murrine: GTK2 theme engine - provides = numix-themes - conflicts = numix-themes + provides = numix-themes-darkblue + conflicts = numix-themes-darkblue source = numix-themes::git+https://github.com/shimmerproject/Numix.git + source = dark_colors.patch md5sums = SKIP + md5sums = b5e966fada97b870f5cd38d07afb609a -pkgname = numix-themes-git +pkgname = numix-themes-darkblue-git @@ -1,19 +1,32 @@ +# Maintainer: Adam Goldsmith <contact@adamgoldsmith.name> + +# Based on numix-themes-git # Maintainer: Maxime Gauduin <alucryd@archlinux.org> # Contributor: Diego <cdprincipe@gmail.com> -pkgname=numix-themes-git -pkgver=2.5.1.r98.5cccc5b -pkgrel=2 -pkgdesc='A flat and light theme with a modern look (GNOME, Openbox, Unity, Xfce)' +pkgname=numix-themes-darkblue-git +pkgver=2.5.1.r200.a0736e4 +pkgrel=1 +pkgdesc='A flat and light theme with a modern look (GNOME, Openbox, Unity, Xfce) (Dark Blue Variant)' arch=('any') url='http://numixproject.org/' license=('GPL3') makedepends=('git' 'glib2' 'ruby-sass') optdepends=('gtk-engine-murrine: GTK2 theme engine') -provides=('numix-themes') -conflicts=('numix-themes') -source=('numix-themes::git+https://github.com/shimmerproject/Numix.git') -md5sums=('SKIP') +provides=('numix-themes-darkblue') +conflicts=('numix-themes-darkblue') +source=('numix-themes::git+https://github.com/shimmerproject/Numix.git' + 'dark_colors.patch') +md5sums=('SKIP' + 'b5e966fada97b870f5cd38d07afb609a') + +prepare() { + cd numix-themes/ + + patch -Np1 -i ../dark_colors.patch + ln -srf gtk-3.0/gtk{-dark,}.css + ln -srf gtk-3.20/gtk{-dark,}.css +} pkgver() { cd numix-themes @@ -30,7 +43,7 @@ build() { package() { cd numix-themes - make DESTDIR="${pkgdir}" install + make INSTALL_DIR="${pkgdir}/usr/share/themes/Numix-DarkBlue" install } # vim: ts=2 sw=2 et: diff --git a/dark_colors.patch b/dark_colors.patch new file mode 100644 index 000000000000..3ac17c663521 --- /dev/null +++ b/dark_colors.patch @@ -0,0 +1,95 @@ +--- a/gtk-2.0/gtkrc ++++ b/gtk-2.0/gtkrc +@@ -1,6 +1,6 @@ + # Numix GTK Theme + +-gtk-color-scheme = "bg_color:#eeeeee\nfg_color:#555555\nbase_color:#ffffff\ntext_color:#333333\nselected_bg_color:#f0544c\nselected_fg_color:#ffffff\ntooltip_bg_color:#444444\ntooltip_fg_color:#eeeeee\ntitlebar_bg_color:#444444\ntitlebar_fg_color:#dddddd\nmenubar_bg_color:#444444\nmenubar_fg_color:#dddddd\ntoolbar_bg_color:#eeeeee\ntoolbar_fg_color:#555555\nmenu_bg_color:#444444\nmenu_fg_color:#dddddd\npanel_bg_color:#444444\npanel_fg_color:#dddddd\nlink_color:#f06860" ++gtk-color-scheme = "bg_color:#333333\nfg_color:#dcdcdc\nbase_color:#333333\ntext_color:#dcdcdc\nselected_bg_color:#1568A4\nselected_fg_color:#f9f9f9\ntooltip_bg_color:#2d2d2d\ntooltip_fg_color:#dedede\ntitlebar_bg_color:#2d2d2d\ntitlebar_fg_color:#dcdcdc\nmenubar_bg_color:#2d2d2d\nmenubar_fg_color:#dcdcdc\ntoolbar_bg_color:#333333\ntoolbar_fg_color:#dcdcdc\nmenu_bg_color:#2d2d2d\nmenu_fg_color:#dcdcdc\npanel_bg_color:#2d2d2d\npanel_fg_color:#dcdcdc\nlink_color:#1568A4" + + # Default Style + +--- a/gtk-3.0/scss/_global.scss ++++ b/gtk-3.0/scss/_global.scss +@@ -3,18 +3,18 @@ + @import "functions"; + + // default color scheme +-$bg_color: if($variant == "dark", #444, #eee); +-$fg_color: if($variant == "dark", #ddd, #555); ++$bg_color: if($variant == "dark", #333, #eee); ++$fg_color: if($variant == "dark", #dcdcdc, #555); + $base_color: if($variant == "dark", #333, #fff); +-$text_color: if($variant == "dark", #eee, #333); +-$selected_bg_color: #f0544c; +-$selected_fg_color: #fff; +-$tooltip_bg_color: #444; +-$tooltip_fg_color: #eee; ++$text_color: if($variant == "dark", #dcdcdc, #333); ++$selected_bg_color: #1268A4; ++$selected_fg_color: #f9f9f9; ++$tooltip_bg_color: #2d2d2d; ++$tooltip_fg_color: #dedede; + + // dark colors +-$dark_bg_color: #444; +-$dark_fg_color: #eee; ++$dark_bg_color: #333; ++$dark_fg_color: #dcdcdc; + + // shadows + $dark_shadow: #000; +--- a/gtk-3.20/scss/_global.scss ++++ b/gtk-3.20/scss/_global.scss +@@ -3,22 +3,26 @@ + @import "functions"; + + // default color scheme +-$bg_color: if($variant == "dark", #444, #eee); +-$fg_color: if($variant == "dark", #ddd, #555); ++$bg_color: if($variant == "dark", #333, #eee); ++$fg_color: if($variant == "dark", #dcdcdc, #555); + $base_color: if($variant == "dark", #333, #fff); +-$text_color: if($variant == "dark", #eee, #333); +-$selected_bg_color: #f0544c; +-$selected_fg_color: #fff; +-$tooltip_bg_color: #444; +-$tooltip_fg_color: #eee; ++$text_color: if($variant == "dark", #dcdcdc, #333); ++$selected_bg_color: #1268A4; ++$selected_fg_color: #f9f9f9; ++$tooltip_bg_color: #2d2d2d; ++$tooltip_fg_color: #dedede; + + $selected_borders_color: if($variant == 'light', shade($bg_color, .85), shade($bg_color, .88)); + $borders_color: if($variant == 'light', shade($bg_color, .85), shade($bg_color, .88)); + $borders_edge: if($variant == 'light', transparentize(white, 0.2), transparentize($fg_color, 0.93)); + + // dark colors +-$dark_bg_color: #444; +-$dark_fg_color: #eee; ++$dark_bg_color: #333; ++$dark_fg_color: #dcdcdc; ++ ++// shadows ++$dark_shadow: #000; ++$light_shadow: #fff; + + // shadows + $dark_shadow: #000; +--- a/index.theme ++++ b/index.theme +@@ -1,10 +1,10 @@ + [Desktop Entry] + Type=X-GNOME-Metatheme +-Name=Numix +-Comment=A modern flat theme ++Name=Numix-DarkBlue ++Comment=A modern flat theme (Dark Blue variant) + Encoding=UTF-8 + + [X-GNOME-Metatheme] +-GtkTheme=Numix +-MetacityTheme=Numix ++GtkTheme=Numix-DarkBlue ++MetacityTheme=Numix-DarkBlue + ButtonLayout=:minimize,maximize,close |