Spacegray Theme - Deployment & Usage Guide
1. Prerequisites
- Sublime Text 3 or 4 (Build 3100+ recommended)
- Package Control (recommended for easiest installation) - install via Command Palette if not already present
- No additional runtime, build tools, or accounts required
2. Installation
Method A: Via Package Control (Recommended)
- Open Command Palette:
Tools > Command Palette...or <kbd>⇧</kbd><kbd>⌘</kbd><kbd>P</kbd> (macOS) / <kbd>Ctrl+Shift+P</kbd> (Windows/Linux) - Type and select:
Package Control: Install Package - Search for
Theme - Spacegrayand press <kbd>Enter</kbd> - Wait for installation to complete
Method B: Manual Installation
- Download the latest release ZIP from: https://github.com/kkga/spacegray/archive/master.zip
- Extract the ZIP archive
- Rename the extracted folder from
spacegray-mastertoTheme - Spacegray - Open Sublime Text and navigate to
Preferences > Browse Packages... - Copy the renamed
Theme - Spacegrayfolder into the openedPackagesdirectory - Restart Sublime Text
3. Configuration
Activating a Theme Variant
After installation, activate your preferred theme variant:
Option 1: Via Command Palette
- Open Command Palette
- For theme: Select
UI: Select Theme→ choose your variant (e.g.,Spacegray) - For color scheme: Select
UI: Select Color Scheme→ choose matching Base16 scheme
Option 2: Edit Settings Directly
- Open Command Palette →
Preferences: Settings - In the right-hand user settings file, add the appropriate pair:
Spacegray (Default - Ocean Dark):
{
"theme": "Spacegray.sublime-theme",
"color_scheme": "Base16 Ocean Dark.sublime-color-scheme"
}
Spacegray Light:
{
"theme": "Spacegray Light.sublime-theme",
"color_scheme": "Base16 Ocean Light.sublime-color-scheme"
}
Spacegray Eighties:
{
"theme": "Spacegray Eighties.sublime-theme",
"color_scheme": "Base16 Eighties Dark.sublime-color-scheme"
}
Spacegray Mocha:
{
"theme": "Spacegray Mocha.sublime-theme",
"color_scheme": "Base16 Mocha Dark.sublime-color-scheme"
}
Spacegray Oceanic:
{
"theme": "Spacegray Oceanic.sublime-theme",
"color_scheme": "Base16 Oceanic.sublime-color-scheme"
}
Customizing Theme Settings
Access additional customization via:
-
Global Theme Variables (font, size):
- Open Command Palette →
UI: Customize Theme - Edit the
"variables"section:{ "variables": { "font_face": "system", // Change to your preferred font (e.g., "Cascadia Code") "font_size": 12 // Override global font_size } }
- Open Command Palette →
-
Global Theme Settings (in
Preferences.sublime-settings):{ "themed_title_bar": false, // Disable custom title bar (useful for native macOS tabs) "enable_tab_scrolling": false, // Disable tab scrolling arrows "show_tab_close_buttons": false, // Hide all tab close buttons "show_tab_close_buttons_on_left": true // Show close buttons on left side } -
Spacegray-Specific Settings (in
Preferences.sublime-settings):{ // Tab dimensions "theme.spacegray.tabs.height": "normal", // Options: "xsmall", "small", "normal", "large", "xlarge" "theme.spacegray.tabs.auto_width": true, // Auto-width tabs vs fixed width // Sidebar appearance "theme.spacegray.sidebar.row_height": "normal", // Options: "xsmall", "small", "normal", "large", "xlarge" "theme.spacegray.sidebar.show_icons": true, // Show file type icons // VCS integration "theme.spacegray.sidebar.vcs_color_labels": true, // Color file labels by VCS status "theme.spacegray.sidebar.vcs_color_expanded": true // Also color expanded folders }
4. Build & Run
Not applicable. Spacegray is a pure Sublime Text UI theme/color scheme package. No build step, compilation, or runtime execution is required. Changes to settings take effect immediately upon saving the settings file or switching themes via the Command Palette.
5. Deployment
Spacegray is designed as a Sublime Text package, not a standalone application. Distribution methods:
-
Package Control (primary distribution):
- Submit pull request to wbond/sublime_package_control channel to have your fork listed
- Maintainers typically publish via the official Package Control channel
-
Manual Distribution:
- Share the
Theme - Spacegrayfolder directly - Users install by placing it in their
Packages/directory (see Manual Installation above)
- Share the
-
GitHub Releases:
- Create releases with ZIP archives containing the
Theme - Spacegrayfolder (properly named) - Users download and install manually
- Create releases with ZIP archives containing the
6. Troubleshooting
Theme/Color Scheme Not Appearing After Installation
- Cause: Sublime Text hasn't rescanned packages.
- Solution: Restart Sublime Text completely. If still missing, verify the folder is named exactly
Theme - Spacegray(case-sensitive) and located inPackages/.
Settings Not Applying
- Cause: Syntax errors in settings JSON or incorrect setting keys.
- Solution:
- Open Command Palette →
Preferences: Settings - Syntax Specificto ensure you're editing the correct user settings file. - Validate JSON syntax (use a validator or ensure all commas are correct).
- Check for typos in setting keys (e.g.,
"theme.spacegray.tabs.height"not"theme.spacegray.tab.height"). - Ensure no conflicting settings from other themes/packages.
- Open Command Palette →
Custom Font Not Loading
- Cause: Font name incorrect or font not installed system-wide.
- Solution:
- Verify exact font name (use
font_facesetting with the name as shown in OS font settings). - Install the font on your OS if not present.
- Note: Sublime Text may require restart to recognize newly installed system fonts.
- Verify exact font name (use
Tab/Sidebar Settings Ignored
- Cause: Settings placed in wrong scope or overridden by theme defaults.
- Solution:
- Place Spacegray-specific settings (
theme.spacegray.*) in globalPreferences.sublime-settings, not in theme customization files. - Check for conflicting settings from other installed themes.
- Use
UI: Customize Themeto override specific rules if needed (advanced).
- Place Spacegray-specific settings (
Package Control Installation Fails
- Cause: Network issues or Package Control outdated.
- Solution:
- Ensure internet connection.
- Update Package Control: Command Palette →
Package Control: Upgrade Package→ selectPackage Control. - Retry installation.
"Base16 Ocean Dark" Color Scheme Missing
- Cause: Color schemes are included within the Spacegray package; this indicates incomplete installation.
- Solution: Reinstall the package (delete
Theme - SpacegrayfromPackages/and reinstall). Verify the package contains.sublime-color-schemefiles in its root directory.