To-Slalom

DarkTheme

Apr 17th, 2021 (edited)
792
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Adwaita-X: GTK2 Theme for GNOME 3
  2. # https://github.com/axxapy/Adwaita-dark-gtk2/tree/1b109e603cb12e0e14ca0907e34619f112552bda
  3. # 2012 KEIII (kacenkov7@gmail.com)
  4.  
  5. # This program is free software: you can redistribute it and/or m odify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation, either version 3 of the License, or
  8. # (at your option) any later version.
  9.  
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. # GNU General Public License for more details.
  14.  
  15. # You should have received a copy of the GNU General Public License
  16. # along with this program.  If not, see <http://www.gnu.org/licenses/>.
  17.  
  18.  
  19. #gtk-color-scheme = "base_color:#ffffff\nbg_color:#ededed\ntooltip_bg_color:#343434\nselected_bg_color:#4a90d9\ntext_color:#2e3436\nfg_color:#2e3436\ntooltip_fg_color:#ffffff\nselected_fg_color:#fff"
  20. #gtk-color-scheme = "base_color:#4f524f\nfg_color:#eeeeec\ntooltip_fg_color:#eeeeee\nselected_bg_color:#3465a4\nselected_fg_color:#eeeeec\ntext_color:#eeeeec\nbg_color:#363b3b\ntooltip_bg_color:#000000"
  21.  
  22.  
  23. gtk-color-scheme = "base_color:#4f524f\nbg_color:#393f3f\ntooltip_bg_color:#494f4f\nselected_bg_color:#678060\ntext_color:#ffffff\nfg_color:#ffffff\ntooltip_fg_color:#ffffff\nselected_fg_color:#ffffff"
  24.  
  25. gtk-color-scheme = "base_color:#181716\nbg_color:#2a2727\ntooltip_bg_color:#181716\nselected_bg_color:#678060\ntext_color:#ffffff\nfg_color:#ffffff\ntooltip_fg_color:#ffffff\nselected_fg_color:#ffffff"
  26.  
  27.  
  28. gtk-icon-sizes = "gtk-button=16,16:\ngtk-dnd=16,16:\npanel=16,16:\ngtk-small-toolbar=16,16:\ngtk-large-toolbar=24,24:"
  29.  
  30. gtk-button-images       = 0
  31. gtk-auto-mnemonics      = 1
  32. gtk-menu-popup-delay    = 100
  33.  
  34. style "murrine-default" {
  35.     xthickness = 1
  36.     ythickness = 1
  37.     GtkButton::child-displacement-x             = 1
  38.     GtkButton::child-displacement-y             = 1
  39.     GtkButton::default-border                   = { 0, 0, 0, 0 }
  40.     GtkCheckButton::indicator-size              = 15
  41.  
  42.     GtkWidget::new-tooltip-style                = 1
  43.     GtkWidget::focus-line-width                 = 1
  44.     GtkWidget::focus-padding                    = 0 # Keeping this at 0 prevents the Firefox tabs from jumping a few pixels when you create a new tab. Set the value locally if needed.
  45.     GtkImage::x-ayatana-indicator-dynamic       = 1
  46.     GtkScrollbar::has-backward-stepper          = 0
  47.     GtkScrollbar::has-forward-stepper           = 0
  48.     GtkScrollbar::min-slider-length             = 31
  49.     GtkScrollbar::slider-width                  = 9
  50.     GtkScrollbar::trough-border                 = 2
  51.     GtkScrollbar::activate-slider               = 0
  52.     GtkScrolledWindow::scrollbar-spacing        = 0
  53.     GtkScrolledWindow::scrollbars-within-bevel  = 1
  54.     GtkPaned::handle-size                       = 3
  55.     GtkRange::trough-border                     = 0
  56.     GtkRange::slider-width                      = 15
  57.     GtkRange::stepper-size                      = 0
  58.     GtkRange::stepper_spacing                   = 0
  59.     GtkRange::trough-under-steppers             = 0
  60.     GtkScale::slider-length                     = 15
  61.     GtkScale::slider-width                      = 15
  62.     GtkMenuBar::internal-padding                = 0
  63.     GtkExpander::expander-size                  = 12
  64.     GtkToolbar::internal-padding                = 0
  65.     GtkTreeView::expander-size                  = 12
  66.     GtkTreeView::indent-expanders               = 1
  67.     GtkTreeView::vertical-separator             = 1
  68.     GtkNotebook::tab-overlap                    = -1
  69.     GtkMenu::horizontal-padding                 = 0
  70.     GtkMenu::vertical-padding                   = 2
  71.     WnckTasklist::fade-overlay-rect             = 0
  72.     # The following line hints to gecko (and possibly other appliations)
  73.     # that the entry should be drawn transparently on the canvas.
  74.     # Without this, gecko will fill in the background of the entry.
  75.     GtkEntry::honors-transparent-bg-hint        = 1
  76.     GtkEntry::state-hint                        = 0
  77.     GtkEntry::progress-border                   = { 2, 2, 2, 2 }
  78.     GtkProgressBar::min-horizontal-bar-height   = 20
  79.     GtkProgressBar::min-vertical-bar-width      = 20
  80.     #GtkToolbar::shadow-type                    = GTK_SHADOW_NONE # Makes toolbars flat and unified.
  81.     #GtkMenuBar::shadow-type                    = GTK_SHADOW_NONE # Makes menus flat and unified.
  82.     GtkMenuBar::window-dragging                 = 1
  83.     # The little ugly gripper at the bottom right needs to go. Loss of usability for the
  84.     # sake of a more good-looking theme. You can remove this if you don't use Ubuntu 11.04.
  85.    GtkWindow::resize-grip-height               = 0
  86.    GtkWindow::resize-grip-width                = 0
  87. /*
  88.    fg[NORMAL]          = @fg_color
  89.    fg[PRELIGHT]        = @fg_color
  90.    fg[SELECTED]        = @selected_fg_color
  91.    fg[ACTIVE]          = @fg_color
  92.    fg[INSENSITIVE]     = darker (@bg_color)
  93.  
  94.    bg[NORMAL]          = @bg_color
  95.    bg[PRELIGHT]        = shade (1.02, @bg_color)
  96.    bg[SELECTED]        = @selected_bg_color
  97.    bg[INSENSITIVE]     = @bg_color
  98.    bg[ACTIVE]          = shade (.9, @bg_color)
  99.  
  100.    base[NORMAL]        = @base_color
  101.    base[PRELIGHT]      = shade (.95, @bg_color)
  102.    base[ACTIVE]        = shade (.9, @selected_bg_color)
  103.    base[SELECTED]      = @selected_bg_color
  104.    base[INSENSITIVE]   = @bg_color
  105.  
  106.    text[NORMAL]        = @text_color
  107.    text[PRELIGHT]      = @text_color
  108.    text[ACTIVE]        = @selected_fg_color
  109.    text[SELECTED]      = @selected_fg_color
  110.    text[INSENSITIVE]   = darker (@selected_fg_color)
  111. */
  112.    engine "murrine" {
  113.        animation           = FALSE
  114.        arrowstyle          = 1   # Arrows
  115.        colorize_scrollbar  = FALSE
  116.        comboboxstyle       = 2   # not colored combobox below the arrow
  117.        contrast            = .85  # .8 for less contrast, more than 1.0 for more # contrast on borders
  118.        expanderstyle       = 2   # buttons with plus and minus
  119.        focusstyle          = 1   # colored rectangle touching the borders
  120.        glazestyle          = 0   # 0 = flat highlight, 1 = curved highlight,
  121.                            # 2 = concave style, 3 = top curved highlight,
  122.                            # 4 = beryl highlight
  123.        gradient_shades     = { 1.01, 1.0, 1.0, .99 }
  124.        handlestyle         = 0     # three simple lines
  125.        highlight_shade     = 1.0   # set highlight amount for buttons or widgets
  126.        lightborder_shade   = 1.2   # sets lightborder amount for buttons or widgets
  127.        lightborderstyle    = 0     # 0 = lightborder on top side, 1 = lightborder on all sides
  128.        listviewheaderstyle = 0     # 0 = flat, 1 = glassy, 2 = raised
  129.        listviewstyle       = 1     # 0 = nothing, 1 = dotted
  130.        menubaritemstyle    = 1     # 0 = menuitem look, 1 = button look
  131.        menubarstyle        = 0     # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
  132.        menuitemstyle       = 0     # 0 = flat, 1 = glassy, 2 = striped
  133.        menustyle           = 0     # 0 = no vertical menu stripe, 1 = display  # vertical menu stripe
  134.        progressbarstyle    = 1     # 0 = flat, 1 = stripped, 2 = blocks
  135.        reliefstyle         = 0     # 0 = flat, 1 = inset, 2 = shadow, 3 = shadow with gradient, 4 = stronger shadow with gradient
  136.        rgba                = FALSE # FALSE = disabled, TRUE = enabled
  137.        roundness           = 2     # 0 = squared, 1 = old default, more will # increase roundness
  138.        scrollbarstyle      = 0     # 0 = nothing, 1 = circles, 2 = handles,
  139.                                    # 3 = diagonal stripes, 4 = diagonal stripes
  140.                                    # and handles, 5 = horizontal stripes,
  141.                                    # 6 = horizontal stripes and handles
  142.        separatorstyle      = 0     # smooth separator
  143.        sliderstyle         = 0     # 0 = nothing added, 1 = handles
  144.        stepperstyle        = 1     # 0 = standard, 1 = integrated stepper handles,
  145.                                    # 2 = unknown
  146.        toolbarstyle        = 0     # 0 = flat, 1 = glassy, 2 = gradient
  147.    }
  148. }
  149.  
  150. style "murrine-nogap" {
  151.    xthickness  = 0
  152.    ythickness  = 0
  153. }
  154. style "murrine-wide" {
  155.    xthickness  = 2
  156.    ythickness  = 2
  157. }
  158. style "murrine-wider" {
  159.    xthickness  = 3
  160.    ythickness  = 3
  161. }
  162.  
  163. # Buttons
  164. style "murrine-button" = "murrine-wider" {
  165.    ythickness      = 4
  166.    /*
  167.    bg[PRELIGHT]    = shade (1.07, @bg_color)
  168.    bg[ACTIVE]      = shade (0.8, @bg_color)
  169.    bg[SELECTED]    = @bg_color
  170.    */
  171.    engine "murrine" {
  172.        gradient_shades = {1.05, .99, .99, .91}
  173.        contrast        = .72
  174.    }
  175. }
  176.  
  177. style "murrine-entry" = "murrine-wider" {
  178. /*
  179.    bg[SELECTED] = mix (.4, @selected_bg_color, @base_color)
  180.    fg[SELECTED] = @text_color
  181. */
  182.    engine "murrine" {
  183.        border_shades   = { 1.0, 1.0 }
  184.        contrast        = .7
  185.    }
  186. }
  187. style "murrine-notebook-bg" = "murrine-wider" {
  188. /*
  189.    bg[NORMAL]  = @base_color
  190.    bg[ACTIVE]  = shade (.95, @bg_color)
  191. */
  192. }
  193. style "murrine-notebook" = "murrine-notebook-bg" { }
  194. style "murrine-panel" { }
  195. # Menubar
  196. style "murrine-menubar" { }
  197.  
  198. style "murrine-menubar-menuitem" = "murrine-wider" {
  199.    /*
  200.    fg[PRELIGHT]    = @fg_color
  201.    text[PRELIGHT]  = @fg_color
  202.    bg[PRELIGHT]    = @base_color
  203.    bg[SELECTED]    = @base_color
  204.    */
  205.    engine "murrine" { contrast = .0 }
  206. }
  207.  
  208. # Menu
  209. style "murrine-menu" = "murrine-nogap" {
  210. /*
  211.    bg[NORMAL] = @base_color # menu background
  212.    fg[PRELIGHT] = "#f00" # Text MouseOver color
  213.    text[ACTIVE] = "#ff0"
  214. */
  215.    bg[NORMAL]        = "#181716" # bg color submenu
  216.    bg[SELECTED]      = "#00ff00" # bg color MouseOver SubMenu
  217.    bg[PRELIGHT]      = "#E9DF00" # ???
  218.    bg[ACTIVE]        = "#ff00ff" # ???
  219.    bg[INSENSITIVE]   = "#aaaaaa" # Disable right Text Color
  220.  
  221.    text[NORMAL]        = "#ffffff" # left simblo color
  222.    text[SELECTED]      = "#009"
  223.    text[PRELIGHT]      = "#181716" # left simblo MouseOver Color
  224.    text[ACTIVE]        = "#663238" # ???
  225.    text[INSENSITIVE]   = "#f00" #
  226.  
  227.    fg[NORMAL]        = "#ffffff" # Default text color
  228.    fg[SELECTED]      = "#E9DF00" # ???
  229.    fg[PRELIGHT]      = "#181716" # MouseOver text Color
  230.    fg[ACTIVE]        = "#ffa" # ???
  231.    fg[INSENSITIVE]   = "#aaaaaa" # Disable feft Text Color
  232.  
  233.    GtkMenuItem::arrow-scaling = .5 # small arrow
  234.  
  235.    engine "murrine" {
  236.    arrowstyle = 0
  237.    roundness = 0 # Radius of the menu items (inside menus)
  238.    contrast  = .0 # flat
  239.    }
  240. }
  241.  
  242. style "murrine-menu-item" {
  243.    xthickness  = 3
  244.    ythickness  = 5
  245. }
  246.  
  247. style "murrine-menuitem-separator" = "murrine-wide" {
  248.    engine "murrine" { contrast  = .5 }
  249. }
  250.  
  251. # Treeview
  252. style "murrine-treeview" {
  253.    bg[NORMAL] = @base_color
  254.    engine "murrine" {
  255.        contrast = .6
  256.        roundness = 1 # The radius for progress bars insied treeview.
  257.    }
  258. }
  259.  
  260. # Based on the default style so that the colors from the button
  261. # style are overriden again.
  262. style "murrine-treeview-header" = "murrine-wider" {
  263.    bg[NORMAL] = @base_color
  264. }
  265.  
  266. style "murrine-frame-title" {
  267.    fg[NORMAL]      = lighter ( @fg_color )
  268. }
  269. # Tooltip
  270. style "murrine-tooltips" = "murrine-wider" {
  271.    bg[NORMAL]      = @tooltip_bg_color
  272.    fg[NORMAL]      = @tooltip_fg_color
  273.    bg[SELECTED]    = @tooltip_bg_color
  274. }
  275. # Progressbar
  276. style "murrine-progressbar" = "murrine-nogap" {
  277.    fg[PRELIGHT]    = @selected_fg_color
  278.  
  279.    engine "murrine" {
  280.        # Explicitly set the radius, for progress
  281.        # bars inside menuitems
  282.        roundness               = 1
  283.        gradient_shades         = { 1.3, 1.15, 1.15, .95 }
  284.        trough_border_shades    = { .98, 1.1 }
  285.    }
  286. }
  287. style "murrine-statusbar" = "murrine-wider" { }
  288. style "murrine-comboboxentry" = "murrine-wider" { }
  289. style "murrine-spinbutton" { }
  290.  
  291. # Slider
  292. style "murrine-scale" {
  293.    GtkRange::slider-width  = 15
  294.    GtkScale::slider-length = 15
  295.    bg[NORMAL] = @base_color
  296.    bg[ACTIVE] = shade (.95, @bg_color)
  297.  
  298.    engine "murrine" {
  299.        roundness               = 15
  300.        gradient_shades         = {1.5, 1.1, 1.1, .9}
  301.        trough_border_shades    = { 1.7, 2.2 }
  302.        contrast                = 1.5
  303.    }
  304. }
  305.  
  306. # Scrollbar
  307. style "murrine-scrollbar" = "murrine-wider" {
  308.    bg[NORMAL]      = shade (.65, @bg_color)
  309.    bg[PRELIGHT]    = @selected_bg_color
  310.    bg[ACTIVE]      = @selected_bg_color
  311.  
  312.    engine "murrine" {
  313.        trough_shades   = {0.85, 0.85}
  314.        border_shades   = { 1.38, 1.38 }
  315.        contrast        = .0
  316.        roundness       = 3
  317.    }
  318. }
  319.  
  320. style "murrine-hscale" { }
  321. style "murrine-vscale" { }
  322. # Check buttons pixmap style
  323. style "checkbutton" { }
  324. style "radiobutton" { }
  325. style "murrine-radiobutton" = "murrine-wider" {
  326.    ythickness      = 4
  327.    bg[PRELIGHT]    = @selected_bg_color
  328.    bg[ACTIVE]      = @selected_bg_color
  329.    bg[SELECTED]    = @bg_color
  330.  
  331.    engine "murrine" {
  332.        gradient_shades = {1.05, .99, .99, .91}
  333.        contrast        = .72
  334.    }
  335. }
  336.  
  337. # Matches
  338. class "GtkWidget"               style "murrine-default"
  339. class "GtkToolbar"               style "murrine-default"
  340. class "GtkRange"                style "murrine-wide"
  341. class "GtkFrame"                style "murrine-wide"
  342. class "GtkSeparator"              style "murrine-wide"
  343. class "GtkEntry"                style "murrine-entry"
  344. class "GtkSpinButton"             style "murrine-spinbutton"
  345. class "GtkScale"                style "murrine-scale"
  346. class "GtkVScale"               style "murrine-vscale"
  347. class "GtkHScale"               style "murrine-hscale"
  348. class "GtkScrollbar"              style "murrine-scrollbar"
  349. class "GtkVScrollbar"             style "murrine-scrollbar"
  350. class "GtkHScrollbar"             style "murrine-scrollbar"
  351. widget "*PanelWidget*"             style "murrine-panel"
  352. widget "*PanelApplet*"             style "murrine-panel"
  353. widget "*fast-user-switch*"          style "murrine-panel"
  354. class "PanelApp*"               style "murrine-panel"
  355. class "PanelToplevel*"            style "murrine-panel"
  356. widget_class "*<GtkNotebook>*<GtkEventBox>"  style "murrine-notebook-bg"
  357. widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "murrine-notebook-bg"
  358. widget_class "*<GtkNotebook>*<GtkLayout>"   style "murrine-notebook-bg"
  359. widget_class "*<GtkButton>"          style "murrine-button"
  360. widget_class "*<GtkNotebook>"         style "murrine-notebook"
  361. widget_class "*<GtkStatusbar>*"        style : highest "murrine-statusbar"
  362. widget_class "*<GtkComboBoxEntry>*"      style "murrine-comboboxentry"
  363. widget_class "*<GtkCombo>*"          style "murrine-comboboxentry"
  364. widget_class "*<GtkMenu>*"           style "murrine-menu"
  365. widget_class "*<GtkMenuItem>*"         style "murrine-menu-item"
  366. widget_class "*<GtkSeparatorMenuItem>*"    style "murrine-menuitem-separator"
  367. widget_class "*<GtkMenuBar>*"         style "murrine-menubar"
  368. widget_class "*<GtkMenuBar>*<GtkMenuItem>*"  style "murrine-menubar-menuitem"
  369. widget_class "*.<GtkFrame>.<GtkLabel>"     style "murrine-frame-title"
  370. widget_class "*.<GtkTreeView>*"        style "murrine-treeview"
  371. widget_class "*<GtkProgressBar>"        style "murrine-progressbar"
  372. widget_class "*<GtkCheckButton>*"       style:highest "checkbutton"
  373. widget_class "*<GtkRadioButton>*"       style:highest "murrine-radiobutton"
  374. widget_class "*.<GtkTreeView>.<GtkButton>"   style "murrine-treeview-header"
  375. widget_class "*.<GtkCTree>.<GtkButton>"    style "murrine-treeview-header"
  376. widget_class "*.<GtkList>.<GtkButton>"     style "murrine-treeview-header"
  377. widget_class "*.<GtkCList>.<GtkButton>"    style "murrine-treeview-header"
  378. widget "gtk-tooltip*"             style "murrine-tooltips"
  379.  
  380. # XFCE desktop icon text looks weird when murrine textstyle is on.
  381. style "xfdesktop-icon-view" { engine "murrine" { textstyle = 0 }}
  382. widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"
  383.  
  384. # Invisible toolbar separator
  385. style "murrine-toolseparator" {
  386.    xthickness = 0
  387.    ythickness = 0
  388.  
  389.    engine "pixmap" {
  390.        image {
  391.            function    = BOX
  392.            file        = "pixmap/null.png"
  393.            border        = { 2, 2, 2, 2 }
  394.            stretch        = TRUE
  395.            }
  396.     }
  397. }
  398. class "GtkSeparatorToolItem" style "murrine-toolseparator"
  399.  
  400. # Various performance fixes if murrine textstyle is on by default in the theme.
  401. style "performance-fix" {engine "murrine" {textstyle = 0}}
  402. widget_class "*gtkmm__GtkWindow*"    style "performance-fix" # Inkscape
  403. widget_class "*GimpDisplayShell*"    style "performance-fix" # Gimp
  404. widget_class "*GimpToolbox*"        style "performance-fix"
  405. widget_class "*GimpMenuDock*"        style "performance-fix"
  406. widget "*OOoFixed*"                    style "performance-fix" # Openoffice/Libreoffice
  407. widget_class "*MozContainer*"       style "performance-fix" # Firefox (Not sure if this one does anything though.)
  408.  
  409. ### EXTERNAL FILES ###
  410. include "xfce.rc"
  411. include "menubar.rc"
  412. include "chrome.rc"
  413.  
RAW Paste Data