Rika Unicorn

A soft, pastel color theme and file icon set for Visual Studio Code.

  • 4 color themes
  • 71 icons
  • 44 languages
  • Free
A white unicorn with a pink and purple mane full of flowers

Four themes

Two light and two dark, all from the same palette. Pick one to preview it.

Midnight blue from the mane, with pink keywords and golden strings.

Rika Unicorn Dark dark

File  Edit  Selection  View  Go  Run  … ⌕  rika-project —   ▢   ✕
3
EXPLORER
⌄ RIKA-PROJECT
⌄src
›components
›styles
App.tsxM
App.test.tsx
index.ts
main.js
theme.scssU
›assets
›docs
›tests
›.vscode
›.github
›dist
›node_modules
›notes
.gitignore
app.py
data.json
index.html
LICENSE
package.json
README.mdM
unicorn.pngA
App.tsx×
theme.scss●
README.md
src › App.tsx › Meadow › bloom
1import { useState } from 'react';
2import type { Unicorn } from './types';
3
4// A little magic every day ✨
5const COLORS = ['pink', 'lilac', 'gold'] as const;
6
7@sparkle()
8export class Meadow<T extends Unicorn> {
9 private flowers = 42;
10
11 constructor(public readonly name: string) {}
12
13 bloom(count: number = 3): string {
14 const petals = this.flowers * count;
15 return `🌸 ${this.name} has ${petals} petals!\n`;
16 }
17}
18
19export function App({ title }: { title: string }) {
20 const [happy, setHappy] = useState(true);
21 if (!happy) return null;
22 return <div className="sweet" onClick={() => setHappy(false)}>{title}</div>;
23}
PROBLEMS 1OUTPUT TERMINAL Button Secondary
➜ rika-project git:(main) npm run build
> rika-unicorn-theme build
✔ 4 color themes ready
✔ all icons in bloom
⚠ 1 butterfly flew away
ℹ rainbow: ♥ ♥ ♥ ♥ ♥ ♥
➜ rika-project
>< ⎇ main*⊗ 0  ⚠ 1 Ln 14, Col 52Spaces: 2UTF-8{ } TypeScript JSX

Swipe sideways to see the whole editor.

Palette

Every color comes from the artwork: the mane, the horn, the flowers, the butterfly and the card. 23 colors in total.

Mane

  • hotPink#F0296C
  • pink#FB85AA
  • blush#F7B2CB
  • rose#E65494
  • magenta#AD2471
  • lilac#AC6ECB
  • purple#914BB0
  • plum#6A4F95
  • indigo#36246E
  • midnight#1E1348

Horn & flowers

  • gold#FDC56B
  • yellow#FCC012
  • cream#FCECC6
  • red#EE2440
  • orange#FF7A1C
  • peach#F68258
  • leaf#7FB155
  • white#FFFFFF

Butterfly & card

  • sky#8BD7F9
  • blue#4BAFEA
  • ocean#357FC6
  • flowerBlue#2F6FB8
  • teal#4B99A7

Readable code

Each syntax color is checked against its background: at least 4.5:1 for code and 3:1 for comments (WCAG).

RoleUnicorn DarkUnicorn LightButterfly SkySweet Teal
Keywordreturn6.5:1return4.6:1return5.2:1return5.2:1
Functionbloom()9.1:1bloom()4.5:1bloom()5.5:1bloom()8.1:1
TypeMeadow7.7:1Meadow6.0:1Meadow6.3:1Meadow6.5:1
String'sweet'12.0:1'sweet'4.6:1'sweet'5.4:1'sweet'9.0:1
Number428.5:1425.2:1425.2:1426.7:1
Property.flowers10.2:1.flowers7.4:1.flowers7.1:1.flowers8.3:1
Built-instring9.9:1string4.9:1string5.1:1string9.6:1
Comment// magic4.5:1// magic3.5:1// magic3.5:1// magic4.9:1

Swipe the table to compare all 4 themes.

File icons

Each language gets a flower, tulip, butterfly or star in its usual colors. Folders get a color and a sticker.

On a dark theme

  • default
  • src
  • components
  • assets
  • test
  • docs
  • modules
  • git
  • config
  • dist
  • styles
  • root
  • file
  • javascript
  • typescript
  • jsx
  • tsx
  • json
  • markdown
  • readme
  • html
  • css
  • scss
  • less
  • python
  • java
  • csharp
  • cpp
  • c
  • go
  • rust
  • php
  • ruby
  • kotlin
  • swift
  • dart
  • vue
  • svelte
  • shell
  • powershell
  • bat
  • yaml
  • toml
  • config
  • env
  • xml
  • sql
  • docker
  • text
  • log
  • csv
  • image
  • font
  • archive
  • git
  • npm
  • lock
  • license
  • test

On a light theme

  • default
  • src
  • components
  • assets
  • test
  • docs
  • modules
  • git
  • config
  • dist
  • styles
  • root
  • file
  • javascript
  • typescript
  • jsx
  • tsx
  • json
  • markdown
  • readme
  • html
  • css
  • scss
  • less
  • python
  • java
  • csharp
  • cpp
  • c
  • go
  • rust
  • php
  • ruby
  • kotlin
  • swift
  • dart
  • vue
  • svelte
  • shell
  • powershell
  • bat
  • yaml
  • toml
  • config
  • env
  • xml
  • sql
  • docker
  • text
  • log
  • csv
  • image
  • font
  • archive
  • git
  • npm
  • lock
  • license
  • test

How it’s made

Everything is generated from code, so one change to the palette updates every theme, icon and screenshot.

  1. Sample

    Pillow pulls a 23-color palette out of the artwork.

  2. Generate

    One file writes 414 UI colors and 47 syntax rules per theme.

  3. Draw

    Nine SVG motifs become 71 file and folder icons.

  4. Check

    The build flags any code color below the contrast target.

  5. Package

    A small script zips it all into a .vsix.

Install

Search for Rika Unicorn in the Extensions view (Ctrl Shift X), or run this command.

code --install-extension mazsola739.rika-unicorn-theme
  1. Choose a theme: Ctrl K then Ctrl T, and pick Rika Unicorn Dark, Light, Butterfly Sky or Sweet Teal.
  2. Turn on the icons: Ctrl Shift P, then File Icon Theme, then Rika Unicorn Icons.

Prefer a file? Download the .vsix from GitHub.