Webpark
A comprehensive collection of 10 vibrant and modern color themes designed for enhanced coding experience. Includes multiple variants: Primary, Dark, Light, Dimmed, High Contrast, Monokai, Dracula, Nord, One Dark, and Pastel.
A comprehensive collection of 10 vibrant and modern color themes designed for enhanced coding experience. Includes multiple variants: Primary, Dark, Light, Dimmed, High Contrast, Monokai, Dracula, Nord, One Dark, and Pastel.
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 | #008000 | italic |
| variable, string constant.other.placeholder | #001080 | — |
| keyword, storage.type, storage.modifier | #0000ff | — |
| string, string.quoted | #a31515 | — |
| constant.numeric | #098658 | — |
| entity.name.function, support.function | #795e26 | — |
| entity.name.class, entity.name.type | #267f99 | — |
| constant.language, constant.other | #0000ff | — |
| keyword.operator | #000000 | — |
| punctuation.separator, punctuation.terminator | #000000 | — |
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 | #75715e | italic |
| variable, string constant.other.placeholder | #f8f8f2 | — |
| keyword, storage.type, storage.modifier | #f92672 | — |
| string, string.quoted | #e6db74 | — |
| constant.numeric | #ae81ff | — |
| entity.name.function, support.function | #a6e22e | — |
| entity.name.class, entity.name.type | #a6e22e | — |
| constant.language, constant.other | #66d9ef | — |
| keyword.operator | #f92672 | — |
| punctuation.separator, punctuation.terminator | #f8f8f2 | — |
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 | #4c566a | italic |
| variable, string constant.other.placeholder | #eceff4 | — |
| keyword, storage.type, storage.modifier | #81a1c1 | — |
| string, string.quoted | #a3be8c | — |
| constant.numeric | #b48ead | — |
| entity.name.function, support.function | #88c0d0 | — |
| entity.name.class, entity.name.type | #8fbcbb | — |
| constant.language, constant.other | #81a1c1 | — |
| keyword.operator | #81a1c1 | — |
| punctuation.separator, punctuation.terminator | #eceff4 | — |
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 | italic |
| variable, string constant.other.placeholder | #e06c75 | — |
| keyword, storage.type, storage.modifier | #c678dd | — |
| string, string.quoted | #98c379 | — |
| constant.numeric | #d19a66 | — |
| entity.name.function, support.function | #61afef | — |
| entity.name.class, entity.name.type | #e5c07b | — |
| constant.language, constant.other | #56b6c2 | — |
| keyword.operator | #56b6c2 | — |
| punctuation.separator, punctuation.terminator | #abb2bf | — |
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}!`;
}
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}!`;
}