Code Monkey home page Code Monkey logo

briles / gruvbox Goto Github PK

View Code? Open in Web Editor NEW
272.0 8.0 8.0 8.52 MB

๐ŸŽจ Sublime Text themes & color schemes with pastel 'retro groove' colors

License: MIT License

JavaScript 54.59% Python 4.67% C 3.58% C# 1.44% CSS 0.52% Go 0.75% HTML 3.01% Java 3.24% PHP 13.43% Ruby 4.71% Rust 0.54% Shell 0.61% CoffeeScript 0.49% TypeScript 1.02% Vue 1.26% Blade 0.51% Pug 0.67% Less 0.67% SCSS 4.28%
sublime-text syntax-theme gruvbox gruvbox-color-scheme sublime-text-3 package-control color-scheme dark-theme light-theme theme adaptive

gruvbox's Introduction

GitHub Tag Package Control Build Status

gruvbox for Sublime Text

Based on gruvbox for Vim

Screenshot Dark Screenshot Light

Contrast options

Screenshot Contrast Options

Installation

Package Control

The easiest way to install is using Package Control

  1. Open Command Palette using menu item Tools -> Command Palette... (โ‡งโŒ˜P on Mac) (ctrlshiftP on Windows)
  2. Choose Package Control: Install Package
  3. Find gruvbox and hit Enter
  4. Activate the theme by adding the code below to Preferences > Setting - User:
  5. Restart Sublime Text
Manual

You can also install the theme manually:

  1. Download the .zip
  2. Unzip and rename the folder to gruvbox
  3. Copy the folder into Packages directory, which you can find using the menu item Sublime Text -> Preferences -> Browse Packages...
  4. Activate the theme by adding the code below to Preferences > Setting - User:
  5. Restart Sublime Text

How to Activate

Activate the UI theme and color scheme by modifying your user preferences file, which you can find using the menu item Sublime Text -> Preferences -> Settings - User (โŒ˜, on Mac).

Note: Don't forget to restart Sublime Text after activating the theme.

// gruvbox Dark Hard Contrast
{
  "theme": "gruvbox.sublime-theme",
  "color_scheme": "Packages/gruvbox/gruvbox (Dark) (Hard).sublime-color-scheme",
}
// gruvbox Dark Medium Contrast
{
  "theme": "gruvbox.sublime-theme",
  "color_scheme": "Packages/gruvbox/gruvbox (Dark) (Medium).sublime-color-scheme",
}
// gruvbox Dark Soft Contrast
{
  "theme": "gruvbox.sublime-theme",
  "color_scheme": "Packages/gruvbox/gruvbox (Dark) (Soft).sublime-color-scheme",
}
// gruvbox Light Hard Contrast
{
  "theme": "gruvbox.sublime-theme",
  "color_scheme": "Packages/gruvbox/gruvbox (Light) (Hard).sublime-color-scheme",
}
// gruvbox Light Medium Contrast
{
  "theme": "gruvbox.sublime-theme",
  "color_scheme": "Packages/gruvbox/gruvbox (Light) (Medium).sublime-color-scheme",
}
// gruvbox Light Soft Contrast
{
  "theme": "gruvbox.sublime-theme",
  "color_scheme": "Packages/gruvbox/gruvbox (Light) (Soft).sublime-color-scheme",
}

Color Scheme Variations

gruvbox comes with color scheme variations which have different brightness, saturation, or colors than their parent color schemes while still maintaining that excellent gruvbox tone.

No Dimmed Colors

A variant without out any neutral / dimmed colors

"color_scheme": "Packages/gruvbox/gruvbox (Dark) (Hard) NDC.sublime-color-scheme",
"color_scheme": "Packages/gruvbox/gruvbox (Dark) (Medium) NDC.sublime-color-scheme",
"color_scheme": "Packages/gruvbox/gruvbox (Dark) (Soft) NDC.sublime-color-scheme",
"color_scheme": "Packages/gruvbox/gruvbox (Light) (Hard) NDC.sublime-color-scheme",
"color_scheme": "Packages/gruvbox/gruvbox (Light) (Medium) NDC.sublime-color-scheme",
"color_scheme": "Packages/gruvbox/gruvbox (Light) (Soft) NDC.sublime-color-scheme",

Configuration

Accent Colors

Accent Colors

Accent colors affect icons and certain text.

  "gruvbox_accent_aqua": true,    // uses the cyanish color from the color scheme
  "gruvbox_accent_blue": true,    // uses the bluish color from the color scheme
  "gruvbox_accent_green": true,   // uses the greenish color from the color scheme
  "gruvbox_accent_orange": true,  // uses the orangish color from the color scheme
  "gruvbox_accent_purple": true,  // uses the purplish color from the color scheme
  "gruvbox_accent_red": true,     // uses the redish color from the color scheme
  "gruvbox_accent_yellow": true,  // uses the yellowish color from the color scheme
  "gruvbox_accent_pink": true,    // uses the pinkish color from the color scheme
AutoComplete Spacing

Change the space between autocomplete rows

  // sizes are top/bottom in px
  "gruvbox_autocomplete_cramped": true,      //  v  2
  "gruvbox_autocomplete_compact": true,      //  |  4
                                             //  |  6 (Default)
  "gruvbox_autocomplete_comfortable": true,  //  |  8
  "gruvbox_autocomplete_cozy": true,         //  v  10
AutoComplete Border

Add a border around the autocomplete popup

  "gruvbox_autocomplete_border": true,
  "gruvbox_autocomplete_border_thick": true,
Sideline Selected AutoComplete Row

Add a border to the left of the selected autocomplete row

All thicknesses require gruvbox_sideline_autocomplete_row to be true.

  "gruvbox_sideline_autocomplete_row": true,           //  v  1 (Default)
  "gruvbox_sideline_autocomplete_row_thick": true,     //  |  2
  "gruvbox_sideline_autocomplete_row_thickest": true,  //  v  3
Disable Selected AutoComplete Row Highlight

Remove the highlight from the selected autocomplete row.

  "gruvbox_disable_autocomplete_row_highlight": true,
Sidebar Spacing

Change the space between sidebar tree rows

  // sizes are top/bottom in px
  "gruvbox_sidebar_cozy": true,         //  v  1
  "gruvbox_sidebar_comfortable": true,  //  |  3
                                        //  |  5 (Default)
  "gruvbox_sidebar_compact": true,      //  |  7
  "gruvbox_sidebar_cramped": true,      //  v  9
Sidebar Indent

Change the indent of sidebar tree rows

  "gruvbox_sidebar_indent_xxs": true,  //  v  4
  "gruvbox_sidebar_indent_xs": true,   //  |  8
  "gruvbox_sidebar_indent_s": true,    //  |  12
                                       //  |  16 (Default)
  "gruvbox_sidebar_indent_l": true,    //  |  20
  "gruvbox_sidebar_indent_xl": true,   //  |  24
  "gruvbox_sidebar_indent_xxl": true,  //  v  28
Sidebar Font Sizes

Change the font size of the sidebar labels

Increasing the font size will distort the icons in the sidebar.

  "gruvbox_sidebar_font_size_10": true,  //  v  10
                                         //  |  11 (Default)
  "gruvbox_sidebar_font_size_12": true,  //  |  12
  "gruvbox_sidebar_font_size_13": true,  //  |  13
  "gruvbox_sidebar_font_size_14": true,  //  |  14
  "gruvbox_sidebar_font_size_15": true,  //  |  15
  "gruvbox_sidebar_font_size_16": true,  //  v  16
Bold Sidebar Labels

Toggle bold fonts for sidebar labels

  "gruvbox_sidebar_heading_bold": true,
  "gruvbox_sidebar_label_bold": true,
Command Palette Spacing

Change the space between command palette rows

  // sizes are top/bottom in px
  "gruvbox_command_palette_cozy": true,         //  v  16
  "gruvbox_command_palette_comfortable": true,  //  |  14
                                                //  |  12 (Default)
  "gruvbox_command_palette_compact": true,      //  |  8
  "gruvbox_command_palette_cramped": true,      //  v  4
Sideline Selected Command Palette Row

Add a border to the left of the selected Command Palette row

All thicknesses require gruvbox_sideline_command_palette_row to be true.

  "gruvbox_sideline_command_palette_row": true,           //  v  1 (Default)
  "gruvbox_sideline_command_palette_row_thick": true,     //  |  2
  "gruvbox_sideline_command_palette_row_thickest": true,  //  v  3
Disable Selected Command Palette Row Highlight

Remove the highlight from the selected Command Palette row.

  "gruvbox_disable_command_palette_row_highlight": true,
Statusbar Sizes

Change the height of the statusbar

  // sizes are in px
  "gruvbox_statusbar_xxs": true,  //  v  20
  "gruvbox_statusbar_xs": true,   //  |  25
  "gruvbox_statusbar_s": true,    //  |  30
                                  //  |  35 (Default)
  "gruvbox_statusbar_l": true,    //  |  40
  "gruvbox_statusbar_xl": true,   //  |  45
  "gruvbox_statusbar_xxl": true,  //  v  50
Statusbar Button Widths

Change the minimum width of the buttons in the statusbar

  // sizes are in px
  "gruvbox_statusbar_button_xxs": true,  //  v  44
  "gruvbox_statusbar_button_xs": true,   //  |  55
  "gruvbox_statusbar_button_s": true,    //  |  65
                                         //  |  75 (Default)
  "gruvbox_statusbar_button_l": true,    //  |  85
  "gruvbox_statusbar_button_xl": true,   //  |  95
  "gruvbox_statusbar_button_xxl": true,  //  v  105
Statusbar Font Sizes

Change the font size of the status bar labels

  "gruvbox_statusbar_font_size_10": true,  //  v  10
                                           //  |  11 (Default)
  "gruvbox_statusbar_font_size_12": true,  //  |  12
  "gruvbox_statusbar_font_size_13": true,  //  |  13
  "gruvbox_statusbar_font_size_14": true,  //  |  14
  "gruvbox_statusbar_font_size_15": true,  //  |  15
  "gruvbox_statusbar_font_size_16": true,  //  v  16
Tab Sizes

Change the height of the tabs

  // sizes are in px
  "gruvbox_tabs_xxs": true,  //  v  33
  "gruvbox_tabs_xs": true,   //  |  39
  "gruvbox_tabs_s": true,    //  |  45
                             //  |  51 (Default)
  "gruvbox_tabs_l": true,    //  |  57
  "gruvbox_tabs_xl": true,   //  |  63
  "gruvbox_tabs_xxl": true,  //  v  69
Tab Font Sizes

Change the font size of the tabs

  "gruvbox_tabs_font_size_7": true,   //  v  7
  "gruvbox_tabs_font_size_8": true,   //  |  8
  "gruvbox_tabs_font_size_9": true,   //  |  9
  "gruvbox_tabs_font_size_10": true,  //  |  10
                                      //  |  11 (Default)
  "gruvbox_tabs_font_size_12": true,  //  |  12
  "gruvbox_tabs_font_size_13": true,  //  |  13
  "gruvbox_tabs_font_size_14": true,  //  |  14
  "gruvbox_tabs_font_size_15": true,  //  v  15
Autocollapsing Tab Bar

Autocollapse the tabs when not in use

  "gruvbox_autocollapse_tabs": true,            // enable the autocollapsing tabs

  // Set the height of the trigger area which shows the tabs
  "gruvbox_autocollapse_tabs_trigger_2": true,  //  v  2
  "gruvbox_autocollapse_tabs_trigger_3": true,  //  |  3
                                                //  |  4 (Default)
  "gruvbox_autocollapse_tabs_trigger_5": true,  //  |  5
  "gruvbox_autocollapse_tabs_trigger_6": true,  //  v  6
Underline Modified Tabs

Underline modified tabs with the current accent color

All thicknesses require gruvbox_underline_modified_tabs to be true.

  "gruvbox_underline_modified_tabs": true,        //  |  1 (Default)
  "gruvbox_underline_modified_tabs_thick": true,  //  v  2
Underline Active Tab

Underline the active tab with the current accent color

All thicknesses require gruvbox_underline_active_tab to be true.

  "gruvbox_underline_active_tab": true,          //  |  1 (Default)
  "gruvbox_underline_active_tab_thick": true,    //  |  2
  "gruvbox_underline_active_tab_thicker": true,  //  v  3
Find, Replace, and Console Sizes

Adjust the top & bottom margins of the Find, Replace, and Console panels

  "gruvbox_panel_xxs": true,  //  v  2
  "gruvbox_panel_xs": true,   //  |  4
  "gruvbox_panel_s": true,    //  |  8
                              //  |  11 (Default)
  "gruvbox_panel_l": true,    //  |  13
  "gruvbox_panel_xl": true,   //  |  15
  "gruvbox_panel_xxl": true,  //  v  17
Scrollbar Widths

Adjust the width of the scrollbars

  // sizes are total width in px
  "gruvbox_scrollbar_width_xs": true,  //  v  12
  "gruvbox_scrollbar_width_s": true,   //  |  14
                                       //  |  16 (Default)
  "gruvbox_scrollbar_width_l": true,   //  |  18
  "gruvbox_scrollbar_width_xl": true,  //  v  20
Button Font Sizes

Adjust the font size of the buttons

  "gruvbox_buttons_font_size_10": true,  //  v  10
                                         //  |  11 (Default)
  "gruvbox_buttons_font_size_12": true,  //  |  12
  "gruvbox_buttons_font_size_13": true,  //  |  13
  "gruvbox_buttons_font_size_14": true,  //  |  14
  "gruvbox_buttons_font_size_15": true,  //  |  15
  "gruvbox_buttons_font_size_16": true,  //  v  16
Disable/Enable Borders
  "gruvbox_disable_borders": true,                     // Disable all borders
  "gruvbox_enable_pane_borders": true,                 // Enable borders between panes
  "gruvbox_enable_sidebar_border": true,               // Enable the sidebar border
  "gruvbox_enable_statusbar_border": true,             // Enable borders for the status bar
  "gruvbox_enable_tab_borders": true,                  // Enable borders for the tabs
  "gruvbox_disable_command_palette_row_border": true,  // Disable Command Palette row borders

Alternate Folder Icons

Larger Default Folder Icons

Use larger default folder icons in the sidebar

"gruvbox_folder_icons_large": true,
Square Folder Icons

Square Folder Icons

Use square folder icons in the sidebar

"gruvbox_folder_icons_square": true,
Circle Folder Icons

Circle Folder Icons

Use 'circle' folder icons in the sidebar

"gruvbox_folder_icons_circle": true,
Plus/Minus Folder Icons

Plus Minus Folder Icons

Use 'plus/minus' folder icons in the sidebar

"gruvbox_folder_icons_plus_minus": true,
Spacegray Folder Icons

Use spacegray-like folder icons in the sidebar

"gruvbox_folder_icons_spacegray": true,

Alternate Icon Sets

Midstroke

Midstroke Icon Set

Use icons with a 1.5x thicker stroke

"gruvbox_iconset_midstroke": true,
Thick

Thick Icon Set

Use icons with a 2x thicker stroke

"gruvbox_iconset_thick": true,
Spacegray

Spacegray Icon Set

Use spacegray-like icons

"gruvbox_iconset_spacegray": true,

PlainTasks Support

PlainTasks Support

To use the color scheme with the Plainโ€‹Tasks plugin, add the color scheme path to the "color_scheme" key in Preferences > Package Settings > PlainTasks > Settings - User like so:

// PlainTasks.sublime-settings

{
  "color_scheme": "Packages/gruvbox/gruvbox (Dark) (Medium).sublime-color-scheme",
}

Even More Settings...

Even More Settings...
  "gruvbox_animate_icons": true,              // Enable icon animations
  "gruvbox_buttons_bold": true,               // Enable bold button labels
  "gruvbox_colored_tooltips": true,           // Color the tooltip backgrounds with the current accent color
  "gruvbox_disable_faded_file_icons": true,   // Make file-type icons opaque
  "gruvbox_disable_file_icons": true,         // Disable the sidebar file icons
  "gruvbox_disable_folder_icons": true,       // Disable the sidebar folder icons
  "gruvbox_disable_greyscale": true,          // Use gruvbox colors instead of greyscale colors for certain text
  "gruvbox_disable_panels_button": true,      // Hide the panel-switching button
  "gruvbox_enable_panel_close_button": true,  // Enable the panel close button
  "gruvbox_highlight_active_buttons": true,   // Highlight selected buttons in the Find & Replace panel
  "gruvbox_highlight_active_tree_row": true,  // Highlight the active file in the sidebar tree
  "gruvbox_less_contrast": true,              // Use less contrasting colors in sidebar, tabs, etc.
  "gruvbox_statusbar_bold": true,             // Enable bold status bar labels
  "gruvbox_tabs_autowidth": true,             // Auto-size the tabs
  "gruvbox_tabs_bold": true,                  // Enable bold tabs

Extras

All extras can be found in the extras sub-directory of the package.

App Icons

App icons in PNG, ICO, & ICNS format are located in extras/app-icons/.

SublimeLinter Gutter Theme

Activation
  1. Add the gruvbox directory from extras/sublimelinter gutter-themes/ to Sublime Text/Data/Packages/SublimeLinter/gutter-themes/
  2. Set gruvbox as the gutter theme by choosing SublimeLinter: Choose Gutter Theme from the command palette and selecting gruvbox or by changing "gutter_theme" to "Packages/SublimeLinter/gutter-themes/gruvbox/gruvbox.gutter-theme" in SublimeLinter.sublime-settings
  3. Restart Sublime Text

Bracket Highlighter Icons

Activation

Bracket Highlighter Icons

  1. Move all images in extras/BracketHighlighter/icons/ to Sublime Text/Data/Packages/BracketHighlighter/icons/
  2. Restart Sublime Text

Code Fold Icon

Activation

Code Fold Icons

  1. Rename any *_fold.png in extras to fold.png
  2. Add the newly renamed fold.png icon to Sublime Text/Data/Packages/Theme - Default/
  3. Restart Sublime Text

Bookmark Icon

Activation

Bookmark Icons

  1. Rename any *_bookmark_*.png in extras to bookmark.png
  2. Add the newly renamed bookmark.png icon to Sublime Text/Data/Packages/Theme - Default/
  3. Restart Sublime Text

Palette

Dark mode

Palette Dark

Light mode

Palette Light


License

MIT

Contributing

Contributions are always welcome. Before contributing please read CONTRIBUTING.md.

For Other Editors

Thanks

Thanks to:

gruvbox's People

Contributors

akshaythakare7 avatar briles avatar dependabot[bot] avatar jrappen avatar romulof avatar wlcx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gruvbox's Issues

Sidebar highlight background color

Sidebar selection is hard to see

When navigating the sidebar I find it hard to see the selected file:

image

It would be great if highlight text and background could be configured so the selection stands out more.

Environment

gruvbox:

    version: 2.4.0
    installed via Package Control: True

Sublime Text:

    channel: stable
    version: 3126
    platform: linux
    architecture: x64

Gauging Interest for Icon Animations

The purpose of this issue is to gauge interest in having animated icons added to the themes.

I'm not a designer or artist and Sublime Text is limited in its animation capabilities so the animations would be simple.

As an example, here is a possible animation for the tab close icon:
Tab Close Animation

or even folder icons:
Folder Animation

or even Find & Replace icons:
In Selection Animation

All animations would be enabled by a User Preferences option.

Please express your reactions here and if enough interest is shown, I will begin work on animated icons and log my progress here.

Thanks!

Option to make folder labels in the sidebar bold?

Would it be possible to get bold labels in the sidebar? I've tweaked indentation and spacing and indentation does offer a good view on hierarchy, but bold would help me a lot more on projects with a lot of components.

Great work on the theme!

PlainTask's View as HTML does not work with Gruvbox

GruvBox can be used with PlainTasks plugin but I just noticed that PlainTasks' View as HTML feature does not work when Gruvbox is selected. Not sure if I should report it here or PlainTasks' repo.

    html  = self.produce_html_from_template(title, html_doc)
  File "/Users/milad/Library/Application Support/Sublime Text 3/Packages/PlainTasks/PlainTasksToHTML.py", line 276, in produce_html_from_template
    css = '\n'.join(convert_tmtheme_to_css(tmtheme))
  File "/Users/milad/Library/Application Support/Sublime Text 3/Packages/PlainTasks/PlainTasksToHTML.py", line 98, in convert_tmtheme_to_css
    theme_as_dict = parse_file(theme_file)
  File "/Users/milad/Library/Application Support/Sublime Text 3/Packages/PlainTasks/plist_parser.py", line 309, in parse_file
    with open(file_path) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/milad/Library/Application Support/Sublime Text 3/Packages/gruvbox/gruvbox (Dark) (Medium).tmTheme'

Always display "Open Files" sidebar close icon "x"

Environment

gruvbox:

    version: 4.0.1
    installed via Package Control: True

Sublime Text:

    channel: stable
    version: 4.x LAST
    platform: linux
    architecture: x64

hello, awesome theme and it's the best menu theme out there, I checked and edited EVERY setting !!!

how can I always show the "x" next to an unmodified file in "Open Files" sidebar, like in the adaptive mode??

@Briles

Custom app icon?

You've done a tremendously great job with this, @Briles. Given the excellent iconography throughout the project, I'd love to see an app icon to match.

Error when selecting a new theme

Error occurs when selecting a new theme

  • This is the first step.
    1. Run gruvbox: select theme
    2. Error pops up

st3

Environment

gruvbox:

    version: latest
    installed via Package Control: True

Sublime Text:

    channel: dev
    version: 3206
    platform: windows
    architecture: x64

Errors after the latest update: "Error loading colour scheme"

Hi all,
Sometime yesterday gruvbox package was updated and immediately ST3 theme stopped working for me. Every time I start ST3, I get this error message:

Error loading colour scheme Packages/gruvbox/gruvbox (Dark) (Medium).sublime-color-scheme: Error parsing plist xml: expected < in file Packages/gruvbox/gruvbox (Dark) (Medium).sublime-color-scheme on line: 1

And the theme doesn't work.

Is there anything I can do other than picking another theme? Thanks!

Environment

gruvbox:

    version: latest
    installed via Package Control: True

Sublime Text:

    channel: dev
    version: 3144
    platform: Linux
    architecture: x64

Styling on Plain Tasks

This Overwrites all plaintask color_scheme settings. I have tried to change it to something different, but it just goes back to some default layout of Sublime, not even Plain Tasks.

gruvbox:
version: 4.0.1
installed via Package Control: True

Sublime Text:
channel: stable
version: 3.2.1
Build: 3207
platform: mac

For other ed

Hi
Maybe possible to 'port' theme to CudaText?

ST4 Quick Panel Detail Label Color

I know this is a theme designed for ST3, and for the most part things still look great in ST4. One style that really stood out to me as jarring was the quick_panel_detail_label which had no style and defaulted to #00f which terrible on a dark background. As a workaround for now, I copied the gruvbox.sublime-theme file from the package into my Packages/User directory and added the following under rules. I'm sure there is a better solution using variables for a final fix this gets updated to ST4.

    {
      "class": "quick_panel_detail_label",
      "link_color": "#333333"
    },

Before:
2022-04-03 - ST4 Before

After:
2022-04-03 - ST4 After

[Bugfix Request] Parentheses Glitch

Weird Parentheses Behavior in C Expressions

I've recently installed the package, and so far it's been great to use it, but I've just run into a glitch regarding parentheses highlighting for simple C expressions, which surprised me quite a lot.

They both appear equally white when no space is added between the keyword and the first parentheses:

- if()
- while()
- for()
- do()
- catch()

Adding spaces or tabs, however, will break rendering, causing the first one to show up darker for some reason.

- if ()
- while ()
- for ()
- do ()
- catch ()

Here's a screenshot I took to illustrate the bug - It persists regardless of the gruvbox color theme I choose:

error

Thought I might as well notify it, any help is appreciated.

Remove adding UUIDs to schemes as ST ignores them

package.json

@@ -22,8 +22,7 @@
     "mocha": "^3.0.1",
     "plist": "^1.2.0",
     "run-sequence": "^1.2.2",
-    "tinycolor2": "^1.4.1",
-    "uuid": "^2.0.2"
+    "tinycolor2": "^1.4.1"
   },
   "scripts": {
     "style": "npm run style:main",

src/scheme.js

@@ -1,8 +1,6 @@
 module.exports = function (values) {
   'use strict';

-  const uuid = require('uuid');
-
   const c = values.colors;
   const info = values.info;

@@ -1525,6 +1523,5 @@ module.exports = function (values) {
       },

     ],
-    uuid: uuid.v4(),
   };
 };

Feature request: include markup.warning and markup.error for Sublime Linter

A summary of the issue

SublimeLinter uses markup.warning and markup.error to highlight linter results. These are not defined in this theme.

Environment

gruvbox:

    version: 4.0.1
    installed via Package Control: True

Sublime Text:

    channel: stable
    version: 3207
    platform: darwin
    architecture: x64

Proposal

I use the following for Dark Hard which looks good. Perhaps it can be used as an inspiration:

	"rules": [
		{
			"name": "Markup for warnings",
			"scope": "markup.warning",
			"background": "color(var(yellow) lightness(- 30%))",
		},
		{
			"name": "Markup for errors",
			"scope": "markup.error",
			"background": "color(var(red) lightness(- 30%))",
		},
	],

Modified tabs do not appear to be working

Version: 2.0.0

Settings:

"gruvbox_accent_orange": true,
"gruvbox_colored_tooltips": true,
"gruvbox_enable_tab_borders": true,
"gruvbox_underline_modified_tabs": true,
// I have tried with one / both of these. No luck.
"gruvbox_underline_modified_tabs_thick": true,
"gruvbox_sidebar_comfortable": true,

Screenshot:

screen shot 2016-04-07 at 9 38 43 am

Please let me know if you'd like anymore information.

Added some rules to Atom version

I'm not sure you're aware, but I have ported your excellent theme to Atom a while back. I just rolled your latest additions into the Atom version, and while using it I noticed a few scss rules that I felt were missing, so I added the following, trying to keep the look similar to the theme:

.meta.at-rule.mixin.scss .entity.name.function.scss {
  color: #fe8019;
}

.meta.at-rule.mixin.scss .keyword.control.at-rule.mixin.scss {
  color: #fb4934;
}
.keyword.control.at-rule.mixin.scss .punctuation.definition.keyword.scss {
  color: #cc421d;
}

.meta.at-rule.else.scss .keyword.control.else.scss, .meta.at-rule.if.scss .keyword.control.if.scss {
  color:#fabd2f;
}
.keyword.control.else.scss .punctuation.definition.keyword.scss, .keyword.control.if.scss .punctuation.definition.keyword.scss {
  color: #d79921;
}

.meta.at-rule.return.scss .keyword.control.return.scss {
  color: #fe8019;
}
.keyword.control.return.scss .punctuation.definition.keyword.scss {
  color: #d65d0e;
}

.meta.at-rule.media.scss .keyword.control.at-rule.media.scss {
  color: #689d6a;
}
.keyword.control.at-rule.media.scss .punctuation.definition.keyword.scss {
  color: #8ec07c;
}
.meta.content.scss .keyword.control.content.scss {
  color: #d5c4a1;
  font-style: italic;
}

Should these items be colored differently, in your opinion?

Selection in dark colour schemes are hard to find

Selection in dark colour schemes are hard to find

Please consider changing the colour.

gruvbox (dark) (hard):
1

gruvbox (dark) (medium):
2

gruvbox (dark) (soft):
3

Environment

gruvbox:

* version: 4.0.1
* installed via Package Control: True

Sublime Text:

* channel: stable
* version: 3207
* platform: linux
* architecture: x64

Dependency versions:

* mdpopups: Version could not be acquired!
* markdown: 2.6.11
* pygments: 2.1a0
* jinja2: 2.8

Gruvbox themes are not persistent

Gruvbox' theme is not selected after reopening ST.

A summary of the issue

This started happening with the latest update I believe. First, I opened ST and noticed that gruvbox was not being used (I use a dark theme and ST was white for some reason). I activated/selected a gruvbox' theme again, but after closing and re-opening ST, gruvbox is not persistent, that is, it goes back to a white theme.

Environment

gruvbox:

    version: 4.0.0
    installed via Package Control: True

Sublime Text:

    channel: stable
    version: 3207
    platform: Linux
    architecture: x64

EDIT: I selected the dark (hard) theme and now, when selecting another theme (dark medium, for example), when re-opening ST, the theme is always the dark (hard) one.

Hover hides minimap

When hovering over the minimap it hides or covers. See the screenshots. One when I hover and one when not. It would be nice if it was maybe transparent or there was a setting for that.

screen shot 2016-03-22 at 2 00 01 pm

screen shot 2016-03-22 at 2 00 07 pm

Borders between panes.

I know there are already some border options, but I don't see a way to add a border between panes?

It's not super annoying, but the panes do feel a bit blended.

Phantom errors by LaTeXTools are disproportionately big

I'm not sure if this is caused by LaTeXTools specifically or applies to any phantom errors but with gruvbox colour scheme they're just too big compared to other themes. See attachments:

screen shot 2018-07-30 at 10 47 28

screen shot 2018-07-30 at 10 48 01

Environment

gruvbox:

    version: 2.4.0
    installed via Package Control: True

Sublime Text:

    channel: stable
    version: 3175
    platform: macOS
    architecture: x64

White space in selection almost invisible

Short and descriptive example bug report title

A summary of the issue

Drawn white space in selections with "draw_white_space": "selection" has a color that is too similar and practically invisible when using the Gruvbox Dark Hard color scheme:

Screen Shot 2019-04-15 at 16 44 40

Environment

gruvbox:

    version: 3.0.3
    installed via Package Control: True

Sublime Text:

    channel: stable
    version: 3206
    platform: macOS
    architecture: x64

Error on installation

Error on installation:

Package Control: Unable to download markupsafe. Please view the console for more details.

In the console:

Package Control: The dependency 'markupsafe' could not be installed or updated

Tested with old and new ST's profiles. ST version: 3.1.1, build 3176. Windows 7.

Problems with accented letters coloring in LaTeX

Dear Brian,

First of all, congratulations for your work. This theme is terrific!

About the color scheme to LaTeX, I think there is something weird with the accented letters, take a look at the screenshot.

captura de tela 2016-10-01 as 03 48 06

Also, I'd like to suggest you to change the paragraph text color of LaTex from the actual #83A598 (I used SIP to get it in the CSS Hex, but I think is actually something near this tone) to a pastel like #FBF1C7.

Thank you again.

Best regards,

Gustavo Bittencourt

Selected Tab Indictator

I LOVE this theme/scheme. You wouldn't believe how I tried before settling on this one...

There is one nagging issue. It's subjective. I'd like the the currently selected tab to be more obvious. An option to enable this:
selected-tab

Bracket Highlighter colors?

It would be nice if the bracket highlighter underlines (see image, under the span tags) were in a brighter Gruvbox color. like the accent color. Or am I missing something?

screen shot 2016-04-04 at 3 06 20 pm

Possibility to adjust indentation size in sidebar

Excellent work with the theme!
I love the multitude of configuration options with this theme. However, there is one thing that I am missing and that is a way to customize the size of the file/folder indentation in the sidebar. I find it a bit too wide for my taste and would like to be able to shorten it significantly.
Ex. from this:
image
to this:
image

Minimap inconsistent between light and dark themes

Comparing Light and Dark themes, I noticed the minimap shows inconsistent behaviour. I suggest the following changes:

--- ./src/components/minimap.js
+++ ./src/components/minimap.js
@@ -10,8 +10,8 @@
       class: 'minimap_control',
       settings: ['always_show_minimap_viewport'],

-      viewport_color: c.background,
-      viewport_opacity: 0.5,
+      viewport_color: c.foreground,
+      viewport_opacity: 0.25,
     },

     {
@@ -27,7 +27,8 @@
       settings: ['!always_show_minimap_viewport'],
       attributes: ['hover'],

-      viewport_opacity: 0.5,
+      viewport_color: c.foreground,
+      viewport_opacity: 0.25,
     },

   ];

Whatever works for you...

Find/Replace Looks Wonky

The input boxes have always not really fit the contents very well. I'm not sure if this is a configuration issue or not.

My Gruvbox config:

"gruvbox_accent_aqua": true,
"gruvbox_autocomplete_border": false,
"gruvbox_autocomplete_compact": true,
"gruvbox_command_palette_compact": true,
"gruvbox_disable_borders": true,
"gruvbox_enable_panel_close_button": true,
"gruvbox_highlight_active_tree_row": true,
"gruvbox_panel_xs": true,
"gruvbox_scrollbar_width_xs": true,
"gruvbox_sidebar_compact": true,
"gruvbox_statusbar_button_xxs": true,
"gruvbox_statusbar_xxs": true,
"gruvbox_tabs_autowidth": true,
"gruvbox_tabs_font_size_11": true,
"gruvbox_tabs_xxs": true,
"gruvbox_underline_modified_tabs": true,

My entire config:

{
    "added_words":
    [
        "programatically"
    ],
    "always_show_minimap_viewport": false,
    "ancestor_gutter": true,
    "auto_complete_commit_on_tab": true,
    "auto_complete_selector": "source -comment",
    "binary_file_patterns":
    [
        ".svn",
        ".git",
        ".hg",
        "CVS",
        "cache",
        "node_modules",
        "bower_components",
        ".sass-cache",
        "*.min.*",
        "*.min.*",
        "*.min.*",
        "*.min.*"
    ],
    "bold_folder_labels": true,
    "centurion_color_orange": true,
    "color_scheme": "Packages/gruvbox/gruvbox (Dark) (Hard) NDC.tmTheme",
    "copy_with_empty_selection": true,
    "draw_indent_guides": true,
    "draw_white_space": "all",
    "el_capitan_sidebar_blue_folders": true,
    "ensure_newline_at_eof_on_save": true,
    "file_exclude_patterns":
    [
        "*.min.*"
    ],
    "find_selected_text": true,
    "folder_exclude_patterns":
    [
        ".svn",
        ".git",
        ".hg",
        "CVS",
        "cache",
        "node_modules",
        "bower_components",
        ".sass-cache",
        "*.min.*",
        "*.map*"
    ],
    "font_face": "Menlo",
    "font_options":
    [
        "subpixel_antialias"
    ],
    "font_size": 12,
    "gruvbox_accent_aqua": true,
    "gruvbox_autocomplete_border": false,
    "gruvbox_autocomplete_compact": true,
    "gruvbox_command_palette_compact": true,
    "gruvbox_disable_borders": true,
    "gruvbox_enable_panel_close_button": true,
    "gruvbox_highlight_active_tree_row": true,
    "gruvbox_panel_xs": true,
    "gruvbox_scrollbar_width_xs": true,
    "gruvbox_sidebar_compact": true,
    "gruvbox_statusbar_button_xxs": true,
    "gruvbox_statusbar_xxs": true,
    "gruvbox_tabs_autowidth": true,
    "gruvbox_tabs_font_size_11": true,
    "gruvbox_tabs_xxs": true,
    "gruvbox_underline_modified_tabs": true,
    "highlight_line": true,
    "highlight_modified_tabs": true,
    "hot_exit": true,
    "ignored_packages":
    [
        "Markdown",
        "Vintage"
    ],
    "indent_guide_options":
    [
        "draw_normal",
        "draw_active"
    ],
    "index_exclude_patterns":
    [
        ".svn",
        ".git",
        ".hg",
        "CVS",
        "cache",
        "node_modules",
        "bower_components",
        ".sass-cache",
        "*.min.*",
        "*.map*"
    ],
    "line_padding_bottom": 0.2,
    "line_padding_top": 0.2,
    "live_matching": true,
    "matching_scope": "invalid",
    "material_theme_compact_panel": true,
    "material_theme_compact_sidebar": true,
    "material_theme_contrast_mode": true,
    "material_theme_panel_separator": true,
    "material_theme_small_statusbar": true,
    "material_theme_small_tab": true,
    "open_files_in_new_window": true,
    "ours_gutter": true,
    "overlay_scroll_bars": "enabled",
    "remember_full_screen": true,
    "rulers":
    [
        80
    ],
    "scroll_past_end": true,
    "shift_tab_unindent": true,
    "show_line_endings": true,
    "show_minimap": false,
    "show_only_filename": true,
    "sidebar_font_small": true,
    "soda_classic_tabs": false,
    "spell_check": true,
    "tab_size": 2,
    "theirs_gutter": true,
    "theme": "gruvbox (Dark) (Hard).sublime-theme",
    "theme_primer_tabs_font_small": true,
    "trim_trailing_white_space_on_save": true,
    "use_simple_full_screen": true,
    "vintage_lines.force_mode": true,
    "vintage_start_in_command_mode": true,
    "word_wrap": false
}

Cannot install gruvbox due to dependency 'markupsafe' is not currently installed

Cannot install gruvbox, error message:

ignored packages updated to: ["gruvbox", "Vintage"]
reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
Package Control: The dependency 'markupsafe' is not currently installed; installing...
Package Control: The dependency 'markupsafe' is not available
Package Control: The dependency 'markupsafe' could not be installed or updated
ignored packages updated to: ["Vintage"]
reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings

Environment

sublime text: 3,.2.1
gruvbox: 4.0.1

Typo in readme

In the "Even More Settings..." section near the very end of the readme, the option "gruvbox_disable_fileicons": true, should read "gruvbox_disable_file_icons": true,.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.