No Happiness in Colors (Minimal Dark Theme)
Publisher: Zach OroszThemes in package: 1
There is no happiness in colors. A minimal, dark syntax theme for Visual Studio Code that doesn't make your code look like a parrot.
There is no happiness in colors. A minimal, dark syntax theme for Visual Studio Code that doesn't make your code look like a parrot.
Full workbench mockup using this variant's colors and tokenColors.
Loading...
Workbench UI color keys from the theme JSON colors map.
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| — | #c2c2b0ff | — |
| comment | #444444 | — |
| string | #666666 | — |
| constant.numeric | #666666 | — |
| constant.language | #888888 | — |
| constant.character, constant.other | #888888 | — |
| variable | #888888 | |
| keyword | #999999 | — |
| storage | #999999 | — |
| storage.type | #999999 | — |
| entity.name.class | #999999 | — |
| entity.other.inherited-class | #999999 | — |
| entity.name.function | #999999 | |
| variable.parameter | #999999 | — |
| entity.name.tag | #888888 | |
| entity.other.attribute-name | #999999 | |
| support.function | #999999 | — |
| support.constant | #999999 | — |
| support.type, support.class | #999999 | — |
| support.other.variable | — | |
| invalid | #F8F8F0 | |
| invalid.deprecated | #FFFFFF | — |
| entity.name.section.markdown | #999999 | — |
| beginning.punctuation.definition.list.markdown | #999999 | — |
| keyword.operator | #999999 | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
TypeScript sample highlighted with this variant's colors and tokenColors.
Loading...
export interface User {
id: string;
name: string;
role: "admin" | "member";
tags: string[];
}
/**
* Fetch user data by ID
* @param id
* @returns User object or null if ID is invalid
*/
export async function fetchUser(id: string): Promise<User | null> {
if (!id) {
return null;
}
const response = await fetch(`/api/users/${id}`, {
method: "GET",
headers: { Accept: "application/json" },
});
if (!response.ok) {
throw new Error(`HTTP ${response.status}`);
}
return (await response.json()) as User;
}
function greet(user: User): string {
// Simple greeting function that uses the user's name
return `Hello, ${user.name}!`;
}
export interface User {
id: string;
name: string;
role: "admin" | "member";
tags: string[];
}
/**
* Fetch user data by ID
* @param id
* @returns User object or null if ID is invalid
*/
export async function fetchUser(id: string): Promise<User | null> {
if (!id) {
return null;
}
const response = await fetch(`/api/users/${id}`, {
method: "GET",
headers: { Accept: "application/json" },
});
if (!response.ok) {
throw new Error(`HTTP ${response.status}`);
}
return (await response.json()) as User;
}
function greet(user: User): string {
// Simple greeting function that uses the user's name
return `Hello, ${user.name}!`;
}