

GitHub - arzg/vim-colors-xcode: Xcode 11’s dark and light colourschemes, now for...
source link: https://github.com/arzg/vim-colors-xcode
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md
vim-colors-xcode


Xcode 11’s dark and light colourschemes, now for Vim!
made in Colortemplate, the Toolkit for Vim Colourscheme DesignersInstallation
Use your favorite runtimepath/plugin manager, or place xcodedark.vim
and xcodelight.vim
into ~/.vim/colors/
for *nix and %userprofile%\vimfiles\colors\
for Windows.
Language Support
This colourscheme has been carefully tuned for the following language plugins:
- CSS (hail2u/vim-css3-syntax)
- Git (tpope/vim-git)
- Go (fatih/vim-go)
- HTML (othree/html5.vim)
- JSON (built-in)
- JavaScript (pangloss/vim-javascript)
- Markdown (tpope/vim-markdown)
- Rust (rust-lang/rust.vim)
- SCSS (cakebaker/scss-syntax.vim)
- VimL (built-in)
Options
Use :help xcodedark
and :help xcodelight
to view a list of all the possible options from within Vim. Add either g:xcodedark_
or g:xcodelight_
in front of every option name for use. For example, emph_funcs
would turn into g:xcodedark_emph_funcs
if you want it to apply to the dark variant and g:xcodelight_emph_funcs
for the light version.
Comment Style
green_comments
Dark
Light
0


1


Syntax Item Emphasis
emph_types
, emph_funcs
, emph_idents
Dark
Light
1
,0
,0


0
,1
,0


0
,1
,1


Usage
If you’re using a GUI, then vim-colors-xcode should work out of the box. However, if you’re planning to use vim-colors-xcode in a terminal, the terminal must support 24-bit colour, also known as True Colour. If you want other terminal output to match with vim-colors-xcode, then set its colours to match the ones below:
Dark:
Colour
Normal
Bright
Black
#33343c
#7f8c98
Red
#ff8170
#ff8170
Green
#78c2b3
#acf2e4
Yellow
#d9c97c
#ffa14f
Blue
#4eb0cc
#6bdfff
Magenta
#ff7ab2
#ff7ab2
Cyan
#b281eb
#dabaff
White
#dfdfe0
#dfdfe0
Foreground
#dfdfe0
Background
#292a30
Light:
Colour
Normal
Bright
Black
#e5e5e5
#8a99a6
Red
#d12f1b
#d12f1b
Green
#3e8087
#23575c
Yellow
#78492a
#78492a
Blue
#0f68a0
#0b4f79
Magenta
#ad3da4
#ad3da4
Cyan
#804fb8
#4b21b0
White
#262626
#262626
Foreground
#262626
Background
#ffffff
iTerm presets for both of these are included with this repository.
If you would like to have italic comments add the following to your vimrc
:
augroup vim-colors-xcode
autocmd!
augroup END
autocmd vim-colors-xcode ColorScheme * hi Comment cterm=italic gui=italic
autocmd vim-colors-xcode ColorScheme * hi SpecialComment cterm=italic gui=italic
The font in the screenshots is SF Mono, which you can download from Apple’s website.
Recommend
-
156
Dark Background and Light Text by
-
85
Dark Background and Light Text by
-
76
There are two hard things in computer science: cache invalidation, naming things, and deciding which editor theme to choose. I've been lately trying out a light theme and wanted to take the chance also for lookin...
-
60
vim-substrata
-
14
App Theming in Flutter – Dark Mode/ Light Mode In this article, we will see how to theme our apps in Flutter. As you know Google and Apple has released Dark Mode and Light Modes in their latest OS releas...
-
18
Calculadora React Native Calculator with light and dark theme made with React Native. Calculator built in React Native Expo. The application has a light and dark theme, and is part of a personal study in React Native.
-
6
Hey There Devs! ? Hope you are doing great with your projects. Why this post? ? As a developer we develop projects, write code all day around and we might also publish it on
-
8
Bootstrap 5.3.0 emphasizes dark mode, custom colors Bootstrap 5.3.0 mobile-first web framework features a revamped core, improving support for dark mode...
-
6
Instantly share code, notes, and snippets.
-
7
Access Images and Colors with Enum in Xcode 15 19 Jun 2023 ⋅ 4 min read ⋅ Xcode...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK