1
1
mirror of https://gitlab.gnome.org/GNOME/gimp.git synced 2025-10-06 09:32:41 +02:00

themes: updates to TLSOG & TDSOG (prelight, text, bug fixes, (C))

Updates to copyright, some button contrast for TDSOG, TDLSOG. Added comment
for button focus area. Fixed selected text for TLSOG themes. Redid screenshots
to match changes. Fixed menu style name. Updated copyright year. Fixed menu
items for Ubuntu unity. Fixed prelight and fg for widget text. Updated to
v0.1.6.
This commit is contained in:
Benoit Touchette
2016-02-14 12:05:10 -05:00
parent 2ba02d220a
commit 0d692eadc0
8 changed files with 101 additions and 34 deletions

View File

@@ -1,9 +1,9 @@
############################################################################
#
# The Dark Side of GIMP Theme
# Version 0.1.3
# Version 0.1.6
#
# Copyright 2015, Benoit Touchette
# Copyright 2015-2016, Benoit Touchette
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -75,10 +75,11 @@ style "tdsog-default-style"
color["clr7"] = "#3b3b3b"
color["clr8"] = "#222222"
color["clr9"] = "#4D4D4D"
color["clr10"] = "#FFFFFF"
fg[NORMAL] = @clr1
fg[PRELIGHT] = @clr1
fg[ACTIVE] = @clr1
fg[PRELIGHT] = @clr10
fg[ACTIVE] = @clr3
fg[SELECTED] = @clr2
fg[INSENSITIVE] = @clr3
@@ -131,6 +132,14 @@ style "tdsog-default-style"
GtkComboBox::appears-as-list = 0
GtkComboBoxEntry::appears-as-list = 0
GtkComboBoxText::appears-as-list = 0
#
# To adjust to default button spacing:
#
# Set focus-padding to 2
# Set focus-line to 1
#
GtkButton::focus-line_width = 0
GtkButton::focus-padding = 0
@@ -807,7 +816,7 @@ widget_class "*<GtkMenuBar>.<GtkMenuItem>*" style "tdsog-menu-bar"
###########################################################
style "menu_item"
style "tdsog-menu-item"
{
xthickness = 2
ythickness = 4
@@ -890,8 +899,8 @@ style "menu_item"
}
}
class "GtkMenuItem" style "menu_item"
widget_class "*<GtkMenuItem>*" style "menu_item"
class "GtkMenuItem" style "tdsog-menu-item"
widget_class "*<GtkMenuItem>*" style "tdsog-menu-item"
###########################################################
@@ -2194,10 +2203,11 @@ style "kde_hack_1"
color["clr7"] = "#3b3b3b"
color["clr8"] = "#222222"
color["clr9"] = "#4D4D4D"
color["clr10"] = "#FFFFFF"
fg[NORMAL] = @clr1
fg[PRELIGHT] = @clr1
fg[ACTIVE] = @clr1
fg[PRELIGHT] = @clr10
fg[ACTIVE] = @clr3
fg[SELECTED] = @clr2
fg[INSENSITIVE] = @clr3
@@ -2469,4 +2479,24 @@ widget_class "*<GtkScrolledWindow>*<GtkViewport>" style "tlsog-plugin-scrolled-w
###########################################################
# Menu prelight fix for Ubuntu Unity
style "ubuntu-fix-menu-item"
{
engine "pixmap"
{
image
{
function = BOX
state = PRELIGHT
file = "ui/entry-border-fill-active.png"
border = { 1, 0, 1, 0 }
stretch = TRUE
}
}
}
widget "GtkMenuItem" style "ubuntu-fix-menu-item"
###########################################################
# EOF

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@@ -2,9 +2,9 @@
#
# The Light Side of GIMP Theme
#
# Version 0.1.3
# Version 0.1.6
#
# Copyright 2015, Benoit Touchette
# Copyright 2015-2016, Benoit Touchette
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -76,11 +76,12 @@ style "tlsog-default-style"
color["clr7"] = "#3b3b3b"
color["clr8"] = "#DDDDDD"
color["clr9"] = "#B2B2B2"
color["clr10"] = "#000000"
fg[NORMAL] = @clr1
fg[PRELIGHT] = @clr1
fg[ACTIVE] = @clr1
fg[SELECTED] = @clr2
fg[NORMAL] = @clr3
fg[PRELIGHT] = @clr10
fg[ACTIVE] = @clr2
fg[SELECTED] = @clr1
fg[INSENSITIVE] = @clr3
bg[NORMAL] = @clr4
@@ -91,12 +92,12 @@ style "tlsog-default-style"
base[NORMAL] = @clr6
base[PRELIGHT] = @clr8
base[ACTIVE] = @clr8
base[SELECTED] = @clr8
base[ACTIVE] = @clr5
base[SELECTED] = @clr5
base[INSENSITIVE] = @clr8
text[NORMAL] = @clr1
text[PRELIGHT] = @clr1
text[PRELIGHT] = @clr10
text[ACTIVE] = @clr1
text[SELECTED] = @clr1
text[INSENSITIVE] = @clr9
@@ -132,6 +133,14 @@ style "tlsog-default-style"
GtkComboBox::appears-as-list = 0
GtkComboBoxEntry::appears-as-list = 0
GtkComboBoxText::appears-as-list = 0
#
# To adjust to default button spacing:
#
# Set focus-padding to 2
# Set focus-line to 1
#
GtkButton::focus-line_width = 0
GtkButton::focus-padding = 0
@@ -170,7 +179,6 @@ style "tlsog-default-style"
GtkComboBox::shadow_type = GTK_SHADOW_NONE
GtkComboBoxEntry::shadow_type = GTK_SHADOW_NONE
GtkScrolledWindow::shadow-type = GTK_SHADOW_NONE
GtkComboBoxText::shadow_type = GTK_SHADOW_NONE
GtkVScale::shadow_type = GTK_SHADOW_NONE
GtkHScale::shadow_type = GTK_SHADOW_NONE
@@ -495,7 +503,7 @@ style "tlsog-treeview" = "tlsog-default-style"
{
function = FLAT_BOX
state = SELECTED
file = "ui/menuitem.png"
file = "ui/menuitem-prelight.png"
border = {1,1,1,1}
stretch = TRUE
}
@@ -808,7 +816,7 @@ widget_class "*<GtkMenuBar>.<GtkMenuItem>*" style "tlsog-menu-bar"
###########################################################
style "menu_item"
style "tlsog-menu-item"
{
xthickness = 2
ythickness = 4
@@ -827,7 +835,7 @@ style "menu_item"
{
function = BOX
state = PRELIGHT
file = "ui/menuitem-prelight.png"
file = "ui/menu-item-prelight.png"
border = { 1, 0, 1, 0 }
stretch = TRUE
}
@@ -891,8 +899,8 @@ style "menu_item"
}
}
class "GtkMenuItem" style "menu_item"
widget_class "*<GtkMenuItem>*" style "menu_item"
class "GtkMenuItem" style "tlsog-menu-item"
widget_class "*<GtkMenuItem>*" style "tlsog-menu-item"
###########################################################
@@ -1824,6 +1832,7 @@ class "GtkRange" style "tlsog-range-style"
style "tlsog-spin-scale-style"
{
bg[NORMAL] = "#BDBDBD"
bg[SELECTED] = "#CCC"
engine "pixmap"
{
@@ -1832,6 +1841,9 @@ style "tlsog-spin-scale-style"
function = FLAT_BOX
detail = "entry_bg"
state = NORMAL
file = "ui/spin-fill-bg.png"
border = { 0, 0, 0, 0 }
stretch = TRUE
}
image
@@ -1839,6 +1851,9 @@ style "tlsog-spin-scale-style"
function = FLAT_BOX
detail = "entry_bg"
state = ACTIVE
file = "ui/spin-fill-bg.png"
border = { 0, 0, 0, 0 }
stretch = TRUE
}
image
@@ -1916,6 +1931,7 @@ style "tlsog-spin-scale-style"
}
class "GimpSpinScale" style "tlsog-spin-scale-style"
widget "*GimpSpinScale*" style "tlsog-spin-scale-style"
###########################################################
@@ -2195,27 +2211,28 @@ style "kde_hack_1"
color["clr4"] = "#DDDDDD"
color["clr5"] = "#EEEEEE"
color["clr6"] = "#BDBDBD"
color["clr7"] = "#3b3b3b"
color["clr7"] = "#3B3B3B"
color["clr8"] = "#DDDDDD"
color["clr9"] = "#B2B2B2"
color["clr10"] = "#000000"
fg[NORMAL] = @clr1
fg[PRELIGHT] = @clr1
fg[ACTIVE] = @clr1
fg[SELECTED] = @clr2
fg[NORMAL] = @clr3
fg[PRELIGHT] = @clr10
fg[ACTIVE] = @clr2
fg[SELECTED] = @clr1
fg[INSENSITIVE] = @clr3
base[NORMAL] = @clr6
base[PRELIGHT] = @clr7
base[ACTIVE] = @clr7
base[SELECTED] = @clr7
base[PRELIGHT] = @clr8
base[ACTIVE] = @clr5
base[SELECTED] = @clr5
base[INSENSITIVE] = @clr8
text[NORMAL] = @clr1
text[PRELIGHT] = @clr1
text[PRELIGHT] = @clr10
text[ACTIVE] = @clr1
text[SELECTED] = @clr1
text[INSENSITIVE] = @clr9
text[INSENSITIVE] = @clr7
}
widget_class "*" style "kde_hack_1"
@@ -2473,4 +2490,24 @@ widget_class "*<GtkScrolledWindow>*<GtkViewport>" style "tlsog-plugin-scrolled-w
###########################################################
# Menu prelight fix for Ubuntu Unity
style "ubuntu-fix-menu-item"
{
engine "pixmap"
{
image
{
function = BOX
state = PRELIGHT
file = "ui/entry-border-fill-active.png"
border = { 1, 0, 1, 0 }
stretch = TRUE
}
}
}
widget "GtkMenuItem" style "ubuntu-fix-menu-item"
###########################################################
# EOF

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 211 B

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB