├── typewriter-tmux ├── src │ ├── assets │ │ ├── scrot-top.png │ │ ├── scrot-htop.png │ │ ├── nord-tmux-banner.ai │ │ ├── scrot-feature-clock-mode.png │ │ ├── scrot-feature-command-bar.png │ │ ├── scrot-config-status-content-no-patched-font.png │ │ ├── scrot-plugin-support-tmux-prefix-highlight.png │ │ ├── scrot-plugin-support-tmux-prefix-highlight-copy-mode.png │ │ └── nord-tmux-banner.svg │ ├── nord-status-content-no-patched-font.conf │ ├── nord.conf │ └── nord-status-content.conf ├── .editorconfig ├── LICENSE.md ├── nord.tmux ├── CHANGELOG.md └── README.md ├── syntax_test ├── syntax.pug ├── syntax.js ├── syntax.html └── syntax.md ├── changelog.md ├── LICENSE.md ├── cmus └── typewriter.theme ├── typewriter.Xresources ├── typewriter-night.Xresources ├── autoload ├── airline │ └── themes │ │ └── typewriter.vim └── lightline │ └── colorscheme │ ├── typewriter_dark.vim │ └── typewriter_light.vim ├── README.md └── colors ├── typewriter-night.vim └── typewriter.vim /typewriter-tmux/src/assets/scrot-top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logico/typewriter/HEAD/typewriter-tmux/src/assets/scrot-top.png -------------------------------------------------------------------------------- /typewriter-tmux/src/assets/scrot-htop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logico/typewriter/HEAD/typewriter-tmux/src/assets/scrot-htop.png -------------------------------------------------------------------------------- /typewriter-tmux/src/assets/nord-tmux-banner.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logico/typewriter/HEAD/typewriter-tmux/src/assets/nord-tmux-banner.ai -------------------------------------------------------------------------------- /typewriter-tmux/src/assets/scrot-feature-clock-mode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logico/typewriter/HEAD/typewriter-tmux/src/assets/scrot-feature-clock-mode.png -------------------------------------------------------------------------------- /typewriter-tmux/src/assets/scrot-feature-command-bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logico/typewriter/HEAD/typewriter-tmux/src/assets/scrot-feature-command-bar.png -------------------------------------------------------------------------------- /typewriter-tmux/src/assets/scrot-config-status-content-no-patched-font.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logico/typewriter/HEAD/typewriter-tmux/src/assets/scrot-config-status-content-no-patched-font.png -------------------------------------------------------------------------------- /typewriter-tmux/src/assets/scrot-plugin-support-tmux-prefix-highlight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logico/typewriter/HEAD/typewriter-tmux/src/assets/scrot-plugin-support-tmux-prefix-highlight.png -------------------------------------------------------------------------------- /syntax_test/syntax.pug: -------------------------------------------------------------------------------- 1 | doctype html 2 | html(lang='en') 3 | head 4 | title Pug 5 | body 6 | h1 Pug Examples 7 | div.container 8 | p(data-role='test') #[i.fa.fa-test] Cool Pug example! 9 | -------------------------------------------------------------------------------- /typewriter-tmux/src/assets/scrot-plugin-support-tmux-prefix-highlight-copy-mode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/logico/typewriter/HEAD/typewriter-tmux/src/assets/scrot-plugin-support-tmux-prefix-highlight-copy-mode.png -------------------------------------------------------------------------------- /syntax_test/syntax.js: -------------------------------------------------------------------------------- 1 | const \u1008 = 13 2 | console.log(\u1008) 3 | 4 | const f = (a, b) => a + b 5 | console.log(f(60,9)) 6 | 7 | // This is a test 8 | 9 | let json = JSON.stringify({ 10 | foo : 1, 11 | bar : 2 12 | }, 2, 2) 13 | 14 | console.log(json) 15 | -------------------------------------------------------------------------------- /syntax_test/syntax.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |This is a test of html
10 | Link test 11 | (http://svengreb.de)
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy
7 | of this software and associated documentation files (the "Software"), to deal
8 | in the Software without restriction, including without limitation the rights
9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | copies of the Software, and to permit persons to whom the Software is
11 | furnished to do so, subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22 | SOFTWARE.
23 |
--------------------------------------------------------------------------------
/typewriter-tmux/src/nord-status-content-no-patched-font.conf:
--------------------------------------------------------------------------------
1 | # +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 | # title Status Content - No Patched Font +
3 | # project nord-tmux +
4 | # repository https://github.com/arcticicestudio/nord-tmux +
5 | # author Arctic Ice Studio +
6 | # email development@arcticicestudio.com +
7 | # copyright Copyright (C) 2017 +
8 | # +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
9 | #+----------------+
10 | #+ Plugin Support +
11 | #+----------------+
12 | #+--- tmux-prefix-highlight ---+
13 | set -g @prefix_highlight_copy_mode_attr "fg=black,bg=brightcyan"
14 |
15 | #+--------+
16 | #+ Status +
17 | #+--------+
18 | #+--- Bars ---+
19 | set -g status-left "#[fg=black,bg=blue,bold] #S "
20 | set -g status-right "#{prefix_highlight}#[fg=white,bg=brightblack] %Y-%m-%d #[fg=white,bg=brightblack,nobold,noitalics,nounderscore]|#[fg=white,bg=brightblack] %H:%M #[fg=cyan,bg=brightblack,nobold,noitalics,nounderscore] #[fg=black,bg=cyan,bold] #H "
21 |
22 | #+--- Windows ---+
23 | set -g window-status-format " #[fg=white,bg=brightblack]#I #[fg=white,bg=brightblack]#W #F"
24 | set -g window-status-current-format " #[fg=black,bg=cyan]#I#[fg=black,bg=cyan,nobold,noitalics,nounderscore] #[fg=black,bg=cyan]#W #F"
25 | set -g window-status-separator ""
26 |
--------------------------------------------------------------------------------
/cmus/typewriter.theme:
--------------------------------------------------------------------------------
1 | # colors from solarized: http://ethanschoonover.com/solarized
2 | # default text color
3 | set color_win_fg=247
4 |
5 | # overall background color
6 | set color_win_bg=255
7 |
8 | # command-line colors
9 | set color_cmdline_bg=255
10 | set color_cmdline_fg=235
11 | set color_error=160
12 | set color_info=136
13 | set color_separator=240
14 |
15 | # bottom status line
16 | set color_statusline_bg=235
17 | set color_statusline_fg=255
18 |
19 | # bottom title line
20 | set color_titleline_bg=153
21 | set color_titleline_fg=235
22 |
23 | # top title area
24 | set color_win_title_bg=235
25 | set color_win_title_fg=255
26 | ##### playing file colors ######################################################
27 | # unselected currently playing track's text
28 | set color_win_cur=235
29 |
30 | # active selection for currently playing track
31 | set color_win_cur_sel_bg=153
32 | set color_win_cur_sel_fg=235
33 |
34 | # inactive selection for currently playing track
35 | set color_win_inactive_cur_sel_bg=235
36 | set color_win_inactive_cur_sel_fg=255
37 |
38 | ##### non-playing file colors ##################################################
39 | # active selection
40 | set color_win_sel_bg=235
41 | set color_win_sel_fg=255
42 |
43 | # inactive selection
44 | set color_win_inactive_sel_bg=default
45 | set color_win_inactive_sel_fg=33
46 |
47 | ##### file browser view colors #################################################
48 | # directory listing color
49 | set color_win_dir=235
50 |
--------------------------------------------------------------------------------
/typewriter-tmux/src/nord.conf:
--------------------------------------------------------------------------------
1 | # +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 | # title Nord tmux +
3 | # project nord-tmux +
4 | # version 0.2.0 +
5 | # repository https://github.com/arcticicestudio/nord-tmux +
6 | # author Arctic Ice Studio +
7 | # email development@arcticicestudio.com +
8 | # copyright Copyright (C) 2017 +
9 | # +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
10 | #+----------------+
11 | #+ Plugin Support +
12 | #+----------------+
13 | #+--- tmux-prefix-highlight ---+
14 | set -g @prefix_highlight_fg black
15 | set -g @prefix_highlight_bg brightcyan
16 |
17 | #+---------+
18 | #+ Options +
19 | #+---------+
20 | set -g status-interval 1
21 | set -g status on
22 |
23 | #+--------+
24 | #+ Status +
25 | #+--------+
26 | #+--- Layout ---+
27 | set -g status-justify left
28 |
29 | #+--- Colors ---+
30 | set -g status-bg colour255
31 | set -g status-fg colour233
32 | set -g status-attr none
33 |
34 | #+-------+
35 | #+ Panes +
36 | #+-------+
37 | set -g pane-border-bg colour255
38 | set -g pane-border-fg white
39 | set -g pane-active-border-bg black
40 | set -g pane-active-border-fg brightblack
41 | set -g display-panes-colour black
42 | set -g display-panes-active-colour white
43 |
44 | #+------------+
45 | #+ Clock Mode +
46 | #+------------+
47 | setw -g clock-mode-colour cyan
48 |
49 | #+----------+
50 | #+ Messages +
51 | #+---------+
52 | set -g message-fg cyan
53 | set -g message-bg brightblack
54 | set -g message-command-fg cyan
55 | set -g message-command-bg brightblack
56 |
--------------------------------------------------------------------------------
/typewriter.Xresources:
--------------------------------------------------------------------------------
1 | ! Typewriter light
2 | ! Scheme: Typewriter (https://github.com/logico-dev)
3 | ! Based on: Alexandre Gavioli (https://github.com/Alexx2/)
4 |
5 | #define base00 #eeeeee
6 | #define base01 #e3e3e3
7 | #define base02 #00BAFF
8 | #define base03 #ababab
9 | #define base04 #525252
10 | #define base05 #464646
11 | #define base06 #252525
12 | #define base07 #101010
13 | #define base08 #7c7c7c
14 | #define base09 #999999
15 | #define base0A #a0a0a0
16 | #define base0B #8e8e8e
17 | #define base0C #868686
18 | #define base0D #686868
19 | #define base0E #747474
20 | #define base0F #5e5e5e
21 | #define base0G #E41D91
22 | #define base0H #009900
23 |
24 | *.foreground: base05
25 | #ifdef background_opacity
26 | *.background: [background_opacity]base00
27 | #else
28 | *.background: base00
29 | #endif
30 | *.cursorColor: base02
31 |
32 | ! Black
33 | *.color0: base00
34 | *.color8: base0A
35 |
36 | ! Red
37 | *.color1: base08
38 | *.color9: base08
39 |
40 | ! Green
41 | *.color2: base05
42 | *.color10: base0B
43 |
44 | ! Yellow
45 | *.color3: base0A
46 | *.color11: base0G
47 |
48 | ! Blue
49 | *.color4: base0D
50 | *.color12: base0D
51 |
52 | ! Magenta
53 | *.color5: base0E
54 | *.color13: base0H
55 |
56 | ! Cyan
57 | *.color6: base0C
58 | *.color14: base02
59 |
60 | ! White
61 | *.color7: base05
62 | *.color15: base07
63 |
64 | ! Note: colors beyond 15 might not be loaded (e.g., xterm, urxvt),
65 | ! use 'shell' template to set these if necessary
66 | *.color16: base09
67 | *.color17: base0F
68 | *.color18: base01
69 | *.color19: base02
70 | *.color20: base04
71 | *.color21: base06
72 |
--------------------------------------------------------------------------------
/typewriter-night.Xresources:
--------------------------------------------------------------------------------
1 | ! Typewriter light
2 | ! Scheme: Lógico Software (https://github.com/logico-dev)
3 | ! Based on: Alexandre Gavioli (https://github.com/Alexx2/)
4 |
5 | #define base00 #262626
6 | #define base01 #e3e3e3
7 | #define base02 #b9b9b9
8 | #define base03 #ababab
9 | #define base04 #525252
10 | #define base05 #eeeeee
11 | #define base06 #252525
12 | #define base07 #101010
13 | #define base08 #7c7c7c
14 | #define base09 #999999
15 | #define base0A #a0a0a0
16 | #define base0B #8e8e8e
17 | #define base0C #868686
18 | #define base0D #686868
19 | #define base0E #747474
20 | #define base0F #5e5e5e
21 | #define base0G #FF0000
22 | #define base0H #009900
23 |
24 | *.foreground: base05
25 | #ifdef background_opacity
26 | *.background: [background_opacity]base00
27 | #else
28 | *.background: base00
29 | #endif
30 | *.cursorColor: #00BAFF
31 |
32 | ! Negro y gris
33 | *.color0: base00
34 | *.color8: base0A
35 |
36 | ! Rojos
37 | *.color1: base08
38 | *.color9: base08
39 |
40 | ! Verde
41 | *.color2: base05
42 | *.color10: base0B
43 |
44 | ! Amarillo
45 | *.color3: base0A
46 | *.color11: base0G
47 |
48 | ! Azul
49 | *.color4: base0D
50 | *.color12: base0D
51 |
52 | ! Magenta
53 | *.color5: base0E
54 | *.color13: base0H
55 |
56 | ! Cyan
57 | *.color6: base0C
58 | *.color14: base0C
59 |
60 | ! Blanco
61 | *.color7: base05
62 | *.color15: base07
63 |
64 | ! Note: colors beyond 15 might not be loaded (e.g., xterm, urxvt),
65 | ! use 'shell' template to set these if necessary
66 | *.color16: base09
67 | *.color17: base0F
68 | *.color18: base01
69 | *.color19: base02
70 | *.color20: base04
71 | *.color21: base06
72 |
--------------------------------------------------------------------------------
/typewriter-tmux/nord.tmux:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | # +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 | # title Nord tmux TPM Loader +
4 | # project nord-tmux +
5 | # repository https://github.com/arcticicestudio/nord-tmux +
6 | # author Arctic Ice Studio +
7 | # email development@arcticicestudio.com +
8 | # copyright Copyright (C) 2017 +
9 | # +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
10 | #
11 | # [References]
12 | # Nord
13 | # https://github.com/arcticicestudio/nord
14 | # tmux
15 | # https://tmux.github.io
16 | NORD_TMUX_COLOR_THEME_FILE=src/nord.conf
17 | NORD_TMUX_VERSION=0.2.0
18 | NORD_TMUX_STATUS_CONTENT_FILE="src/nord-status-content.conf"
19 | NORD_TMUX_STATUS_CONTENT_NO_PATCHED_FONT_FILE="src/nord-status-content-no-patched-font.conf"
20 | NORD_TMUX_STATUS_CONTENT_OPTION="@nord_tmux_show_status_content"
21 | NORD_TMUX_NO_PATCHED_FONT_OPTION="@nord_tmux_no_patched_font"
22 | _current_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
23 |
24 | __cleanup() {
25 | unset -v NORD_TMUX_COLOR_THEME_FILE NORD_TMUX_VERSION
26 | unset -v NORD_TMUX_STATUS_CONTENT_FILE NORD_TMUX_STATUS_CONTENT_NO_PATCHED_FONT_FILE
27 | unset -v NORD_TMUX_STATUS_CONTENT_OPTION NORD_TMUX_NO_PATCHED_FONT_OPTION
28 | unset -v _current_dir
29 | unset -f __load __cleanup
30 | }
31 |
32 | __load() {
33 | tmux source-file "$_current_dir/$NORD_TMUX_COLOR_THEME_FILE"
34 |
35 | local status_content=$(tmux show-option -gqv "$NORD_TMUX_STATUS_CONTENT_OPTION")
36 | local no_patched_font=$(tmux show-option -gqv "$NORD_TMUX_NO_PATCHED_FONT_OPTION")
37 |
38 | if [ "$status_content" != "0" ]; then
39 | if [ "$no_patched_font" != "1" ]; then
40 | tmux source-file "$_current_dir/$NORD_TMUX_STATUS_CONTENT_FILE"
41 | else
42 | tmux source-file "$_current_dir/$NORD_TMUX_STATUS_CONTENT_NO_PATCHED_FONT_FILE"
43 | fi
44 | fi
45 | }
46 |
47 | __load
48 | __cleanup
49 |
--------------------------------------------------------------------------------
/typewriter-tmux/src/nord-status-content.conf:
--------------------------------------------------------------------------------
1 | # +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 | # title Status Content +
3 | # project nord-tmux +
4 | # repository https://github.com/arcticicestudio/nord-tmux +
5 | # author Arctic Ice Studio +
6 | # email development@arcticicestudio.com +
7 | # copyright Copyright (C) 2017 +
8 | # +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
9 | #+----------------+
10 | #+ Plugin Support +
11 | #+----------------+
12 | #+--- tmux-prefix-highlight ---+
13 | set -g @prefix_highlight_output_prefix "#[fg=brightcolour240]#[bg=black]#[nobold]#[noitalics]#[nounderscore]#[bg=brightcolour240]#[fg=black]"
14 | set -g @prefix_highlight_output_suffix ""
15 | set -g @prefix_highlight_copy_mode_attr "fg=brightcolour240,bg=black,bold"
16 | set -g status-right-length 150
17 |
18 | tm_cmus="#[fg=colour255,bg=colour232,bold] #(~/dotfiles/scripts/cmus-tmux-statusbar.sh) #[fg=colour252,bg=colour232]"
19 |
20 | #+--------+
21 | #+ Status +
22 | #+--------+
23 | #+--- Bars ---+
24 | set -g status-left "#[fg=colour255,bg=colour232,bold] #S #[fg=colour232,bg=colour255,nobold,noitalics,nounderscore]"
25 | set -g status-right "$tm_cmus#[fg=white,bg=colour252,nobold] %Y-%m-%d #[fg=white,bg=colour252,nobold,noitalics,nounderscore]#[fg=white,bg=colour252] %H:%M #[fg=colour236,bg=colour252,nobold,noitalics,nounderscore]#[fg=colour250,bg=colour236,bold] #H "
26 |
27 | #+--- Windows ---+
28 | set -g window-status-format "#[fg=black,bg=colour252,nobold,noitalics,nounderscore] #[fg=white,bg=colour252]#I #[fg=white,bg=colour252,nobold,noitalics,nounderscore] #[fg=white,bg=colour252]#W #F #[fg=colour252,bg=black,nobold,noitalics,nounderscore]"
29 | set -g window-status-current-format "#[fg=black,bg=colour240,nobold,noitalics,nounderscore] #[fg=black,bg=colour240]#I #[fg=black,bg=colour240,nobold,noitalics,nounderscore] #[fg=black,bg=colour240]#W #F #[fg=colour240,bg=black,nobold,noitalics,nounderscore]"
30 | set -g window-status-separator ""
31 |
--------------------------------------------------------------------------------
/typewriter-tmux/src/assets/nord-tmux-banner.svg:
--------------------------------------------------------------------------------
1 |
10 |
--------------------------------------------------------------------------------
/typewriter-tmux/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | 
2 |
3 |
4 |
5 | ---
6 |
7 | # 0.2.0
8 | *2017-04-22*
9 | ## Features
10 | ### Plugin Support
11 | ❯ Implemented support for the [tmux-prefix-highlight](https://github.com/tmux-plugins/tmux-prefix-highlight) *prefix*- and `copy-mode` status indicator. (@kepbod, #3, 166c8956)
12 |
13 | 

14 |
15 | # 0.1.1
16 | *2017-04-21*
17 | ## Bug Fixes
18 | ❯ Fixed the plugin to be not loadable due to the missing `#!/usr/bin/env bash` hashbang and `+x` permission flag for the plugin loader [`nord.tmux`](https://github.com/arcticicestudio/nord-tmux/blob/develop/nord.tmux) which caused `tpm` to exit with code `126`. (@arcticicestudio, #4, c049da5e)
19 |
20 | # 0.1.0
21 | *2017-04-20*
22 | ## Features
23 | Detailed information about features and install instructions can be found in the [README](https://github.com/arcticicestudio/nord-tmux/blob/develop/README.md#installation) and in the [project wiki](https://github.com/arcticicestudio/nord-tmux/wiki).
24 |
25 | ❯ Implemented the main color theme file [`nord.conf`](https://github.com/arcticicestudio/nord-tmux/blob/develop/src/nord.conf). (@arcticicestudio, #1, e759aedc)
26 |
27 | 
28 |
29 | ❯ Implemented the [`tpm`](https://github.com/tmux-plugins/tpm) plugin loader [`nord.tmux`](https://github.com/arcticicestudio/nord-tmux/blob/develop/nord.tmux). (@arcticicestudio, #2, e58b52e9)
30 |
31 | # 0.0.0
32 | *2016-04-20*
33 | ❯ **Project Initialization**
34 |
--------------------------------------------------------------------------------
/autoload/airline/themes/typewriter.vim:
--------------------------------------------------------------------------------
1 | let g:airline#themes#typewriter#palette = {}
2 |
3 | function! airline#themes#typewriter#refresh()
4 | let g:airline#themes#typewriter#palette.accents = {
5 | \ 'red': airline#themes#get_highlight('Constant'),
6 | \ }
7 |
8 | let s:N1 = airline#themes#get_highlight2(['Normal', 'bg'], ['Normal', 'fg'], 'bold')
9 | let s:N2 = airline#themes#get_highlight('Pmenu')
10 | let s:N3 = airline#themes#get_highlight('CursorLine')
11 | let g:airline#themes#typewriter#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
12 |
13 | let group = airline#themes#get_highlight('vimCommand')
14 | let g:airline#themes#typewriter#palette.normal_modified = {
15 | \ 'airline_c': [ group[0], '', group[2], '', '' ]
16 | \ }
17 |
18 | let s:I1 = airline#themes#get_highlight2(['Normal', 'bg'], ['MoreMsg', 'fg'], 'bold')
19 | let s:I2 = airline#themes#get_highlight2(['MoreMsg', 'fg'], ['Normal', 'bg'])
20 | let s:I3 = s:N3
21 | let g:airline#themes#typewriter#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3)
22 | let g:airline#themes#typewriter#palette.insert_modified = g:airline#themes#typewriter#palette.normal_modified
23 |
24 | let s:R1 = airline#themes#get_highlight('Error', 'bold')
25 | let s:R2 = s:N2
26 | let s:R3 = s:N3
27 | let g:airline#themes#typewriter#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3)
28 | let g:airline#themes#typewriter#palette.replace_modified = g:airline#themes#typewriter#palette.normal_modified
29 |
30 | let s:V1 = airline#themes#get_highlight2(['Normal', 'bg'], ['Constant', 'fg'], 'bold')
31 | let s:V2 = airline#themes#get_highlight2(['Constant', 'fg'], ['Normal', 'bg'])
32 | let s:V3 = s:N3
33 | let g:airline#themes#typewriter#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3)
34 | let g:airline#themes#typewriter#palette.visual_modified = g:airline#themes#typewriter#palette.normal_modified
35 |
36 | let s:IA = airline#themes#get_highlight2(['Function', 'fg'], ['MatchParen', 'bg'])
37 | let g:airline#themes#typewriter#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA)
38 |
39 | let g:airline#themes#typewriter#palette.inactive_modified = {
40 | \ 'airline_c': [ group[0], '', group[2], '', '' ]
41 | \ }
42 | endfunction
43 |
44 | call airline#themes#typewriter#refresh()
45 |
--------------------------------------------------------------------------------
/autoload/lightline/colorscheme/typewriter_dark.vim:
--------------------------------------------------------------------------------
1 | let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
2 |
3 | let s:white1 = [ '#eeeeee', 255 ]
4 | let s:white2 = [ '#dfdfdf', 255 ]
5 | let s:white3 = [ '#d0d0d0', 255 ]
6 | let s:dark1 = [ '#4f4f4f', 255 ]
7 | let s:dark2 = [ '#424242', 255 ]
8 | let s:dark3 = [ '#3a3a3a', 255 ]
9 | let s:yellow = [ '#f4da9a', 255 ]
10 | let s:red = [ '#f4a39a', 255 ]
11 |
12 |
13 | "{{{
14 | let s:normal_l1_fg = s:dark3
15 | let s:normal_l1_bg = s:white1
16 | let s:normal_l2_fg = s:white2
17 | let s:normal_l2_bg = s:dark1
18 | let s:normal_r1_fg = s:dark3
19 | let s:normal_r1_bg = s:white1
20 | let s:normal_r2_fg = s:white2
21 | let s:normal_r2_bg = s:dark1
22 |
23 | let s:insert_l1_fg = s:dark3
24 | let s:insert_l1_bg = s:white1
25 | let s:insert_l2_fg = s:white2
26 | let s:insert_l2_bg = s:dark1
27 | let s:insert_r1_fg = s:dark3
28 | let s:insert_r1_bg = s:white1
29 | let s:insert_r2_fg = s:white2
30 | let s:insert_r2_bg = s:dark1
31 |
32 | let s:visual_l1_fg = s:dark3
33 | let s:visual_l1_bg = s:white1
34 | let s:visual_l2_fg = s:white2
35 | let s:visual_l2_bg = s:dark1
36 | let s:visual_r1_fg = s:dark3
37 | let s:visual_r1_bg = s:white1
38 | let s:visual_r2_fg = s:white2
39 | let s:visual_r2_bg = s:dark1
40 |
41 | let s:inactive_l1_fg = s:dark3
42 | let s:inactive_l1_bg = s:white1
43 | let s:inactive_l2_fg = s:white2
44 | let s:inactive_l2_bg = s:dark1
45 | let s:inactive_r1_fg = s:dark3
46 | let s:inactive_r1_bg = s:white1
47 | let s:inactive_r2_fg = s:white2
48 | let s:inactive_r2_bg = s:dark1
49 |
50 | let s:tab_l_fg = s:white2
51 | let s:tab_l_bg = s:dark1
52 | let s:tab_sel_fg = s:dark1
53 | let s:tab_sel_bg = s:white1
54 |
55 | let s:replace_l1_fg = s:visual_l1_fg
56 | let s:replace_l1_bg = s:visual_l1_bg
57 | let s:replace_l2_fg = s:visual_l2_fg
58 | let s:replace_l2_bg = s:visual_l2_bg
59 |
60 | let s:middle_fg = s:white1
61 | let s:middle_bg = s:dark3
62 |
63 | let s:warningfg = s:yellow
64 | let s:warningbg = s:dark1
65 | let s:errorfg = s:red
66 | let s:errorbg = s:dark1
67 | "}}}
68 |
69 | "{{{
70 | let s:p.normal.left = [ [ s:normal_l1_fg, s:normal_l1_bg ], [ s:normal_l2_fg, s:normal_l2_bg ] ]
71 | let s:p.normal.middle = [ [ s:middle_fg, s:middle_bg ] ]
72 | let s:p.normal.right = [ [ s:normal_r1_fg, s:normal_r1_bg ], [ s:normal_r2_fg, s:normal_r2_bg ] ]
73 |
74 | let s:p.insert.left = [ [ s:insert_l1_fg, s:insert_l1_bg ], [ s:insert_l2_fg, s:insert_l2_bg ] ]
75 | let s:p.insert.middle = [ [ s:middle_fg, s:middle_bg ] ]
76 | let s:p.insert.right = [ [ s:insert_r1_fg, s:insert_r1_bg ], [ s:insert_r2_fg, s:insert_r2_bg ] ]
77 |
78 | let s:p.visual.left = [ [ s:visual_l1_fg, s:visual_l1_bg ], [ s:visual_l2_fg, s:visual_l2_bg ] ]
79 | let s:p.visual.middle = [ [ s:middle_fg, s:middle_bg ] ]
80 | let s:p.visual.right = [ [ s:visual_r1_fg, s:visual_r1_bg ], [ s:visual_r2_fg, s:visual_r2_bg ] ]
81 |
82 | let s:p.inactive.left = [ [ s:inactive_l1_fg, s:inactive_l1_bg ], [ s:inactive_l2_fg, s:inactive_l2_bg ] ]
83 | let s:p.inactive.middle = [ [ s:middle_fg, s:middle_bg ] ]
84 | let s:p.inactive.right = [ [ s:inactive_r1_fg, s:inactive_r1_bg ], [ s:inactive_r2_fg, s:inactive_r2_bg ] ]
85 |
86 | let s:p.tabline.left = [ [ s:tab_l_fg, s:tab_l_bg] ]
87 | let s:p.tabline.tabsel = [ [ s:tab_sel_fg, s:tab_sel_bg ] ]
88 | let s:p.tabline.middle = [ [ s:middle_fg, s:middle_bg] ]
89 | let s:p.tabline.right = [ [ s:normal_r1_fg, s:normal_r1_bg ] ]
90 |
91 | let s:p.normal.error = [ [ s:errorfg, s:errorbg ] ]
92 | let s:p.normal.warning = [ [ s:warningfg, s:warningbg ] ]
93 |
94 | let s:p.replace.left = [ [ s:replace_l1_fg, s:replace_l1_bg ], [ s:replace_l2_fg, s:replace_l2_bg ] ]
95 | "}}}
96 |
97 | let g:lightline#colorscheme#typewriter_dark#palette = lightline#colorscheme#flatten(s:p)
98 |
--------------------------------------------------------------------------------
/autoload/lightline/colorscheme/typewriter_light.vim:
--------------------------------------------------------------------------------
1 | let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
2 |
3 | let s:white1 = [ '#eeeeee', 255 ]
4 | let s:white2 = [ '#dfdfdf', 255 ]
5 | let s:white3 = [ '#d0d0d0', 255 ]
6 | let s:dark1 = [ '#4f4f4f', 255 ]
7 | let s:dark2 = [ '#424242', 255 ]
8 | let s:dark3 = [ '#3a3a3a', 255 ]
9 | let s:yellow = [ '#ba880e', 255 ]
10 | let s:red = [ '#9c1d0e', 255 ]
11 |
12 |
13 | "{{{
14 | let s:normal_l1_fg = s:white1
15 | let s:normal_l1_bg = s:dark3
16 | let s:normal_l2_fg = s:dark2
17 | let s:normal_l2_bg = s:white3
18 | let s:normal_r1_fg = s:white1
19 | let s:normal_r1_bg = s:dark3
20 | let s:normal_r2_fg = s:dark2
21 | let s:normal_r2_bg = s:white3
22 |
23 | let s:insert_l1_fg = s:white1
24 | let s:insert_l1_bg = s:dark3
25 | let s:insert_l2_fg = s:dark2
26 | let s:insert_l2_bg = s:white3
27 | let s:insert_r1_fg = s:white1
28 | let s:insert_r1_bg = s:dark3
29 | let s:insert_r2_fg = s:dark2
30 | let s:insert_r2_bg = s:white3
31 |
32 | let s:visual_l1_fg = s:white1
33 | let s:visual_l1_bg = s:dark3
34 | let s:visual_l2_fg = s:dark2
35 | let s:visual_l2_bg = s:white3
36 | let s:visual_r1_fg = s:white1
37 | let s:visual_r1_bg = s:dark3
38 | let s:visual_r2_fg = s:dark2
39 | let s:visual_r2_bg = s:white3
40 |
41 | let s:inactive_l1_fg = s:white1
42 | let s:inactive_l1_bg = s:dark3
43 | let s:inactive_l2_fg = s:dark2
44 | let s:inactive_l2_bg = s:white3
45 | let s:inactive_r1_fg = s:white1
46 | let s:inactive_r1_bg = s:dark3
47 | let s:inactive_r2_fg = s:dark2
48 | let s:inactive_r2_bg = s:white3
49 |
50 | let s:tab_l_fg = s:dark2
51 | let s:tab_l_bg = s:white3
52 | let s:tab_sel_fg = s:white3
53 | let s:tab_sel_bg = s:dark3
54 |
55 | let s:replace_l1_fg = s:visual_l1_fg
56 | let s:replace_l1_bg = s:visual_l1_bg
57 | let s:replace_l2_fg = s:visual_l2_fg
58 | let s:replace_l2_bg = s:visual_l2_bg
59 |
60 | let s:middle_fg = s:dark3
61 | let s:middle_bg = s:white1
62 |
63 | let s:warningfg = s:yellow
64 | let s:warningbg = s:white3
65 | let s:errorfg = s:red
66 | let s:errorbg = s:white3
67 | "}}}
68 |
69 | "{{{
70 | let s:p.normal.left = [ [ s:normal_l1_fg, s:normal_l1_bg ], [ s:normal_l2_fg, s:normal_l2_bg ] ]
71 | let s:p.normal.middle = [ [ s:middle_fg, s:middle_bg ] ]
72 | let s:p.normal.right = [ [ s:normal_r1_fg, s:normal_r1_bg ], [ s:normal_r2_fg, s:normal_r2_bg ] ]
73 |
74 | let s:p.insert.left = [ [ s:insert_l1_fg, s:insert_l1_bg ], [ s:insert_l2_fg, s:insert_l2_bg ] ]
75 | let s:p.insert.middle = [ [ s:middle_fg, s:middle_bg ] ]
76 | let s:p.insert.right = [ [ s:insert_r1_fg, s:insert_r1_bg ], [ s:insert_r2_fg, s:insert_r2_bg ] ]
77 |
78 | let s:p.visual.left = [ [ s:visual_l1_fg, s:visual_l1_bg ], [ s:visual_l2_fg, s:visual_l2_bg ] ]
79 | let s:p.visual.middle = [ [ s:middle_fg, s:middle_bg ] ]
80 | let s:p.visual.right = [ [ s:visual_r1_fg, s:visual_r1_bg ], [ s:visual_r2_fg, s:visual_r2_bg ] ]
81 |
82 | let s:p.inactive.left = [ [ s:inactive_l1_fg, s:inactive_l1_bg ], [ s:inactive_l2_fg, s:inactive_l2_bg ] ]
83 | let s:p.inactive.middle = [ [ s:middle_fg, s:middle_bg ] ]
84 | let s:p.inactive.right = [ [ s:inactive_r1_fg, s:inactive_r1_bg ], [ s:inactive_r2_fg, s:inactive_r2_bg ] ]
85 |
86 | let s:p.tabline.left = [ [ s:tab_l_fg, s:tab_l_bg] ]
87 | let s:p.tabline.tabsel = [ [ s:tab_sel_fg, s:tab_sel_bg ] ]
88 | let s:p.tabline.middle = [ [ s:middle_fg, s:middle_bg] ]
89 | let s:p.tabline.right = [ [ s:normal_r1_fg, s:normal_r1_bg ] ]
90 |
91 | let s:p.normal.error = [ [ s:errorfg, s:errorbg ] ]
92 | let s:p.normal.warning = [ [ s:warningfg, s:warningbg ] ]
93 |
94 | let s:p.replace.left = [ [ s:replace_l1_fg, s:replace_l1_bg ], [ s:replace_l2_fg, s:replace_l2_bg ] ]
95 | "}}}
96 |
97 | let g:lightline#colorscheme#typewriter_light#palette = lightline#colorscheme#flatten(s:p)
98 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Typewriter [▎](https://logico.com.ar)
2 |
3 | An iA Writer inspired theme. The files can be used indepently:
4 |
5 | - Vim color scheme (typewriter.vim)
6 | - Vim airline theme (typewriter-airline.vim)
7 | - Vim lightline theme (lightline.vim)
8 | - Xresources color scheme (typewriter.Xresources)
9 | - Tmux theme (typewriter-tmux)
10 |
11 | # ⚠️ DEPRECATED ⚠️
12 |
13 | This repo was splitted in:
14 |
15 | - [Typewriter VIm](https://github.com/logico/typewriter-vim)
16 | - [Typewriter Xresources](https://github.com/logico/typewriter-xresources)
17 | - [Typewriter TMUX](https://github.com/logico/typewriter-tmux)
18 | - [Typewriter CMUS](https://github.com/logico/typewriter-cmus)
19 | - [Typewriter GTK](https://github.com/logico/typewriter-gtk)
20 |
21 |
22 | ## Dependencies
23 |
24 | - urxvt
25 | - vim
26 | - [vim-airline](https://github.com/vim-airline/vim-airline)
27 | - Optional [vim-markdown](https://github.com/plasticboy/vim-markdown)
28 | - Optional [vim-pug](https://github.com/digitaltoad/vim-pug)
29 | - Optional Recommended [goyo.vim](https://github.com/junegunn/goyo.vim)
30 | - Optional Recommended [limelight.vim](https://github.com/junegunn/limelight.vim)
31 | - tmux
32 |
33 |
34 | ## Install
35 |
36 | - You can use your vim plugin manager of choice
37 | - Or manually
38 | - copy `colors/*.vim` to `~/.vim/colors/`
39 | - copy `autoload/airline` `~/.vim/autoload/`
40 | - Add this to .vimrc
41 | ```vim
42 | " Set typewriter as colorscheme
43 | colorscheme typewriter
44 |
45 | " Set typewriter airline theme
46 | let g:airline_theme = 'typewriter'
47 |
48 | " Activate FOCUS mode with F12
49 | nmap :Goyo Limelight!!"
50 |
51 |
52 | " Change the cursor from block to i-beam in INSERT mode
53 | let &t_SI = "\e[5 q"
54 | let &t_EI = "\e[1 q"
55 | augroup myCmds
56 | au!
57 | autocmd VimEnter * silent !echo -ne "\e[1 q"
58 | augroup END
59 | ```
60 |
61 | **Extra configs for tmux & Xresources**
62 |
63 | - Add this line to .Xresources `#include "/home/your_user/typewriter/typewriter.Xresources"`
64 | - Add this line to .tmux.conf `run-shell "/home/your_user/typewriter/typewriter-tmux/nord.tmux"`
65 |
66 | ---
67 |
68 | ## Screenshots
69 |
70 | 
71 |
72 | 
73 |
74 | 
75 |
76 | 
77 |
78 | 
79 |
80 | 
81 |
82 | 
83 |
84 | The font used in the screenshots is SF Mono 12 with letter space of -1 and
85 | line space of 8.
86 |
87 | ```
88 | # .Xresources file
89 | URxvt*letterSpace : -1
90 | URxvt*lineSpace : 8
91 | ```
92 |
93 | or if you use gVim o MacVim
94 |
95 | ```
96 | # .gvimrc file
97 | set linespace = 8
98 | ```
99 |
100 | ---
101 |
102 |
103 | ## TODO
104 |
105 | - ~~Finish the night themes~~
106 | - Finish xresources night theme
107 | - Finish tmux night theme
108 |
109 |
110 | ---
111 | ## Contributors
112 | - Vim lightline themes [sainnhe](https://github.com/sainnhe)
113 | - Code structure organization [Ahmed El Gabri](https://github.com/ahmedelgabri)
114 |
115 | ---
116 | ## Thanks
117 |
118 | Typewriter is based/inspired by these projects
119 |
120 | - [Nord tmux theme](https://github.com/arcticicestudio/nord-tmux)
121 | - [Vim colorschemes](https://github.com/flazz/vim-colorschemes)
122 | - [Vim Airline themes](https://github.com/vim-airline/vim-airline-themes)
123 | - [iA Writer](https://ia.net/writer/)
124 |
--------------------------------------------------------------------------------
/colors/typewriter-night.vim:
--------------------------------------------------------------------------------
1 | set background=dark
2 | highlight clear
3 |
4 | if exists("syntax on")
5 | hi clear
6 | hi clear CursorLine
7 | syntax reset
8 | endif
9 |
10 | let g:colors_name = "typewriter-night"
11 |
12 | hi Cursor guibg=#00BAFF
13 | hi Normal ctermfg=254 ctermbg=235 guifg=#E4E4E4 guibg=#262626
14 | hi Title ctermfg=254 ctermbg=235 guifg=#E4E4E4 guibg=#262626 term=bold cterm=bold
15 | hi Special ctermfg=250 ctermbg=NONE guifg=#BCBCBC guibg=NONE
16 | hi Comment ctermfg=239 ctermbg=NONE guifg=#4E4E4E guibg=NONE cterm=italic
17 | hi Constant ctermfg=252 ctermbg=NONE guifg=#D0D0D0 guibg=NONE
18 | hi String ctermfg=242 ctermbg=NONE guifg=#6C6C6C guibg=NONE
19 | hi Number ctermfg=252 ctermbg=NONE guifg=#D0D0D0 guibg=NONE
20 | hi htmlTagName ctermfg=254 ctermbg=NONE guifg=#E4E4E4 guibg=NONE
21 | hi Identifier ctermfg=250 ctermbg=NONE guifg=#BCBCBC guibg=NONE
22 | hi Statement ctermfg=242 ctermbg=NONE guifg=#6C6C6C guibg=NONE cterm=NONE
23 | hi Boolean ctermfg=252 ctermbg=NONE guifg=#D0D0D0 guibg=NONE cterm=NONE
24 | hi PreProc ctermfg=244 ctermbg=NONE guifg=#808080 guibg=NONE
25 | hi Type ctermfg=248 ctermbg=NONE guifg=#A8A8A8 guibg=NONE
26 | hi Function ctermfg=244 ctermbg=NONE guifg=#808080 guibg=NONE cterm=italic
27 | hi Repeat ctermfg=244 ctermbg=NONE guifg=#808080 guibg=NONE
28 | hi Operator ctermfg=248 ctermbg=NONE guifg=#A8A8A8 guibg=NONE
29 | hi Error ctermfg=9 ctermbg=NONE guifg=#FF0000 guibg=NONE
30 | hi TODO ctermfg=135 ctermbg=NONE guifg=#AF5FFF guibg=NONE cterm=italic
31 | hi linenr ctermfg=238 ctermbg=235 guifg=#444444 guibg=#262626 term=bold cterm=bold
32 | hi CursorLine ctermfg=254 ctermbg=NONE guifg=#E4E4E4 guibg=NONE
33 | hi CursorLineNR ctermfg=254 ctermbg=235 guifg=#E4E4E4 guibg=#262626 term=bold cterm=bold gui=bold
34 | hi Search ctermfg=234 ctermbg=153 guifg=#1C1C1C guibg=#AFD7FF term=bold cterm=bold gui=bold
35 | hi IncSearch ctermfg=234 ctermbg=121 guifg=#1C1C1C guibg=#87FFAF term=bold cterm=bold gui=bold
36 | hi WildMenu ctermfg=254 ctermbg=235 guifg=#E4E4E4 guibg=#262626
37 |
38 | " Messages
39 | hi ModeMsg ctermfg=254 ctermbg=235 guifg=#E4E4E4 guibg=#262626
40 | hi MoreMsg ctermfg=254 ctermbg=235 guifg=#E4E4E4 guibg=#262626
41 | hi WarningMsg ctermfg=202 ctermbg=235 guifg=#FF5F00 guibg=#262626
42 | hi ErrorMsg ctermfg=197 ctermbg=234 guifg=#FF005F guibg=#1C1C1C term=italic cterm=italic
43 |
44 | hi Visual ctermfg=235 ctermbg=153 guifg=#262626 guibg=#AFD7FF
45 | hi SpecialKey ctermfg=254 ctermbg=NONE guifg=#E4E4E4 guibg=NONE
46 | hi NonText ctermfg=238 ctermbg=NONE guifg=#E4E4E4 guibg=NONE
47 | hi ExtraWhitespace ctermbg=115 guibg=#87D7AF
48 | hi MatchParen ctermfg=250 ctermbg=238 guifg=#BCBCBC guibg=#444444 cterm=bold
49 | hi Pmenu ctermfg=254 ctermbg=233 guifg=#E4E4E4 guibg=#121212
50 | hi PmenuSel ctermfg=234 ctermbg=255 guifg=#1C1C1C guibg=#EEEEEE
51 | hi VertSplit ctermfg=233 ctermbg=235 guifg=#121212 guibg=#262626
52 | hi ColorColumn ctermbg=236 guibg=#303030
53 | hi Underlined ctermfg=245 ctermbg=NONE guifg=#949494 cterm=underline term=underline gui=underline
54 |
55 | match ExtraWhitespace /\s\+$/
56 |
57 | hi link character constant
58 | hi link number constant
59 | hi link boolean constant
60 | hi link Float Number
61 | hi link Conditional Repeat
62 | hi link Label Statement
63 | hi link Keyword Statement
64 | hi link Exception Statement
65 | hi link Include PreProc
66 | hi link Define PreProc
67 | hi link Macro PreProc
68 | hi link PreCondit PreProc
69 | hi link StorageClass Type
70 | hi link Structure Type
71 | hi link Typedef Type
72 | hi link htmlTag Special
73 | hi link Tag Special
74 | hi link SpecialChar Special
75 | hi link Delimiter Special
76 | hi link SpecialComment Special
77 | hi link Debug Special
78 |
79 |
80 | " sytnax specific
81 |
82 | " javascript (ala vim-javascript-syntax)
83 | hi javaScriptFuncArg ctermfg=244 ctermbg=NONE
84 | hi javaScriptFuncExp ctermfg=248
85 | hi javaScriptBraces cterm=NONE
86 |
87 | hi link javaScriptDocTags Comment
88 | hi link jsObjectSeparator Number
89 | hi link jsStorageClass String
90 | hi link jsObjectKey String
91 | hi link jsObjectProp String
92 | hi link jsFuncCall String
93 |
94 | " Markdown
95 | hi link markdownLinkDelimiter String
96 | hi link markdownLinkTextDelimiter String
97 | hi link mkdDelimiter String
98 | hi link markdownLinkText Normal
99 | hi link mkdLink Normal
100 | hi link markdownUrl Underlined
101 | hi link mkdUrl Underlined
102 |
103 | " Pug / HTML
104 | hi link pugId String
105 | hi link pugBegin String
106 | hi link pugTop String
107 | hi link pugIdChar String
108 | hi link pugClass String
109 | hi link pugClassChar String
110 | hi link pugAttributes String
111 |
112 | hi link htmlTag String
113 | hi htmlTagName ctermfg=249 ctermbg=NONE
114 | hi htmlArg ctermfg=249 ctermbg=NONE
115 | hi htmlTag ctermfg=249 ctermbg=NONE
116 | hi htmlEndTag ctermfg=249 ctermbg=NONE
117 |
118 | " CSS
119 | hi link cssBraces Special
120 |
121 | " go (ala vim-go)
122 | hi gotypes ctermfg=208 ctermbg=NONE cterm=italic
123 | hi goDirective ctermfg=242 ctermbg=NONE cterm=italic
124 |
125 | hi link goTodo TODO
126 | hi link goType gotypes
127 | hi link goSignedInts gotypes
128 | hi link goUnsignedInts gotypes
129 | hi link goFloats gotypes
130 | hi link goComplexes gotypes
131 |
132 | hi goOperator ctermfg=242
133 | hi goBuiltins ctermfg=70
134 | hi goDeclaration ctermfg=242
135 | hi goDeclType ctermfg=242
136 |
137 | hi goFunction ctermfg=242 ctermbg=NONE cterm=italic
138 | hi goMethod ctermfg=242 ctermbg=NONE cterm=NONE
139 | hi goStruct ctermfg=254 ctermbg=NONE cterm=NONE
140 | hi goStructDef ctermfg=254 ctermbg=NONE cterm=italic
141 |
142 |
143 | " NerdTree
144 | hi link NERDTreeDir Special
145 | hi NERDTreeFile ctermfg=241
146 |
--------------------------------------------------------------------------------
/colors/typewriter.vim:
--------------------------------------------------------------------------------
1 | set background=light
2 | highlight clear
3 |
4 | if exists("syntax on")
5 | hi clear
6 | hi clear CursorLine
7 | syntax reset
8 | endif
9 |
10 | let g:colors_name = "typewriter"
11 |
12 | hi Cursor guibg=#00BAFF
13 | hi Normal ctermfg=235 ctermbg=255 guifg=#424242 guibg=#EEEEEE
14 | hi Title ctermfg=235 ctermbg=255 guifg=#424242 guibg=#EEEEEE term=bold cterm=bold gui=bold
15 | hi Special ctermfg=234 ctermbg=NONE guifg=#1C1C1C guibg=NONE
16 | hi Comment ctermfg=247 ctermbg=NONE guifg=#9E9E9E guibg=NONE term=italic cterm=italic gui=italic
17 | hi Constant ctermfg=237 ctermbg=NONE guifg=#3A3A3A guibg=NONE
18 | hi String ctermfg=246 ctermbg=NONE guifg=#949494 guibg=NONE
19 | hi Number ctermfg=234 ctermbg=NONE guifg=#1C1C1C guibg=NONE
20 | hi htmlTagName ctermfg=235 ctermbg=NONE guifg=#424242 guibg=NONE
21 | hi Identifier ctermfg=239 ctermbg=NONE guifg=#4E4E4E guibg=NONE
22 | hi Statement ctermfg=242 ctermbg=NONE guifg=#6C6C6C guibg=NONE cterm=NONE
23 | hi Boolean ctermfg=242 ctermbg=NONE guifg=#6C6C6C guibg=NONE cterm=NONE
24 | hi PreProc ctermfg=244 ctermbg=NONE guifg=#808080 guibg=NONE
25 | hi Type ctermfg=239 ctermbg=NONE guifg=#4E4E4E guibg=NONE
26 | hi Function ctermfg=240 ctermbg=NONE guifg=#585858 cterm=italic gui=italic
27 | hi Repeat ctermfg=244 ctermbg=NONE guifg=#808080 guibg=NONE
28 | hi Operator ctermfg=239 ctermbg=NONE guifg=#4E4E4E guibg=NONE
29 | hi Error ctermfg=9 ctermbg=NONE guifg=#FF1493 guibg=NONE
30 | hi TODO ctermfg=135 ctermbg=NONE guifg=#AF5FFF guibg=NONE cterm=italic gui=italic
31 | hi linenr ctermfg=250 ctermbg=255 guifg=#BCBCBC term=bold cterm=NONE
32 | hi CursorLine ctermfg=235 ctermbg=NONE guifg=#262626 guibg=NONE
33 | hi CursorLineNR ctermfg=232 ctermbg=255 guifg=#080808 term=bold cterm=bold gui=bold
34 | hi Search ctermfg=235 ctermbg=153 guifg=#424242 guibg=#C1E7F4 cterm=bold gui=bold
35 | hi IncSearch ctermfg=235 ctermbg=121 guifg=#424242 guibg=#C3E9DB cterm=bold gui=bold
36 | hi WildMenu ctermfg=235 ctermbg=255 guifg=#424242 guibg=#EEEEEE
37 |
38 | " Messages
39 | hi ModeMsg ctermfg=235 ctermbg=255 guifg=#424242 guibg=#EEEEEE
40 | hi MoreMsg ctermfg=235 ctermbg=255 guifg=#424242 guibg=#EEEEEE
41 | hi WarningMsg ctermfg=202 ctermbg=255 guifg=#FF5F00 guibg=#EEEEEE
42 | hi ErrorMsg ctermfg=197 ctermbg=255 guifg=#E41D91 guibg=#EEEEEE cterm=italic gui=italic
43 |
44 | hi Visual ctermfg=235 ctermbg=153 guifg=#424242 guibg=#C1E7F4
45 | hi SpecialKey ctermfg=255 ctermbg=NONE
46 | hi NonText ctermfg=249 ctermbg=NONE
47 | hi ExtraWhitespace ctermbg=115 guibg=#87D7AF
48 | hi MatchParen ctermfg=234 ctermbg=253 guifg=#1C1C1C guibg=#DADADA cterm=bold gui=bold gui=bold
49 | hi Pmenu ctermfg=235 ctermbg=252 guifg=#424242 guibg=#D0D0D0
50 | hi PmenuSel ctermfg=255 ctermbg=234 guifg=#EEEEEE guibg=#1C1C1C
51 | hi VertSplit ctermfg=254 ctermbg=245 guifg=#E4E4E4 guibg=#8A8A8A
52 | hi ColorColumn ctermbg=254 guibg=#E4E4E4
53 | hi Underlined ctermfg=246 ctermbg=NONE guifg=#949494 cterm=underline term=underline gui=underline
54 |
55 | match ExtraWhitespace /\s\+$/
56 |
57 | hi link character constant
58 | hi link number constant
59 | hi link boolean constant
60 | hi link Float Number
61 | hi link Conditional Repeat
62 | hi link Label Statement
63 | hi link Keyword Statement
64 | hi link Exception Statement
65 | hi link Include PreProc
66 | hi link Define PreProc
67 | hi link Macro PreProc
68 | hi link PreCondit PreProc
69 | hi link StorageClass Type
70 | hi link Structure Type
71 | hi link Typedef Type
72 | hi link htmlTag Special
73 | hi link Tag Special
74 | hi link SpecialChar Special
75 | hi link Delimiter Special
76 | hi link SpecialComment Special
77 | hi link Debug Special
78 |
79 |
80 | " sytnax specific
81 |
82 | " javascript (ala vim-javascript-syntax)
83 | hi javaScriptFuncArg ctermfg=244 ctermbg=NONE guifg=#808080 guibg=NONE
84 | hi javaScriptFuncExp ctermfg=239 ctermbg=NONE guifg=#4E4E4E guibg=NONE
85 | hi javaScriptBraces cterm=NONE guibg=NONE
86 |
87 | hi link javaScriptDocTags Comment
88 | hi link jsObjectSeparator Number
89 | hi link jsStorageClass String
90 | hi link jsObjectKey String
91 | hi link jsObjectProp String
92 | hi link jsFuncCall String
93 |
94 | " Markdown
95 | " Support for plain markdown and markdown.vim plugin
96 | hi link markdownLinkDelimiter String
97 | hi link markdownLinkTextDelimiter String
98 | hi link mkdDelimiter String
99 | hi link markdownLinkText Normal
100 | hi link mkdLink Normal
101 | hi link markdownUrl Underlined
102 | hi link mkdUrl Underlined
103 |
104 | " Pug / HTML
105 | hi link pugId String
106 | hi link pugBegin String
107 | hi link pugTop String
108 | hi link pugIdChar String
109 | hi link pugClass String
110 | hi link pugClassChar String
111 | hi link pugAttributes String
112 |
113 | hi link htmlTag String
114 | hi htmlTagName ctermfg=246 ctermbg=NONE guifg=#949494 guibg=NONE
115 | hi htmlArg ctermfg=246 ctermbg=NONE guifg=#949494 guibg=NONE
116 | hi htmlTag ctermfg=246 ctermbg=NONE guifg=#949494 guibg=NONE
117 | hi htmlEndTag ctermfg=246 ctermbg=NONE guifg=#949494 guibg=NONE
118 |
119 | " CSS
120 | hi link cssBraces Special
121 |
122 | " go (ala vim-go)
123 | hi gotypes ctermfg=208 ctermbg=NONE cterm=italic gui=italic
124 | hi goDirective ctermfg=242 ctermbg=NONE guifg=#6C6C6C cterm=italic gui=italic
125 |
126 | hi link goTodo TODO
127 | hi link goType gotypes
128 | hi link goSignedInts gotypes
129 | hi link goUnsignedInts gotypes
130 | hi link goFloats gotypes
131 | hi link goComplexes gotypes
132 |
133 | hi goOperator ctermfg=242 guifg=#6C6C6C
134 | hi goBuiltins ctermfg=70
135 | hi goDeclaration ctermfg=242 guifg=#6C6C6C
136 | hi goDeclType ctermfg=242 guifg=#6C6C6C
137 |
138 | hi goFunction ctermfg=242 ctermbg=NONE guifg=#6C6C6C cterm=italic gui=italic
139 | hi goMethod ctermfg=242 ctermbg=NONE guifg=#6C6C6C cterm=NONE
140 | hi goStruct ctermfg=235 ctermbg=NONE guifg=#424242 cterm=NONE
141 | hi goStructDef ctermfg=235 ctermbg=NONE guifg=#424242 cterm=italic gui=italic
142 |
143 |
144 | " NerdTree
145 | hi link NERDTreeDir Special
146 | hi NERDTreeFile ctermfg=241
147 |
--------------------------------------------------------------------------------
/typewriter-tmux/README.md:
--------------------------------------------------------------------------------
1 | 
2 |
3 |
4 |
5 | An arctic, north-bluish clean and elegant tmux color theme.
6 |
7 | Designed for a fluent and clear workflow.
8 | Based on the Nord color palette.
9 |
10 | ---
11 |
12 | 
13 |
14 | - [Getting started](#getting-started)
15 | - [Installation](#installation)
16 | - [tmux Plugin Manager](#tmux-plugin-manager)
17 | - [Manual](#manual)
18 | - [Features](#features)
19 | - [Configuration](#configuration)
20 | - [Disable status content](#disable-status-content)
21 | - [No patched fonts](#no-patched-fonts)
22 | - [Plugin Support](#plugin-support)
23 | - [tmux-prefix-highlight](#tmux-prefix-highlight)
24 | - [Development](#development)
25 | - [Contribution](#contribution)
26 |
27 | ## Getting started
28 |
29 | ### Installation
30 |
31 | **NOTE**: Nord tmux is a 16 colorspace theme and **must** be used with the associated terminal emulator theme in order to work properly!
32 | Make sure to install one of the currently supported terminal themes listed below **before** installing Nord tmux.
33 |
34 | [](https://github.com/arcticicestudio/nord-gnome-terminal)
35 | [](https://github.com/arcticicestudio/nord-guake)
36 | [](https://github.com/arcticicestudio/nord-hyper)
37 | [](https://github.com/arcticicestudio/nord-iterm2)
38 | [](https://github.com/arcticicestudio/nord-konsole)
39 | [](https://github.com/arcticicestudio/nord-mintty)
40 | [](https://github.com/arcticicestudio/nord-putty)
41 | [](https://github.com/arcticicestudio/nord-terminal-app)
42 | [](https://github.com/arcticicestudio/nord-terminator)
43 | [](https://github.com/arcticicestudio/nord-tilix)
44 | [](https://github.com/arcticicestudio/nord-termite)
45 | [](https://github.com/arcticicestudio/nord-xfce-terminal)
46 | [](https://github.com/arcticicestudio/nord-xresources)
47 |
48 | #### tmux Plugin Manager
49 |
50 | The recommended method to install Nord tmux is via [`tpm`](https://github.com/tmux-plugins/tpm).
51 |
52 | Add Nord tmux to your `~/.tmux.conf`
53 |
54 | ```sh
55 | set -g @plugin 'arcticicestudio/nord-tmux'
56 | ```
57 |
58 | and press the default key binding `prefix` + I to fetch- and install the plugin.
59 |
60 | #### Manual
61 |
62 | [Clone the repository](https://help.github.com/articles/cloning-a-repository)
63 |
64 | ```sh
65 | git clone https://github.com/arcticicestudio/nord-tmux ~/.tmux/themes/nord-tmux
66 | ```
67 |
68 | and source the downloaded theme by adding it to the bottom of your `~/.tmux.conf`.
69 |
70 | ```sh
71 | run-shell "~/.tmux/themes/nord-tmux/nord.tmux"
72 | ```
73 |
74 | Reload your `~/.tmux.conf` file to source- and activate the theme.
75 |
76 | ```sh
77 | tmux source-file `~/.tmux.conf`
78 | ```
79 |
80 | ## Features
81 | Optimized styles for command bar- and widgets


82 |
83 | Fits to many terminal applications based on Nord

84 |
85 | ## Configuration
86 |
87 | ### Disable status content
88 |
89 | By default, this theme provides status bar content (including the powerline-styled
90 | background arrows).
91 |
92 | The status content can be disabled by setting the `@nord_tmux_show_status_content` to `0`:
93 |
94 | ```sh
95 | set -g @nord_tmux_show_status_content "0"
96 | ```
97 |
98 | #### No patched fonts
99 |
100 | The default status content makes use of patched fonts which can be disabled by setting the `@nord_tmux_no_patched_font` variable to `1`:
101 |
102 | ```sh
103 | set -g @nord_tmux_no_patched_font "1"
104 | ```
105 |
106 | 
107 |
108 | ## Plugin Support
109 | ### [tmux-prefix-highlight](https://github.com/tmux-plugins/tmux-prefix-highlight)
110 | Supports the *prefix*- and `copy-mode` status indicator.
111 |
112 | 

113 |
114 | ## Development
115 | [](https://github.com/arcticicestudio/nord-tmux/blob/v0.2.0/CHANGELOG.md) [](http://nvie.com/posts/a-successful-git-branching-model) [](https://github.com/arcticicestudio/arcver)
116 |
117 | ### Contribution
118 | Please report issues/bugs, feature requests and suggestions for improvements to the [issue tracker](https://github.com/arcticicestudio/nord-tmux/issues).
119 |
120 | 
121 |
122 | Copyright © 2017-present Arctic Ice Studio
123 |
124 |
125 |
--------------------------------------------------------------------------------