GruvBox

Автор ChubaDuba, 07 августа 2022, 20:34:36

« назад - далее »

0 Пользователи и 2 гостей просматривают эту тему.

ChubaDuba

По случаю переезда с Debian Stretch на Debian Bookwarm решил "перекраситься" с Zenburn на Gruvbox:


~/.urxvtrc
! ------------------------------------
! GruvBox Color Theme
! ------------------------------------

! hard contrast:   *background: #1d2021
! medium contrast: *background: #282828
! soft contrast:   *background: #32302f

*background:    #282828
*foreground:    #ebdbb2

! Black + DarkGrey

*color0:        #282828
*color8:        #928374

! DarkRed + Red

*color1:        #cc241d
*color9:        #fb4934

! DarkGreen + Green

*color2:        #98971a
*color10:       #b8bb26

! DarkYellow + Yellow

*color3:        #d79921
*color11:       #fabd2f

! DarkBlue + Blue

*color4:        #458588
*color12:       #83a598

! DarkMagenta + Magenta

*color5:        #b16286
*color13:       #d3869b

! DarkCyan + Cyan

*color6:        #689d6a
*color14:       #8ec07c

! LightGrey + White

*color7:        #a89984
*color15:       #ebdbb2


[свернуть]
gtkrc
# Based on Industrial Gtk2 engine with GruvBox colors

gtk-color-scheme = "bg_color: #3c3836\nfg_color: #ebdbb2\nbase_color: #282828\ntext_color: #ebdbb2\nselected_bg_color: #5a544b\nselected_fg_color: #ebdbb2\ntooltip_bg_color: #504945\ntooltip_fg_color: #ebdbb2"

style "industrial-default"
{
  xthickness = 1
  ythickness = 1

  GtkWidget::interior_focus         = 1
  GtkButton::default_border         = { 3, 3, 3, 3 }
  GtkButton::default_outside_border = { 3, 3, 3, 3 }
  GtkRange::trough_border           = 0
  GtkWidget::focus_padding          = 1
  GtkPaned::handle_size             = 1
  GtkRange::slider_width            = 15
  GtkRange::stepper_size            = 15
  GtkScrollbar::min_slider_length   = 30
  GtkCheckButton::indicator_size    = 13
  GtkRadioButton::indicator_size    = 13
  GtkMenuBar::internal-padding      = 0
  WnckTasklist::fade-opacity        = 1
  WnckTasklist::fade-overlay-rect   = 0
  WnckTasklist::fade-loop-time      = 2
  GtkButton::child_displacement_x   = 0
  GtkButton::child_displacement_y   = 1
  GtkEntry::progress-border         = { 0, 0, 0, 0 }
  GtkMenuItem::selected_shadow_type = GTK_SHADOW_IN
  GtkRange::activate-slider         = 1

  # The following line hints to gecko (and possibly other appliations) 
  # that the entry should be drawn transparently on the canvas.
  # Without this, gecko will fill in the background of the entry.           
  GtkEntry::honors-transparent-bg-hint = 1


  # color definitions
  bg[NORMAL]          = @bg_color
  bg[PRELIGHT]        = shade (1.1, @bg_color)
  bg[ACTIVE]          = shade (0.85, @bg_color)
  bg[SELECTED]        = mix (0.65, @selected_bg_color, @bg_color)
  bg[INSENSITIVE]     = shade (0.85, @bg_color)
 
  fg[NORMAL]          = @fg_color
  fg[PRELIGHT]        = @fg_color
  fg[ACTIVE]          = @fg_color
  fg[SELECTED]        = @selected_fg_color
  fg[INSENSITIVE]     = mix (0.4, @fg_color, shade (0.85, @bg_color)) #shaded to bg[INSENSITIVE]

  base[NORMAL]        = @base_color
  base[PRELIGHT]     = @base_color #XXX
  base[ACTIVE]        = mix (0.45, @selected_bg_color, @base_color) #b6c9cf
  base[SELECTED]     = @selected_bg_color
  base[INSENSITIVE]   = mix (0.95, @base_color, @text_color)

  text[NORMAL]        = @text_color
  text[PRELIGHT]     = @text_color #XXX
  text[ACTIVE]        = @selected_fg_color
  text[SELECTED]     = @selected_fg_color
  text[INSENSITIVE]   = mix (0.5, @text_color, @base_color)

  engine "industrial"
  {
    # Set a hint to disable backward compatibility fallbacks.
    hint = "use-hints"
  }
}

# Style to apply an exterior forcus to GtkEntry
style "industrial-exterior-focus"
{
   GtkWidget::interior-focus = 0
   GtkWidget::focus-line-width = 0
}

# Add trough side details to GtkScale
style "industrial-scale"
{
   GtkRange::trough-side-details = 1
}

# Style for the entry progress bar -- ie. change the colors
style "industrial-entry"
{
  xthickness = 2
  ythickness = 2

  bg[SELECTED] = mix (0.4, @selected_bg_color, @base_color)
  fg[SELECTED] = @text_color
}

# generic squared buttons style, used for the tasklist (treeview is in the extra treeview style)
style "industrial-squared"
{
  engine "industrial"
  {
    rounded_buttons = FALSE
  }
}

style "industrial-wide"
{
  xthickness = 2
  ythickness = 2
}

# style to remove the border around the progress bar
style "industrial-progress"
{
  xthickness = 0
  ythickness = 0
}

# make scrollbar arrows lighter
style "industrial-arrows"
{
  fg[NORMAL] = mix (0.8, @fg_color, @bg_color)
}

# menuitems
style "industrial-menuitem"
{
  xthickness = 3
  ythickness = 3

  bg[PRELIGHT]  = @selected_bg_color
  bg[SELECTED]  = @selected_bg_color
  fg[PRELIGHT]  = @selected_fg_color
  fg[SELECTED]  = @selected_fg_color
}

style "industrial-menubar"
{
  xthickness = 3
  ythickness = 3
}

style "industrial-tree-header"
{
  engine "industrial"
  {
    hint = "treeview-header"
  }
  xthickness = 2
  ythickness = 2
}

style "industrial-tooltips"
{
  xthickness = 4
  ythickness = 4
  bg[NORMAL] = @tooltip_bg_color
  fg[NORMAL] = @tooltip_fg_color
}

style "industrial-druid"
{
  bg[SELECTED] = @selected_bg_color
}

style "metacity-frame"
{

   # Normal base color
    bg[NORMAL]      = @bg_color

   # Unfocused title background color
   bg[INSENSITIVE]   = @bg_color

   # Unfocused title text color
   fg[INSENSITIVE]   = mix (0.2, @fg_color, @bg_color) # "#808080"

   # Focused icon color
   fg[NORMAL]   = mix (0.8, @fg_color, @bg_color) # same as scrollbar arrow color

   # Focused title background color
   bg[SELECTED]   = @selected_bg_color
   
   # Focused title text color
   fg[SELECTED]   = @selected_fg_color
}

style "industrial-spinbutton"
{
   engine "industrial"
   {
      hint   = "spinbutton"
   }
}

style "industrial-comboboxentry"
{
   engine "industrial"
   {
      hint   = "comboboxentry"
   }
}

# default style
class "GtkWidget" style "industrial-default"

# wide
class "GtkNotebook"   style "industrial-wide"
class "GtkButton"     style "industrial-wide"
class "GtkRange"      style "industrial-wide"
class "GtkMenu"       style "industrial-wide"
class "GtkFrame"      style "industrial-wide"
class "GtkStatusbar"  style "industrial-wide"
class "GtkEntry"      style "industrial-entry"

class "GtkEntry"      style "industrial-exterior-focus"
class "GtkSpinButton" style "industrial-spinbutton"
class "GtkScale"      style "industrial-scale"

class "GtkVScrollbar" style "industrial-arrows"
class "GtkHScrollbar" style "industrial-arrows"

widget_class "*<GtkComboBoxEntry>.*" style "industrial-comboboxentry"
widget_class "*<GtkCombo>.*" style "industrial-comboboxentry"

# treeview
widget_class "*.<GtkTreeView>.GtkButton" style "industrial-tree-header"
widget_class "*.<GtkList>.GtkButton"     style "industrial-tree-header"
widget_class "*.<GtkCList>.GtkButton"    style "industrial-tree-header"
widget_class "*.<ETree>.*"               style "industrial-tree-header"
widget_class "*.<ETable>.*"              style "industrial-tree-header"

# menuitems and interior
widget_class "*<GtkMenuItem>*" style "industrial-menuitem"

widget_class "*.<GtkProgress>"   style "industrial-progress"

# druide
widget_class "*GnomeDruidPage*" style "industrial-druid"

widget "gtk-tooltip*" style "industrial-tooltips"

widget "*.tasklist-button" style "industrial-squared"

class "MetaFrames" style "metacity-frame"


# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
# Note that the work around assumes that the combobox is _not_ in
# appears-as-list mode.
# This style does not affect GtkComboBoxEntry, it does have an effect
# on comboboxes in appears-as-list mode though.
style "industrial-text-is-fg-color-workaround"
{
   text[NORMAL]        = @fg_color
   text[PRELIGHT]      = @fg_color
   text[SELECTED]      = @selected_fg_color
   text[ACTIVE]        = @fg_color
   text[INSENSITIVE]   = darker (@bg_color)
}
widget_class "*.<GtkComboBox>.<GtkCellView>"   style "industrial-text-is-fg-color-workaround"

style "industrial-menuitem-text-is-fg-color-workaround"
{
   text[NORMAL]        = @fg_color
   text[PRELIGHT]      = @selected_fg_color
   text[SELECTED]      = @selected_fg_color
   text[ACTIVE]        = @fg_color
   text[INSENSITIVE]   = darker (@bg_color)
}
widget "*.gtk-combobox-popup-menu.*"   style "industrial-menuitem-text-is-fg-color-workaround"

# Work around the usage of GtkLabel inside GtkListItems to display text.
# This breaks because the label is shown on a background that is based on the
# base color set.
style "industrial-fg-is-text-color-workaround"
{
   fg[NORMAL]      = @text_color
   fg[PRELIGHT]    = @text_color
   fg[ACTIVE]      = @selected_fg_color
   fg[SELECTED]    = @selected_fg_color
   fg[INSENSITIVE] = darker (@bg_color)
}
widget_class "*<GtkListItem>*" style "industrial-fg-is-text-color-workaround"
# The same problem also exists for GtkCList and GtkCTree
# Only match GtkCList and not the parent widgets, because that would also change the headers.
widget_class "*<GtkCList>" style "industrial-fg-is-text-color-workaround"
[свернуть]
GruvBox для Sublime Text 2
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>author</key>
<string>ChubaDuba</string>
<key>name</key>
<string>GruvBox</string>
<key>settings</key>
<array>
<dict>
<key>settings</key>
<dict>
<key>background</key>
<string>#282828</string>
<key>caret</key>
<string>#fb4934</string>
<key>foreground</key>
<string>#ebdbb2</string>
<key>invisibles</key>
<string>#928374</string>
<key>lineHighlight</key>
<string>#3c3836</string>
<key>selection</key>
<string>#504945</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Comment</string>
<key>scope</key>
<string>comment</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>italic</string>
<key>foreground</key>
<string>#a89984</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Directive</string>
<key>scope</key>
<string>keyword.other.directive</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>bold</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Line-number directives</string>
<key>scope</key>
<string>keyword.other.directive.line-number</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>underline</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Characters</string>
<key>scope</key>
<string>constant.character</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#b8bb26</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>String</string>
<key>scope</key>
<string>string</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#b8bb26</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Number</string>
<key>scope</key>
<string>constant.numeric</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#fb4934</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Floating-point numbers</string>
<key>scope</key>
<string>constant.numeric.floating-point</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>underline</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Built-in constant</string>
<key>scope</key>
<string>constant.language</string>
<key>settings</key>
<dict/>
</dict>
<dict>
<key>name</key>
<string>User-defined constant</string>
<key>scope</key>
<string>constant.character, constant.other</string>
<key>settings</key>
<dict/>
</dict>
<dict>
<key>name</key>
<string>Variable</string>
<key>scope</key>
<string>variable.parameter, variable.other</string>
<key>settings</key>
<dict/>
</dict>
<dict>
<key>name</key>
<string>Language Keyword</string>
<key>scope</key>
<string>keyword</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#8ec07c</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Module Keyword</string>
<key>scope</key>
<string>entity.name.module,  support.other.module</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>bold</string>
<key>foreground</key>
<string>#fe8019</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Operators</string>
<key>scope</key>
<string>keyword.operator</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#d3869b</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Floating-point infix operators</string>
<key>scope</key>
<string>source.ocaml keyword.operator.symbol.infix.floating-point</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>underline</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Floating-point prefix operators</string>
<key>scope</key>
<string>source.ocaml keyword.operator.symbol.prefix.floating-point</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>underline</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Storage Types</string>
<key>scope</key>
<string>storage.type</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#83a598</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Variant Types</string>
<key>scope</key>
<string>entity.name.class.variant</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#d79921</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Storage</string>
<key>scope</key>
<string>storage</string>
<key>settings</key>
<dict/>
</dict>
<dict>
<key>name</key>
<string>Type name</string>
<key>scope</key>
<string>entity.name.type</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#98971a</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Inherited class</string>
<key>scope</key>
<string>entity.other.inherited-class</string>
<key>settings</key>
<dict/>
</dict>
<dict>
<key>name</key>
<string>Function name</string>
<key>scope</key>
<string>entity.name.function</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>bold</string>
<key>foreground</key>
<string>#d79921</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Type name</string>
<key>scope</key>
<string>storage.type.user-defined</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#fabd2f</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Class type name</string>
<key>scope</key>
<string>entity.name.type.class.type</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#b162860</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Function argument</string>
<key>scope</key>
<string>variable.parameter</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string></string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Tag name</string>
<key>scope</key>
<string>entity.name.tag</string>
<key>settings</key>
<dict/>
</dict>
<dict>
<key>name</key>
<string>Tag attribute</string>
<key>scope</key>
<string>entity.other.attribute-name</string>
<key>settings</key>
<dict/>
</dict>
<dict>
<key>name</key>
<string>Library function</string>
<key>scope</key>
<string>support.function</string>
<key>settings</key>
<dict/>
</dict>
<dict>
<key>name</key>
<string>Library constant</string>
<key>scope</key>
<string>support.constant</string>
<key>settings</key>
<dict/>
</dict>
<dict>
<key>name</key>
<string>Library class/type</string>
<key>scope</key>
<string>support.type, support.class</string>
<key>settings</key>
<dict/>
</dict>
<dict>
<key>name</key>
<string>Library variable</string>
<key>scope</key>
<string>support.variable</string>
<key>settings</key>
<dict/>
</dict>
<dict>
<key>name</key>
<string>Invalid</string>
<key>scope</key>
<string>invalid</string>
<key>settings</key>
<dict/>
</dict>
</array>
<key>uuid</key>
<string>8D4988B9-ADD8-436F-B388-BC1360F8504B</string>
</dict>
</plist>
[свернуть]
GruvBox для linux.org.ru
@-moz-document domain("linux.org.ru") {
  html, body { color: #bdae93; background-color: #282828 !important; }
 
  .messages .msg, .infoblock, .boxlet, #user-menu, #contents, ul.tab-menu li, #nav-menu, .page-number {
      background-color: #282828 !important;
      border-radius: 4px !important; /* <<< радиус скругления углов*/ }
  #nav-menu ul { border-bottom: 1px solid #fe8019;}
  .code, #content-article pre, #toc { background-color: #3c3836!important; }
 
  a, #hd .menu a { color: #689d6a!important; }
  h1 a, h2 a, td a, .nav a { color: #d5c4a1 !important; }
  #bd a.tag { color: #b8bb26 !important; }
  #bd h2 *{ color: #cc241d; }
 
  #bd .forum table tbody tr:hover {background-color: #32302f !important; }
 
  .group-label { background-color: #504945 !important; }
  .group-label { color: #d5c4a1 !important; }
  pre code {color: #d5c4a1 !important; }
  button, input, select { background-color: #504945 !important; }
  H2  { color: #fe8019 !important; }
  .messages .msg, .infoblock, .boxlet, #user-menu, #contents, ul.tab-menu li, #nav-menu, .page-number  {
       background-color: #32302f!important;
    }
   
  h1  { color: #fe8019 !important; }
  .message-table td { background-color: #32302f !important; }
  #bd .forum table th {
      background-color: #3c3836!important;
      color: #8ec07c !important;
 }

  hr  { color: #cc241d !important; }
 
  blockquote {
    border-left-color: #458588;
    color: #d79921;
}

 form { color: #fabd2f !important; }
   
#bd .btn-default, #bd .nav li a {
    color: #d5c4a1 !important;
    background-color: #458588 !important;
}
 
#bd .btn {
    border-radius: .2em;
    border:6px solid #458588;
}   

  .messages .msg:target { border: 1px solid #504945; }
 
  .stars, #bd .sign a { color: #aaccaa !important; }
 
  #bd .btn-default, #bd .nav li a { color: #d5c4a1 !important; background-color: #458588 !important; }
  #bd .btn-selected { color: #d5c4a1 !important; background-color: #cc241d !important; }
  #bd .nav li a.current { background-color: #32302f !important; }
  #bd .btn-primary { color: #d5c4a1!important; background-color: #434E5F !important; }
  #bd .btn-danger { color: #d5c4a1 !important; background-color: #793030 !important; }
  #bd .btn:hover, #bd .nav li a:hover { box-shadow: 0px 0px 1px 1px #504945; }
 
  * img, .penguin_progress span { opacity: 0.5; }
  * img:hover { opacity: 1; }
  /*photo { opacity: 0.5; }
  photo:hover { opacity: 1; }*/
}

*
{
scrollbar-color: #a8998475 #504945;
}
[свернуть]
Иконки
Firefox
GitHub
Telegram
vim

Aalexeey

Цитата: ChubaDuba от 07 августа 2022, 20:34:36Gruvbox
Scrolling и Paned сепараторы на Industrial похожи, как тёмная Industrial.
https://debianforum.ru/index.php?topic=6879 100% защиты от "Ааааа у меня всё поломалось"

ChubaDuba

Цитата: Aalexeey от 07 августа 2022, 22:38:44Scrolling и Paned сепараторы на Industrial похожи, как тёмная Industria
Да, всё верно. Пока тупо поменял цвета в Industrial.

ChubaDuba

Тема для плеера MOC:
# Gruvbox theme

background              = Default   Default
frame                   = Cyan      Default
window_title            = Yellow    Default Bold
directory               = Blue      Default   
selected_directory      = White     Blue    Bold   
playlist                = white     Default Bold
selected_playlist       = Blue      Default Bold
file                    = White     Default Bold
selected_file           = White     Blue    Bold   
marked_file             = Green     Default Bold   
marked_selected_file    = Green     Blue    Bold
info                    = Black     Default   
status                  = Red       Default
title                   = Green     Default Bold
state                   = White     Default Bold
current_time            = Blue      Default   
time_left               = Cyan      Default Bold
total_time              = Magenta   Default Bold
time_total_frames       = Magenta   Default Bold
sound_parameters        = Red       Default Bold
legend                  = white     Default
disabled                = White     Default   
enabled                 = Yellow    Default   
empty_mixer_bar         = white     Default
filled_mixer_bar        = White     Red     Bold
empty_time_bar          = white     Default
filled_time_bar         = Default   Cyan
entry                   = white     Default
entry_title             = Black     Cyan
error                   = Red       Default Bold
message                 = Green     Default Bold
plist_time              = Magenta   Default   



ogost

moc так и не научился в MPRIS... Жаль, в остальном хороший плеер