Stardust Dark
Publisher: StarcrusherThemes in package: 1
A modern dark theme for VS Code
A modern dark theme for VS Code
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 | #ffffff80 | |
| constant.other.color | #4d9aff | — |
| invalid, invalid.illegal, invalid.deprecated | #ff5100 | — |
| punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin, punctuation.definition.tag.begin.html, punctuation.definition.tag.end, punctuation.definition.tag.end.html, keyword.other.template, keyword.other.substitution | #f5f5f5 | — |
| punctuation.section.embedded, punctuation.definition.tag, punctuation.separator, punctuation.terminator, punctuation.accessor | #ff3c49 | — |
| markup.heading, markup.inserted.git_gutter | #ec6262 | — |
| markup.inserted | #8de892 | — |
| markup.deleted | #e88d8d | — |
| markup.changed | #f3e568 | — |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #8093e4 | italic underline |
| source.js constant.other.object.key.js string.unquoted.label.js | #ff3c49 | italic |
| source.json meta.structure.dictionary.json support.type.property-name.json | #8093e4 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #abb4df | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #09b8a0 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #84d4ca | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #2db862 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #85caa0 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #aab82d | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #bec57b | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #e2a92d | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #ddb869 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #ec3d30 | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #f5f5f5 | — |
| text.html.markdown markup.heading.markdown punctuation.definition.heading.markdown, text.html.markdown markup.heading.markdown entity.name.section.markdown | #f5f5f5 | — |
| text.html.markdown markup.heading.markdown heading.1.markdown punctuation.definition.heading.markdown, text.html.markdown markup.heading.markdown heading.1.markdown entity.name.section.markdown | #8093e4 | — |
| text.html.markdown markup.heading.markdown heading.2.markdown punctuation.definition.heading.markdown, text.html.markdown markup.heading.markdown heading.2.markdown entity.name.section.markdown | #2db862 | — |
| text.html.markdown markup.heading.markdown heading.3.markdown punctuation.definition.heading.markdown, text.html.markdown markup.heading.markdown heading.3.markdown entity.name.section.markdown | #aab82d | — |
| text.html.markdown markup.heading.markdown heading.4.markdown punctuation.definition.heading.markdown, text.html.markdown markup.heading.markdown heading.4.markdown entity.name.section.markdown | #e2a92d | — |
| text.html.markdown markup.heading.markdown heading.5.markdown punctuation.definition.heading.markdown, text.html.markdown markup.heading.markdown heading.5.markdown entity.name.section.markdown | #ec3d30 | — |
| markup.italic | #ffb039 | italic |
| markup.bold, markup.bold string | #4d9aff | bold |
| markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string | #4dff65 | bold italic |
| markup.underline | #F78C6C | underline |
| markup.quote punctuation.definition.blockquote.markdown | #ffc368 | — |
| markup.quote | #ffc368 | italic |
| string.other.link.title.markdown, markup.underline.link.markdown, markup.underline.link.image.markdown | #f3a228 | — |
| string.other.link.description.title.markdown | #C792EA | — |
| constant.other.reference.link.markdown | #bb7f26 | — |
| markup.raw.block | #8093e4 | — |
| markup.raw.block.fenced.markdown | #8093e4 | — |
| punctuation.definition.fenced.markdown | #8093e4 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #ff5050 | — |
| variable.language.fenced.markdown | #65737E | — |
| meta.separator | #65737E | bold |
| markup.table | #f5f5f5 | — |
| keyword.operator, keyword.control, keyword.other, keyword.type.graphql, storage, storage.type, storage.modifier, entity.name.tag, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #ff3c49 | — |
| entity.name | #d66bc4 | italic |
| entity.name.class | #ebb5a4 | bold |
| entity.name.function | #8093e4 | italic |
| entity.name.method | #97c039 | italic |
| entity.name.type | #8868d3 | bold |
| entity.other.attribute-name | #40c58e | — |
| entity.other.inherited-class | #834eff | — |
| keyword.operator.assignment | #f5f5f5 | — |
| constant | #4d9aff | — |
| constant.rgb-value | #4d9aff | — |
| constant.language | #4d9aff | — |
| constant.numeric | #4d9aff | — |
| constant.character | #ff3c49 | — |
| constant.other | #ff3c49 | — |
| variable.name | #f5f5f5 | italic |
| variable.language | #b277ff | — |
| variable.parameter | #ffb039 | italic |
| variable.other.constant | #d8aab0 | — |
| variable.other.readwrite | #f5f5f5 | italic |
| variable.other.readwrite.alias | #f5f5f5 | — |
| support.class | #b56fdd | — |
| support.constant | #b56fdd | — |
| support.function | #ffef5b | italic |
| support.type | #ff3c49 | italic |
| support.type.property-name | #7696d1 | |
| variable.other.property, variable.other.property declaration | #99c2ff | italic |
| variable.other.object.property | #99c2ff | italic |
| support.other | #ffaaaa | — |
| string.template, string.quoted.single, string.quoted.double, string.quoted.other, punctuation.definition.string.begin, punctuation.definition.string.end, punctuation.definition.string.template.begin, punctuation.definition.string.template.end | #ffc368 | — |
| string.quoted.triple, string.quoted.docstring.multi.python, punctuation.definition.string.begin.python, punctuation.definition.string.end.python | #ccc231 | — |
| string.unquoted | #ffc368 | — |
| string.interpolated | #ffc368 | underline |
| string.regexp | #ff9f68 | underline |
| meta.function-call.generic | #8093e4 | — |
| *url*, *link*, *uri* | #ff0000 | italic underline |
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}!`;
}