From df08d36cb5f85e97190d5cc63eca7c9323aad092 Mon Sep 17 00:00:00 2001 From: Gerard Date: Sun, 12 Feb 2023 19:46:47 +0100 Subject: [PATCH] Update instructions --- INSTALL_EDITORS.md | 64 +++++++++++----------------------------------- INSTALL_TERM.md | 2 +- README.md | 2 +- 3 files changed, 17 insertions(+), 51 deletions(-) diff --git a/INSTALL_EDITORS.md b/INSTALL_EDITORS.md index 0f6146b..4a16e78 100644 --- a/INSTALL_EDITORS.md +++ b/INSTALL_EDITORS.md @@ -4,7 +4,7 @@ Installation in Vim and Neovim: -Atomic colorscheme for Vim and Neovim has its own repository, so it allows the installation through a plugins manager (vim-plug, pathogen, vundle, neobundle). +Atomic color scheme for Vim and Neovim has its own repository ([vim-atomic](https://github.com/gerardbm/vim-atomic)), so it allows the installation through a plugins manager (vim-plug, pathogen, vundle, neobundle). Using vim-plug: @@ -18,34 +18,32 @@ Manually copy the file `atomic.vim` contained into the `vim` directory of this r 1. Set the colorscheme in your Vim/Neovim configuration file: `colorscheme atomic`. 2. If you are in a GUI for Vim (as gvim), you have commands to switch between modes: - - (1) `AtomicDarkBlueSoft`: sets the dark blue mode (default). - - (2) `AtomicDarkBlueHard`: extra, +5% contrast. - - (3) `AtomicDarkCyanSoft`: sets the dark cyan mode. - - (4) `AtomicDarkCyanHard`: extra, +5% contrast. - - (5) `AtomicNightOrangeSoft`: sets the night orange mode. - - (6) `AtomicNightOrangeHard`: extra, +5% contrast. - - (7) `AtomicNightRedSoft`: sets the night red mode. - - (8) `AtomicNightRedHard`: extra, +5% contrast. - - (9) `AtomicLightSoft`: sets the light mode. - - (10) `AtomicLightHard`: extra, +5% contrast. +- (1) `AtomicSpaceHC`: sets the space mode (blue hue, dark background) in hard contrast (+4%). +- (2) `AtomicSpaceMC`: sets the space mode (blue hue, dark background) in medium contrast (default). +- (3) `AtomicSpaceLC`: sets the space mode (blue hue, dark background) in hard contrast (-4%). +- (4) `AtomicNightHC`: sets the night mode (orange hue, dark background) in hard contrast (+4%). +- (5) `AtomicNightMC`: sets the night mode (orange hue, dark background) in medium contrast (default). +- (6) `AtomicNightLC`: sets the night mode (orange hue, dark background) in hard contrast (-4%). +- (7) `AtomicLightHC`: sets the light mode (orange hue, light background) in hard contrast (+4%). +- (8) `AtomicLightMC`: sets the light mode (orange hue, light background) in medium contrast (default). +- (9) `AtomicLightLC`: sets the light mode (orange hue, light background) in hard contrast (-4%). Or switch them depending on the current time. In your `.gvimrc`: ```viml function! AtomicSwitcher() - if (strftime("%H") > 8) && (strftime("%H") < 20) - AtomicLightSoft + if (strftime('%H') > 8) && (strftime('%H') < 20) + AtomicSpaceHC else - AtomicNightRedHard + AtomicNightHC endif endfunction ``` -Even cycle them (from 1 to 10) with a shortcut. Paste this in your `.gvimrc`: +Even cycle them (from 1 to 9) with a shortcut. Paste this in your `.gvimrc`: ```viml nnoremap :call CycleModes():colorscheme atomic -vnoremap :call CycleModes():colorscheme atomicgv ``` ### Vim-airline @@ -58,44 +56,12 @@ Installation in Vim-airline: 4. Add the following settings to your `.vimrc`. ```viml -" Use 'atomic' by default let g:airline_theme='atomic' -" Enable it if you use the Powerline fonts let g:airline_powerline_fonts = 1 -" Enable the tabline at the top let g:airline#extensions#tabline#enabled = 1 -" It disables the bold text in vim modes call airline#parts#define_accent('mode', 'black') ``` -For better contrast, install the plugin [vim-atomic](https://github.com/gerardbm/vim-atomic) and set by default the atomic colorscheme. If it's not installed, it will use the colors of your current colorscheme. If it's installed, vim-airline-atomic will be adapted to the current atomic mode (Dark, Night, Light) automatically. +For better contrast, install the plugin [vim-atomic](https://github.com/gerardbm/vim-atomic) and set by default the atomic colorscheme. If it's not installed, it will use the colors of your current colorscheme. If it's installed, vim-airline-atomic will be adapted to the current atomic mode (`Space`, `Night`, `Light`) automatically. Make sure you have the Powerline fonts installed. - -## Sublime Text - -Atomic colorscheme for Sublime Text has its own repository, so it allows the installation through Package Control. - -1. Make sure you already have Package Control installed. -2. Choose `Install Package` from the Command Palette (`Ctrl+Shift+P` on Windows/Linux, `⇧⌘P` on OS X). -3. Select Atomic in the menu: `Preferences` > `Atomic` > `Atomic`. - -More info at: [https://github.com/gerardbm/Sublime-Atomic-Scheme](https://github.com/gerardbm/Sublime-Atomic-Scheme) - -With `auto_upgrade` enabled, Package Control will keep all installed packages up-to-date! - -## NetBeans - -Installation in NetBeans: - -1. Download the Atomic repository, unpack the downloaded file (`atomic-master.zip`) and then manually create a new zip file containing the folder `config`. In bash: -```bash -zip -r atomic.zip config -``` -2. Open your NetBeans: `Tools` > `Options` > `Import...` > `Browse...`. Navigate to the zip file you created in the previous step. Make sure the option `Fonts & Colors` is checked and press `Ok` button. -3. Restart your NetBeans. -4. To switch between color schemes, in the `Options` panel go to the `Fonts & Colors` tab and choose a profile (in our case, 'Atomic'). - -**Known Issues** - -If you are [still] using Windows XP, do not use the archive program built-in to create the zip file (step 1). It does not support file paths longer than a certain length. Use a third party archiver like 7zip, which is free. diff --git a/INSTALL_TERM.md b/INSTALL_TERM.md index 6fa8204..cf5c978 100644 --- a/INSTALL_TERM.md +++ b/INSTALL_TERM.md @@ -8,4 +8,4 @@ Installation for **URxvt** and **XTerm** (include extra modes with +4% contrast) 2. Load the resource file with the command: `xrdb ~/.Xresources`. 3. Restart the terminal. -You will find more information on the `.Xresources` file in the [Arch Linux wiki](https://wiki.archlinux.org/index.php/X_resources). +You will find more information on the file `.Xresources` in the [Arch Linux wiki](https://wiki.archlinux.org/index.php/X_resources). diff --git a/README.md b/README.md index d619e8d..c81e92d 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Atomic is a dark color scheme designed to use with terminals. This repository pr The color palette consists of **sixteen precision colors** selected procedurally (algorithms), distributed in six hues and four perceived lightness, according to the color space **HSLuv** («_an alternative to HSL designed for perceptual uniformity based on human experiments_». -Don't confuse the perceived brightness with the lightness of the HSL color model. Human vision doesn't detect brightness linearly with color: in a pixel (R'G'B') we see red color (#FF0000) darker than green color (#00FF00), and green color (#00FF00) brighter than red (#FF0000) and blue (#0000FF) colors. +Don't confuse the perceived brightness with the lightness of the HSL color model. Human vision doesn't detect brightness linearly with color: in a pixel (R'G'B') we see red color (`#FF0000`) darker than green color (`#00FF00`), and green color (`#00FF00`) brighter than red (`#FF0000`) and blue (`#0000FF`) colors. So the perceived lightness has been balanced according to the ITU-R Recommendation BT.709: