项目作者: tricinel

项目描述 :
A simple theme with bright colors for your coding needs
高级语言: JavaScript
项目地址: git://github.com/tricinel/edge-theme.git
创建时间: 2017-10-13T11:29:09Z
项目社区:https://github.com/tricinel/edge-theme

开源协议:MIT License

下载


Edge

Edge is a simple theme with bright colors. Edge comes in three versions — Night Sky, Serene and Ocean for all day long comfortable work. The theme has a few customisable options to help you personalise your experience with it.

Installation

Local development

  • Clone this repo
  • yarn install will install the required dev dependencies
  • yarn watch will watch the files for changes and generate the themes/schemes
  • yarn build will build the theme files
  • yarn test will run the tests
  • yarn a11y will check the colors in all the themes for accessibility

Files and folder structure

  1. ├── assets
  2. └── icons
  3. ├── common
  4. ├── night-sky
  5. ├── ocean
  6. └── serene
  7. ├── gulp
  8. ├── icons
  9. ├── dist
  10. └── alfred
  11. └── iterm2
  12. └── sublimetext
  13. └── vim
  14. └── vscode
  15. ├── src
  16. ├── config
  17. └── alfred
  18. └── iterm2
  19. └── sublimetext
  20. └── vim
  21. └── vscode
  22. ├── utils
  23. ├── CHANGELOG.md
  24. ├── CONTRIBUTING.md
  25. ├── Edge Theme.sketch
  26. ├── README.md
  27. ├── gulpfile.babel.js
  28. ├── package.json
  29. └── yarn.lock
  • assets/icons contains the UI icons for the various themes
  • gulp contains the tasks for development, e.g. building the themes
  • icons contains the file_type icons. Please note that Edge for Sublime Text 3 supports A File Icon package.
  • src contains the source files, as follows:
  • src/config -> general config and editor-specific files, such as templates that are generated
  • src/utils -> various util files, such as accessibility utils, logger and color utils

Editor specific

Sublime Text 3

There’s a small workflow you can apply to make modifications on the themes and have them reflect on the Sublime editor UI.

  1. git clone git@github.com:tricinel/edge-theme.git
  2. yarn install
  3. yarn build
  4. cd <path-to-sublime-text-3-packages> && rm -rf Edge\ Theme #if you have the theme installed
  5. ln -s <path-to-edge-theme-repo>/dist/sublime-text Edge\ Theme
  6. cd <path-to-edge-theme-repo>
  7. Make changes
  8. yarn build

iTerm2

There’s no workflow you can apply to make modifications on the color schemes and have them immediately reflect on the iTerm2 UI. However, you can still use the release task to generate the color schemes that you can then re-import into iTerm2.

  1. git clone git@github.com:tricinel/edge-theme.git
  2. yarn install
  3. yarn build
  4. Make changes
  5. yarn build
  6. Launch iTerm 2.
  7. Click on iTerm2 menu title
  8. Select the Preferences option
  9. Select Profiles
  10. Navigate to Colors tab
  11. Click on Color Presets
  12. Click on Import
  13. Select the .itermcolors files of the schemes from <path-to-edge-theme-repo>/dist/iterm2
  14. Click on Color Presets and choose a color scheme that you previously imported.

Slack

With Slack, you can customize the sidebar theme by pasting the following color codes in your Sidebar Theme section under Slack’s Preferences:

Edge Night Sky

#07161B,#172A3A,#172A3A,#F3D3BD,#061419,#A9BCD0,#5DD39E,#FB3640

Edge Serene

#F6EED8,#EAE1CB,#DDC990,#633F24,#097C8E,#633F24,#2E7820,#C41922

Edge Ocean

#001230,#0C2A59,#0C2A59,#F5D2AC,#F5D2AC,#52A6F0,#40C7BC,#E7616F