Stella Custom Themes
A collection of custom themes by Stella, adapted from CSS. Note: Gradient text effects and animated tab borders from original CSS are not fully supported in standard VS Code themes and have been simplified.
A collection of custom themes by Stella, adapted from CSS. Note: Gradient text effects and animated tab borders from original CSS are not fully supported in standard VS Code themes and have been simplified.
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 |
|---|---|---|
| comment, punctuation.definition.comment | #5C6370 | — |
| string, punctuation.definition.string | #98C379 | — |
| constant.numeric | #D19A66 | — |
| keyword, storage.type, storage.modifier | #C678DD | — |
| source | #20DAC1 | — |
| invalid, invalid.illegal | #595959 | — |
| markup.bold, punctuation.definition.bold | #147F0D | bold |
| entity.name.function, support.function, meta.function-call.generic | #50FA7B | — |
| constant.language, support.constant | #934DBB | — |
| variable, variable.parameter, support.variable, entity.name.variable | #20DAC1 | — |
| markup.italic, punctuation.definition.italic | #FFB1E4 | italic |
| entity.name.type, entity.name.class, support.type, support.class, storage.type.cs | #61AFEF | — |
| punctuation, meta.brace, keyword.operator | #FFD700 | — |
| entity.name.tag, meta.tag, punctuation.definition.tag | #E06C75 | — |
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 |
|---|---|---|
| comment, punctuation.definition.comment | #6272A4 | — |
| string, punctuation.definition.string | #F1FA8C | — |
| constant.numeric | #BD93F9 | — |
| keyword, storage.type, storage.modifier | #FF79C6 | — |
| punctuation, meta.brace, keyword.operator | #FFFF00 | — |
| entity.name.function, support.function, meta.function-call.generic | #50FA7B | — |
| entity.name.type, entity.name.class, support.type, support.class, storage.type.cs | #8BE9FD | — |
| variable, variable.parameter, support.variable, entity.name.variable | #50FA7B | — |
| entity.name.tag, meta.tag, punctuation.definition.tag | #FF79C6 | — |
| constant.language, support.constant | #BD93F9 | — |
| source | #F8F8F2 | — |
| invalid, invalid.illegal | #6272A4 | — |
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 |
|---|---|---|
| comment, punctuation.definition.comment | #6A9955 | — |
| string, punctuation.definition.string | #CE9178 | — |
| constant.numeric | #B5CEA8 | — |
| keyword, storage.type, storage.modifier | #569CD6 | — |
| punctuation, meta.brace, keyword.operator | #FFFF00 | — |
| entity.name.function, support.function, meta.function-call.generic | #50FA7B | — |
| variable, variable.parameter, support.variable, entity.name.variable | #F0B953 | — |
| entity.name.tag, meta.tag, punctuation.definition.tag | #F0B953 | — |
| entity.name.type, entity.name.class, support.type, support.class, storage.type.cs | #67E2FD | — |
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}!`;
}
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}!`;
}