Dank Theme
Publisher: Soggy BoiThemes in package: 1
Dank theme to increase productivity by up to 420%
Dank theme to increase productivity by up to 420%
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 | #BBBBBB4D | italic |
| constant | #499FA5 | — |
| constant.character.escape | #27E6C6 | — |
| entity.name | #BAFFFC | — |
| entity.name.function | #27E6C6 | — |
| entity.name.tag | #21BACE | — |
| entity.name.type, storage.type.cs | #BAFFFC | — |
| entity.other.attribute-name | #499FA5 | italic |
| entity.other.inherited-class | #21BACE | — |
| entity.other.attribute-name.id | #27E6C6 | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class | #21BACE | — |
| entity.name.variable, variable | #21BACE | — |
| keyword | #929FE9 | italic |
| keyword.operator | #F5F5F5 | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.logical, keyword.operator.delete | #929FE9 | — |
| keyword.other.unit | #499FA5 | — |
| markup.quote | #499FA5 | italic |
| markup.heading, entity.name.section | #21BACE | — |
| markup.bold | #929FE9 | bold |
| markup.italic | #27E6C6 | italic |
| markup.inline.raw, markup.fenced_code.block | #499FA5 | — |
| markup.underline.link | #21BACE | — |
| storage | #929FE9 | italic |
| string.quoted, string.template | #BAFFFC | — |
| string.regexp | #DF2773 | — |
| string.other.link | #499FA5 | — |
| support | #BAFFFC | — |
| support.function | #27E6C6 | — |
| support.variable | #21BACE | — |
| support.type.property-name, meta.object-literal.key | #21BACE | — |
| support.type.property-name.css | #C5C5C5 | — |
| variable.language | #BAFFFC | italic |
| variable.parameter | — | italic |
| string.template meta.embedded | #C5C5C5 | — |
| punctuation.definition.tag | #21BACE | — |
| punctuation.separator | #C5C5C5 | — |
| punctuation.definition.template-expression | #929FE9 | — |
| punctuation.section.embedded | #929FE9 | — |
| punctuation.definition.list | #499FA5 | — |
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}!`;
}