← Back to chriskempson/tomorrow-theme

How to Deploy & Use chriskempson/tomorrow-theme

Tomorrow Theme Deployment and Usage Guide

1. Prerequisites

  • Text Editor: Any modern text editor that supports custom themes (Sublime Text, Atom, VS Code, Vim, etc.)
  • Theme Files: Access to the theme files in this repository
  • Color Scheme Support: Editor must support custom color scheme installation

2. Installation

Manual Installation

  1. Clone the repository:

    git clone https://github.com/chriskempson/tomorrow-theme.git
    cd tomorrow-theme
    
  2. Locate your editor's theme directory:

    • Sublime Text: Preferences > Browse Packages
    • VS Code: ~/.vscode/extensions or use the Extensions panel
    • Atom: ~/.atom/packages
    • Vim: ~/.vim/colors
  3. Copy the theme files:

    • Copy the .tmTheme files for Sublime Text/TextMate editors
    • Copy the .tmTheme files to your editor's themes directory
    • For Vim, copy .vim files to the colors directory

Editor-Specific Installation

Sublime Text

  1. Open Sublime Text
  2. Navigate to Preferences > Browse Packages
  3. Copy the .tmTheme files from the cloned repository to the Color Scheme - Default folder
  4. Select the theme via Preferences > Color Scheme

VS Code

  1. Open VS Code
  2. Press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac)
  3. Type "Install from VSIX" and select the option
  4. Navigate to the theme directory and select the appropriate .vsix file (if available)

Vim

  1. Copy the .vim color scheme files to ~/.vim/colors/
  2. Add to your .vimrc:
    colorscheme Tomorrow-Night
    

3. Configuration

No additional configuration is required. The themes are ready to use after installation.

Available Themes

  • Tomorrow
  • Tomorrow Night
  • Tomorrow Night Eighties
  • Tomorrow Night Blue
  • Tomorrow Night Bright

4. Build & Run

Local Development

Since this is a theme repository (not an application), there is no build process required. The themes are static color scheme files.

Testing the Theme

  1. Open your text editor
  2. Navigate to theme selection
  3. Choose one of the Tomorrow themes
  4. Open a code file to see the syntax highlighting in action

5. Deployment

This is a theme repository, not a deployable application. However, you can:

Share with Others

  1. GitHub Repository: Fork and share your customized versions
  2. Package for Editors: Create editor-specific packages for distribution
  3. Theme Marketplaces: Submit to editor theme marketplaces (VS Code Marketplace, Sublime Package Control)

Contributing

  1. Fork the repository
  2. Make your changes to the theme files
  3. Test in your editor
  4. Submit a pull request

6. Troubleshooting

Common Issues and Solutions

Theme Not Appearing in Editor

  • Solution: Ensure the .tmTheme files are in the correct directory for your editor
  • Check: Verify file permissions allow reading the theme files

Incorrect Syntax Highlighting

  • Solution: Some languages may require specific grammar packages
  • Check: Ensure your editor has the appropriate language support installed

Colors Look Different Than Expected

  • Solution: Screen calibration or editor theme settings may affect appearance
  • Check: Compare with the reference images in the repository

Vim Theme Not Loading

  • Solution: Add colorscheme Tomorrow-Night to your .vimrc
  • Check: Ensure the .vim file is in ~/.vim/colors/

Sublime Text Theme Not Available

  • Solution: Restart Sublime Text after copying theme files
  • Check: Verify the .tmTheme files are in the Packages/Color Scheme - Default directory

Getting Help

  • Check the GitHub Issues for known problems
  • Review the original blog post for additional information
  • Test with the provided Ruby code examples to verify proper highlighting