ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Theme - One

by AmjadHD ST3

ūüé® A port of Atom's One Dark and One Light UI and Syntax Themes ‚ö°.

Details

Installs

  • Total 4K
  • Win 2K
  • Mac 959
  • Linux 853
May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8
Windows 3 4 4 7 6 5 3 1 7 4 4 5 3 3 7 4 12 4 7 7 10 8 6 4 4 7 8 17 15 22 14 25 14 23 21 8 5 7 12 9 5 5 3 6 3 2
Mac 2 2 1 1 0 2 3 3 5 0 6 1 3 2 1 3 3 4 4 1 7 2 4 3 3 7 5 10 11 7 4 6 10 8 4 7 1 2 3 1 5 1 0 3 0 3
Linux 1 1 0 1 5 2 2 7 1 2 0 1 2 0 6 1 3 3 1 1 2 3 0 1 4 9 4 6 6 3 7 8 6 4 1 4 5 3 2 2 2 2 0 1 3 1

Readme

Source
raw.‚Äčgithubusercontent.‚Äčcom

One Theme

GitHub release (latest by date) Package Control

ūüé® A port of Atom's One Dark and One Light UI and Syntax Themes for ST4 and ST3.2+ ‚ö°.

screenshot

The package includes two color schemes One Dark and One Light in addition to an adaptive Theme. Make sure to disable or remove any other color scheme with the same name, namely https://packagecontrol.io/packages/One%20Dark%20Color%20Scheme.

Installation

Package Control

Preferences

Preferences for the closest look to atom, add to your user settings (if you wish).

{
    "always_show_minimap_viewport": true,
    "animation_enabled": false,
    "caret_extra_bottom": 2,
    "caret_extra_top": 1,
    "caret_style": "blink",
    "enable_tab_scrolling": false,
    "highlight_line": true,
    "highlight_modified_tabs": true,
    "indent_guide_options": [
        "draw_normal",
        "solid"
    ],
    "line_padding_bottom": 2,
    "line_padding_top": 1,
    "margin": 0,

    // ST4-specific
    "highlight_gutter": false,
    "show_scroll_tabs_buttons": false,
    "show_tabs_dropdown_button": false,
    "show_new_tab_button": false,
}

ST4 introduced auto dark/light mode switching, run UI: Select Theme and UI: Select Color Scheme, choose auto and proceed. Or add these to your user settings:

{
    "theme": "auto",
    "dark_theme": "One.sublime-theme",
    "light_theme": "One.sublime-theme",

    "color_scheme": "auto",
    "dark_color_scheme": "One Dark.sublime-color-scheme",
    "light_color_scheme": "One Light.sublime-color-scheme",
}

Customization

For ST4, Run UI: Customize Theme from the command palette, for ST3, navigate to Preferences > Package Settings > Theme - One > Customize. See https://www.sublimetext.com/docs/themes.html#customization.

Here's a sample override:

{
    "variables": {
        // darker borders with medium-dark color schemes
        "border-color": "color(var(ui-bg) l(- 8%))",
    },

    "rules": [
        // Highlight the top border of the focused tab instead of the left one
        {
            "class": "tab_control",
            "layer2.inner_margin": [0, 2, 0, 0],
        },
        // ST4: Match the color of the tab connector to that of the tab
        {
            "class": "tab_connector",
            "tint_index": 0,
        },
        // Hide sidebar's vcs status icons
        {
            "class": "vcs_status_badge",
            "layer0.opacity": 0.0,
        },
        // Show panel's close button
        {
            "class": "panel_close_button",
            "content_margin": 8,
            "layer0.opacity": 1.0
        },
    ]
}

Credits

https://github.com/andresmichel/one-dark-theme was helpful for me to create this theme.