Commit Graph

372 Commits

Author SHA1 Message Date
b391d24485 themes: use "large-toolbar" for toolbox buttons, "button" is too small 2018-05-31 15:24:13 +02:00
cba95fb8a5 themes: prefer symbolic icons when available.
This is a first step to make our 2 symbolic themes into one and properly
"announce" them as symbolic through icon naming (which will allow
recoloring according to style colors).
With this CSS style, GTK+ widgets will search for symbolic icon variants
when using the generic name (with "*-symbolic" suffix).
2018-05-28 21:09:08 +02:00
3e45427a36 app: fix drawing of GimpColorFrame's number
simply draw FG with alpha and remove the "number-color" style property.
2018-05-24 00:09:24 +02:00
080f7ae909 libgimpwidgets: undeprecate GimpNumberPairEntry and style the font with CSS 2018-05-21 19:31:15 +02:00
0ea8b4e0e5 themes: some GimpDhsplayShell and children CSS hackery 2018-05-20 21:06:35 +02:00
e76c1305a5 app: derive GimpStatusbar from GtkFrame not GtkStatusbar
we were not using a single GtkStatusBar features, it was only in the
way. Remove broken size allocation logic and simply set a minimum
height of 3em in CSS. Also ellipsize the label, long labels had funny
effects since changing the overall GimpDisplayShell packing to pure
GtkGrid.
2018-05-20 21:06:35 +02:00
4133a032de Undeprecate/improve GimpScaleComboBox and GimpUnitComboBox
Remove label-scale style properties and gtk_widget_modify_font()
hacks and theme them using CSS.
2018-05-20 21:06:35 +02:00
69795ee376 themes: remove deprecated style properties from System/gimp.css 2018-05-20 21:06:34 +02:00
5509d586f9 themes: clean up gimp.css, with some added commented experiments 2018-05-20 21:06:34 +02:00
65d4450b3e app, themes: move GimpDisplayShell styling to CSS
Looks half-decent again now.
2018-05-20 21:06:30 +02:00
818b283e3f themes: uncomment one more deprecated CSS rule.
"GtkButton-inner-border" is deprecated and output warnings.
2018-05-20 21:06:30 +02:00
0edde674b7 themes: remove Dark, Gray and Light themes.
These are not working anymore since we now need CSS themes.
Also we'll prefer to use theme variants anyway.
I also remove a remnant of the old "Small" theme, which was not
installed anymore anyway, and is not useful anymore.
2018-05-20 21:06:30 +02:00
4f0a87ffa6 app, libgimpwidgets, themes: fix some themeing
Add CSS names using gtk_widget_class_set_css_name(), remove styling in
code and instead do it properly in CSS, so far in the System theme.
All horribly incomplete but a start.
2018-05-20 21:06:30 +02:00
0f84a985bd themes: comment out deprecated stuff in the "System" theme 2018-05-20 21:06:30 +02:00
8e83866605 themes: set an explicit background for rulers
because they can't be rendered with transparent background currently.
2018-05-20 21:06:29 +02:00
cc010a4288 Incomplete notebook and tab theming commit, to be improved 2018-05-20 21:06:29 +02:00
590b5ff2a4 themes: document the new stlye properties and indent the CSS files properly 2018-05-20 21:06:28 +02:00
19d8b78a0b themes: document the new GimpHistogramView property in the theme CSS 2018-05-20 21:06:28 +02:00
1cd367845d app: port GimpColorFrame away from GtkStyle, using a new style property 2018-05-20 21:06:28 +02:00
21e51d2c0f port gtkrc files to CSS (incompletely and stuff commented out) 2018-05-20 21:06:28 +02:00
bd03ea7617 Clear kde_hacks and change treeview selected color 2018-04-25 12:51:47 +02:00
0a39874bda themes: fix "Dark" selected colors in "kde_hack_1" too, whatever that is 2018-04-18 14:54:34 +02:00
434728da08 themes: switch Dark's base[SELECTED] and text[SELECTED] colors
so selected text is totally obvious. Also improves histogram and other
places which use base/text's higher contrast.
2018-04-17 19:59:06 +02:00
54ca0a7f68 Add Gray theme back to GIMP
that was removed by commit 7aecc90e10
2018-04-10 00:16:26 +02:00
cf21dcbe37 Rework and rename the default Dark theme 2018-04-05 23:59:27 +03:00
7aecc90e10 Remove Lighter, Darker, and Gray themes 2018-04-05 23:59:22 +03:00
657c39dc74 plug-ins, themes: use the "normal text" color as stdout color of...
... the python console.
It was using "selected text", which is most often inverted color (close
if not identical to the background color). As a consequence, it made
stdout output unreadable by default, forcing themes to always define a
style for the python console. Using "normal text" is a much better
choice to default to something readable from a parent style.

As a consequence, I also removed "python-fu-console" styling from the
System theme, where there should be as few theming as possible.
2018-01-09 18:41:59 +01:00
a7677c865f themes: add new style "gimp-python-console" for all themes.
I mostly copy-pasted from Dark and Light theme which already had this
style set since previous commit. If anyone wants to finetune colors, be
my guest!
2018-01-09 18:20:23 +01:00
e663526de9 Bug 753736: GIMP Python green prompt is virtually...
... unreadable to those with certain type of color blindness
2018-01-09 17:44:37 +01:00
32d575b64f Bug 785080 - 02-Gray Theme lacks foreground-background contrast.
Thanks to Massimo for the solution!
2017-12-02 16:09:03 +01:00
be6ccc491c themes: minor theme fix.
s/gtk-application-prefer-gimp-dark-theme/gtk-application-prefer-dark-theme/
I'm actually not sure if this property is supposed to be in the gtkrc
file. It looks like it is available only from GTK+3, and isn't it more
of an application settings in order to select the right theme variant,
rather than a specific theme settings?
Anyway let's at least set the right property name.
2017-07-15 14:39:16 +02:00
11d34b0309 themes: add commented-out font_name property in "System" theme.
This is to be used as self-documentation code, so that people know
how to hack the font size since I am not sure GIMP will always provide
reasonable font display on every platform.
2017-03-24 04:38:51 +01:00
e58d8fcd24 themes: removing the "Small" theme.
As a result of "Bug 745835 - Resize icons as Option, not theme", the
Small theme is now useless and redundant with the icon sizing
preferences.
2017-03-24 04:33:51 +01:00
3cc77b03bf Bug 759904: Some icons can't be set from the icon theme
make it possible to use themed standard named icons
so to have also gtk dialogs show icons in the same style
as GIMP ui.
2016-09-02 12:30:49 +02:00
060291c34e Bug 768934: Invisible main menu bar menu...
...items except File menu item in Mint Cinnamon 18

set GtkMenuItem::horizontal-padding = 4
2016-08-03 18:38:03 +02:00
0f67e21c98 themes: rename theme "Default" into "System".
Since we have many themes now, this new name better indicates that it
is meant to follow your desktop theme settings.
Also it will likely not remain the default theme.
2016-03-22 16:37:10 +01:00
7b27e03799 themes: order themes by shades of gray.
Since current implementation orders by folder, let's prepend install
folders by numbers.
2016-03-22 01:40:18 +01:00
4358c783e4 themes: redo fix from commit 9c617d0.
It got lost when renaming the theme on commit ab8aa3b.
2016-03-22 01:36:55 +01:00
ab8aa3bd83 Themes: Renamed themes. Added 3 themes (Lighter, Gray, Dark).
Updated themes, renamed The-Dark-Side-Of-Gimp to Darker, and renamed The-Light-Side-Of-Gimp
to Light. Added three themes, Lighter, Gray, and Dark.

https://bugzilla.gnome.org/show_bug.cgi?id=759648 (Light)
https://bugzilla.gnome.org/show_bug.cgi?id=759649 (Darker)
https://bugzilla.gnome.org/show_bug.cgi?id=759663 (Gray)
https://bugzilla.gnome.org/show_bug.cgi?id=759830 (Lighter)
https://bugzilla.gnome.org/show_bug.cgi?id=759996 (Dark)
2016-03-20 10:56:47 -04:00
9c617d058c themes: s/menu-item-prelight.png/menuitem-prelight.png/
Fix a typo of an image file's name in gtkrc.
2016-02-29 23:52:02 +01:00
58b5c94d92 themes: uninstalled Light theme icon.
spin-fill-bg.png added in commit 0d692ea but not installed.
Fixes the following theme warning:
> Unable to locate image file in pixmap_path: "ui/spin-fill-bg.png"
2016-02-29 23:44:14 +01:00
0d692eadc0 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.
2016-02-14 12:10:10 -05:00
a3185f8794 Bug 760906 - Fixing warning on new themes.
Both new themes were outputting the following warning for gap_left.png:
"Invalid borders specified for theme pixmap"
"borders don't fit within the image"
The problem was that the sum of the left and right gap borders cannot be
more than the gap file width (2 px in our case).
2016-02-06 02:00:06 +01:00
7c2491c235 themes: light theme should also use larger tool icons.
Now that we are back to separate gtkrc files, let's make the light theme
follow the same layout.
2016-02-02 22:09:07 +01:00
3198d27787 Revert "themes: use a common gtkrc and correctly named colors."
This reverts commit 6e109052ca.
Let the theme designer work his own way. :-)
2016-02-02 22:09:07 +01:00
8d79e2289a themes: default toolbox icon size should be GTK_ICON_SIZE_LARGE_TOOLBAR.
Just like the old "Default" theme has. This is an acceptable average for
various kind of devices, unlike small icons.
2016-01-22 16:35:53 +01:00
6e109052ca themes: use a common gtkrc and correctly named colors.
All our new themes should now use a common gtkrc base. Colors only
should be different, as included from a colorrc. This way we ensure a
consistent behavior throughout all themes.
Also we should use meaningful color names to make maintenance easy.
2016-01-17 19:53:04 +01:00
f522c1ad49 themes: update distributed theme images.
entry-border-fill-active-item is not used anymore (commit 2144a7c).
gimp-arrow-right-prelight seems as well for some time.
Adding menuitem-prelight (commit 127fdff and 2144a7c).
2016-01-17 15:34:23 +01:00
2144a7ceb9 themnes: Updated light theme menuitem prelight 2016-01-17 07:08:49 -05:00
127fdff9c7 themes: Updated both dark and light themes menuitem prelight.
Updated both themes menuitem prelight to use same filename in gtkrc.
Added new ui/menuitem-prelight.png
2016-01-17 06:58:43 -05:00