Sakura Flower
A dark theme for VS Code. The base is a neutral gray, with pink, purple, coral, blue, cyan, teal and orange accents.
Screenshots


Icon
A sakura flower in the theme colors, drawn in images/icon.svg. images/icon.png (256 px) is generated from it with:
rsvg-convert -w 256 -h 256 images/icon.svg -o images/icon.png
Palette
| Color |
Hex |
Used for |
Contrast with the background |
| Graphite |
#1F1F1E |
editor background |
— |
| Charcoal |
#1B1B1A |
sidebars, tabs, panel, terminal, status bar |
— |
| Pink |
#FE6B93 |
cursor, active tab, interface accents |
— |
| Wine |
#9E164A |
status bar item, button hover |
— |
| Raspberry |
#BC3468 |
buttons, badges |
— |
| Amethyst |
#8D70AC |
links and modified files in the interface, search matches, activity bar badges, status bar while debugging, interface error messages |
4.14:1 on the panels |
| Orchid |
#E37FAF |
keywords, tags, interpolation |
6.22:1 |
| Steel blue |
#89B0D4 |
functions and methods |
7.25:1 |
| Lavender blue |
#788ABD |
strings |
4.85:1 |
| Cyan |
#7DCBE8 |
types and classes |
9.10:1 |
| Coral |
#DC716E |
numbers, true/false, enum members |
5.21:1 |
| Orange |
#FF8426 |
HTML attributes, Markdown links |
6.74:1 |
| Apricot |
#E9A366 |
parameters |
7.77:1 |
| Teal |
#64BCAC |
this/self |
7.33:1 |
| Mauve |
#B07EB2 |
properties |
5.09:1 |
| Dusty pink |
#CCA1BC |
decorators |
7.38:1 |
| Light gray |
#B0B3AF |
namespaces and modules |
7.79:1 |
| Stone |
#CCCBC4 |
text, variables |
10.14:1 |
| Blue gray |
#808989 |
operators, punctuation |
4.60:1 |
| Slate |
#565F5F |
comments |
2.51:1 |
| Scarlet |
#FC3C33 |
errors |
4.58:1 |
Contrast is measured against the editor background with the WCAG 2 formula. Except for slate, every code text color meets the 4.5:1 minimum of level AA. Slate is below it on purpose, so comments stay in the background. Selections are neutral gray (#383838 in the editor, #2A2A2A in lists). Unused code is shown at about 31% opacity.
The 0.6.0 code colors were chosen in the interactive lab, starting from 0.5.0. The lab is in tools/lab.html and opens directly in a browser.
Interface (0.7.0)
In 0.7.0 the interface follows the same rules as the editor, so reading in the panels (chat, sidebar, notifications) is less tiring:
|
0.6.1 |
0.7.0 |
| Panel and bar background |
#171717 |
#1B1B1A |
| Panel text |
#CCC8B9, 10.70:1 |
#C4C3BC, 9.75:1 |
| Active item text |
#D6D0C5 |
#CCCBC4, same as the code |
| Inline code in text |
#F3D9A0 on #2F2F2F |
#D4B8A1 on #2A2A29 |
| Hover widgets and menus |
#222222 |
#262625 |
The accent colors left over from 0.5.0 moved to the new palette: information in blue #89B0D4, warnings in apricot #E9A366, success and the current side of merge conflicts in teal #64BCAC. The terminal got its own colors at the same lightness as the code (green #6FC884, yellow #E2C06D, blue #89B0D4, magenta #E37FAF, cyan #7DCBE8). The diff colors (green #9CCB8A, scarlet #FC3C33) did not change.
In 0.7.1 the interface orange (links, modified files, search matches, change markers in the gutter) was replaced by amethyst #8D70AC.
Comfort adjustments (0.2.0)
- Main text in a stone tone, no pure white.
- Italics only in comments.
- Colored brackets in three soft colors (since 0.6.0:
#A37DB1, #E27BAC, #A9B6D3).
Outside the theme, the American Academy of Ophthalmology recommends the 20-20-20 rule: every 20 minutes, look at something about 20 feet (6 meters) away for 20 seconds.
Comparison with Dark 2026 (VS Code 1.148 default)
|
Dark 2026 |
Sakura Flower |
| Editor background |
#121314 |
#1F1F1E |
| Main text |
#BBBEBF, 9.95:1 |
#CCCBC4, 10.14:1 |
| Comments |
#6A9955, 5.58:1 |
#565F5F, 2.51:1 |
| Line numbers |
#858889, 5.21:1 |
#8B8883, 4.67:1 |
| Interface accent |
blue #3994BC |
pink #FE6B93 |
Try it
- Open this folder in VS Code.
- Press F5. A new window opens with the theme loaded and the
samples/ folder.
- In the new window, press
Cmd+K Cmd+T and choose Sakura Flower.
After editing themes/sakura-flower-color-theme.json, reload the test window with Cmd+R.
To check the contrast of the code colors:
python3 tools/contrast.py themes/sakura-flower-color-theme.json
Install
npx @vscode/vsce package --githubBranch master
code --install-extension sakura-flower-theme-0.7.4.vsix