Skip to content

Commit

Permalink
ob-gtk-themes: Correct file permissions
Browse files Browse the repository at this point in the history
Signed-off-by: Harry Kurn <[email protected]>
  • Loading branch information
owl4ce committed May 20, 2022
1 parent 314c6dc commit dbc13e5
Show file tree
Hide file tree
Showing 406 changed files with 28,462 additions and 0 deletions.
339 changes: 339 additions & 0 deletions .themes/Fleon/COPYING

Large diffs are not rendered by default.

92 changes: 92 additions & 0 deletions .themes/Fleon/gtk-2.0/apps.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# vim:set ft=gtkrc ts=2 sw=2 sts=2 ai et:
#
# This file, unlike hacks.rc, contains legitimate cases we need to handle, e.g.
# custom widgets, programs giving us a chance to alter their UI to fit more with
# the theme or stuff that is supposed to look different, like panels.

# TODO: This could really look nicer
style "gimp_spin_scale" {
# Spin background
bg[NORMAL] = @base_color

engine "pixmap" {
image {
function = BOX
state = NORMAL
detail = "spinbutton_up"
overlay_file = "assets/pan-up-alt.png"
overlay_stretch = FALSE
}

image {
function = BOX
state = PRELIGHT
detail = "spinbutton_up"
overlay_file = "assets/pan-up.png"
overlay_stretch = FALSE
}

image {
function = BOX
state = ACTIVE
detail = "spinbutton_up"
overlay_file = "assets/pan-up.png"
overlay_stretch = FALSE
}

image {
function = BOX
state = INSENSITIVE
detail = "spinbutton_up"
overlay_file = "assets/pan-up-alt-disabled.png"
overlay_stretch = FALSE
}

image {
function = BOX
state = NORMAL
detail = "spinbutton_down"
overlay_file = "assets/pan-down-alt.png"
overlay_stretch = FALSE
}

image {
function = BOX
state = PRELIGHT
detail = "spinbutton_down"
overlay_file = "assets/pan-down.png"
overlay_stretch = FALSE
}

image {
function = BOX
state = ACTIVE
detail = "spinbutton_down"
overlay_file = "assets/pan-down.png"
overlay_stretch = FALSE
}

image {
function = BOX
state = INSENSITIVE
detail = "spinbutton_down"
overlay_file = "assets/pan-down-alt-disabled.png"
overlay_stretch = FALSE
}
}
}

style "chrome_gtk_frame" {
ChromeGtkFrame::frame-color = @titlebar_bg_color
ChromeGtkFrame::inactive-frame-color = @titlebar_bg_color
ChromeGtkFrame::incognito-frame-color = @titlebar_bg_color
ChromeGtkFrame::incognito-inactive-frame-color = @titlebar_bg_color

ChromeGtkFrame::frame-gradient-size = 0
}

# Disable spin button assets for GimpSpinScale
class "GimpSpinScale" style "gimp_spin_scale"

# Chromium lets us define some colours and settings for better integration
class "ChromeGtkFrame" style "chrome_gtk_frame"
Binary file added .themes/Fleon/gtk-2.0/assets/border.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .themes/Fleon/gtk-2.0/assets/button-hover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .themes/Fleon/gtk-2.0/assets/checkbox-checked.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .themes/Fleon/gtk-2.0/assets/checkbox-mixed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .themes/Fleon/gtk-2.0/assets/combo-ltr-button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .themes/Fleon/gtk-2.0/assets/combo-ltr-entry.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .themes/Fleon/gtk-2.0/assets/combo-rtl-button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .themes/Fleon/gtk-2.0/assets/combo-rtl-entry.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .themes/Fleon/gtk-2.0/assets/entry-active.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .themes/Fleon/gtk-2.0/assets/entry-background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .themes/Fleon/gtk-2.0/assets/entry-disabled.png
Binary file added .themes/Fleon/gtk-2.0/assets/entry.png
Binary file added .themes/Fleon/gtk-2.0/assets/frame-inline.png
Binary file added .themes/Fleon/gtk-2.0/assets/frame-notebook.png
Binary file added .themes/Fleon/gtk-2.0/assets/frame.png
Binary file added .themes/Fleon/gtk-2.0/assets/menu-checkbox-mixed.png
Binary file added .themes/Fleon/gtk-2.0/assets/menu-radio-checked.png
Binary file added .themes/Fleon/gtk-2.0/assets/menu-radio-mixed.png
Binary file added .themes/Fleon/gtk-2.0/assets/notebook-entry.png
Binary file added .themes/Fleon/gtk-2.0/assets/progressbar-trough.png
Binary file added .themes/Fleon/gtk-2.0/assets/radio-checked-hover.png
Binary file added .themes/Fleon/gtk-2.0/assets/radio-checked.png
Binary file added .themes/Fleon/gtk-2.0/assets/radio-mixed-active.png
Binary file added .themes/Fleon/gtk-2.0/assets/radio-mixed-hover.png
Binary file added .themes/Fleon/gtk-2.0/assets/radio-mixed.png
Binary file added .themes/Fleon/gtk-2.0/assets/spin-ltr-down-hover.png
Binary file added .themes/Fleon/gtk-2.0/assets/spin-ltr-down.png
Binary file added .themes/Fleon/gtk-2.0/assets/spin-ltr-up-active.png
Binary file added .themes/Fleon/gtk-2.0/assets/spin-ltr-up-hover.png
Binary file added .themes/Fleon/gtk-2.0/assets/spin-ltr-up.png
Binary file added .themes/Fleon/gtk-2.0/assets/spin-rtl-down-hover.png
Binary file added .themes/Fleon/gtk-2.0/assets/spin-rtl-down.png
Binary file added .themes/Fleon/gtk-2.0/assets/spin-rtl-up-active.png
Binary file added .themes/Fleon/gtk-2.0/assets/spin-rtl-up-hover.png
Binary file added .themes/Fleon/gtk-2.0/assets/spin-rtl-up.png
Binary file added .themes/Fleon/gtk-2.0/assets/tab.png
Binary file added .themes/Fleon/gtk-2.0/assets/treeview-ltr-button.png
Binary file added .themes/Fleon/gtk-2.0/assets/treeview-rtl-button.png
34 changes: 34 additions & 0 deletions .themes/Fleon/gtk-2.0/gtkrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Based on Bridge by ScionicSpectre and Adwaita by GNOME
# vim:set ts=2 sw=2 sts=2 ai et:
#
# This is the GTK+ 2 version of Fleon (C) owl4ce. It's whole purpose is to look as the
# GTK+ 3 version as much as possible until GTK+ 2 dies completely.
#
# Note: comments for explaining styles are on the bottom of each file beside the
# widget matches.

# Declare the colours used throughout the theme.
# There shouldn't be any fiddling with them in the theme files themselves in
# order to not mess up the dark theme.

# Text/base
gtk-color-scheme = "text_color:#F9F9F9\nbase_color:#373E4D"
# Foreground/background
gtk-color-scheme = "fg_color:#F9F9F9\nbg_color:#373E4D"
# Selected foreground/background
gtk-color-scheme = "selected_fg_color:#F9F9F9\nselected_bg_color:#63C5EA"
# Titlebar foreground/background
gtk-color-scheme = "titlebar_fg_color:#F9F9F9\ntitlebar_bg_color:#373E4D"
# Tooltips foreground/background
gtk-color-scheme = "tooltip_fg_color:#F9F9F9\ntooltip_bg_color:#3B4252"
# Links
gtk-color-scheme = "link_color:#63C5EA\nvisited_link_color:#51A1BF"

# Set GTK settings
gtk-auto-mnemonics = 1
gtk-primary-button-warps-slider = 1

# And hand over the control to the theme files
include "main.rc"
include "apps.rc"
include "hacks.rc"
36 changes: 36 additions & 0 deletions .themes/Fleon/gtk-2.0/hacks.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# vim:set ft=gtkrc ts=2 sw=2 sts=2 ai et:
#
# This file contains horrible hacks to make this theme work with some programs
# This is mostly due to the limitations of gtk2 but sometimes its the fault of
# the programs themselves. Not going to point fingers.
#
# Either way, it's a WONTFIX for both, hence this horrible file.

style "toplevel_hack" {
engine "adwaita" {}
}

style "chrome_entry" {
base[NORMAL] = @base_color
base[INSENSITIVE] = @base_color
}

style "vim_notebook" {
bg[NORMAL] = @base_color
bg[ACTIVE] = @bg_color
}

# Vim puts an eventbox between the tab and the label and colours it,
# we need to handle that
widget "vim-main-window*GtkNotebook.GtkEventBox" style "vim_notebook"

# (he)xchat input box
class "SexySpellEntry" style:highest "normal_entry"

# Chromium uses base as the fill colour of its own entries
# This would be fine but Gtk+ uses it to fill the surrounding space, so its set to bg
# That results in Chromium using it for the fill, so we need to handle that
widget_class "*Chrom*<GtkEntry>" style "chrome_entry"

# Hack to be able to match widgets in LibreOffice
class "GtkWindow" style "toplevel_hack"
Loading

0 comments on commit dbc13e5

Please sign in to comment.