Clear Dawn Dark
Desaturated greenish and blueish, high contrast, dark themes (and two retro monochromatic extras)
Desaturated greenish and blueish, high contrast, dark themes (and two retro monochromatic extras)
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 |
|---|---|---|
| emphasis | — | italic |
| strong | — | bold |
| meta.diff.header | #ADA | — |
| comment | #607068 | — |
| constant.language | #BFC | — |
| constant.numeric | #FEE | — |
| constant.regexp | #F80 | — |
| entity.name.tag | — | bold |
| entity.name.selector | #BFC | — |
| entity.other.attribute-name | #BFC | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss | #BFC | — |
| entity.other.attribute-name.id.css, source.css.less entity.other.attribute-name.id | #FCB | — |
| invalid | #F40 | — |
| markup.underline | — | underline |
| markup.bold | — | bold |
| markup.heading | #F40 | bold |
| markup.italic | — | italic |
| markup.list | #BFC | — |
| markup.list.numbered | #BFC | — |
| markup.list.numbered | #BFC | — |
| markup.quote | #9A7 | — |
| markup.raw | #9A7 | — |
| markup.inline.raw | #9A7 | — |
| markup.inserted | #00D080 | — |
| markup.deleted | #F40 | — |
| markup.changed | #08C | — |
| beginning.punctuation.definition.quote.markdown, beginning.punctuation.definition.list.markdown | #EFE | — |
| markup.inline.raw | #EFE | — |
| meta.selector | #EFE | — |
| punctuation.definition.tag | #607068 | — |
| meta.preprocessor | #F40 | — |
| meta.preprocessor.string | #AE9 | — |
| meta.preprocessor.numeric | #ADC | — |
| meta.structure.dictionary.key.python | #CDA | — |
| storage, storage.type, storage.modifier | #897 | — |
| string | #AE9 | — |
| string.comment.buffered.block.jade, string.quoted.jade, string.interpolated.jade, string.unquoted.plain.in.yaml, string.unquoted.plain.out.yaml, string.unquoted.block.yaml, string.quoted.single.yaml, string.quoted.double.xml, string.quoted.single.xml, string.unquoted.cdata.xml, string.quoted.double.html, string.quoted.single.html, string.unquoted.html, string.quoted.single.handlebars, string.quoted.double.handlebars | #AE9 | — |
| string.regexp | #ADC | — |
| punctuation.definition.template-expression.begin.js, punctuation.definition.template-expression.begin.ts, punctuation.definition.template-expression.end.ts, punctuation.definition.template-expression.end.js | #EFE | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | — | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less | — | — |
| support.type.property-name.json | #CDB | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | — | — |
| support.function.git-rebase | #0BC | — |
| constant.sha.git-rebase | #00D080 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #897 | — |
| variable.language | #6DA | — |
| keyword, keyword.control | #6DA | — |
| keyword.operator | — | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.logical.python, keyword.other.unit | #BFC | — |
| entity.name.function, support.function, support.constant.handlebars | #BFC | — |
| meta.return-type, support.class, support.type, entity.name.type, entity.name.class, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy | #EFE | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json | #9CF | — |
| entity.other.inherited-class | — | bold |
| variable, meta.definition.variable.name, support.variable | — | — |
| meta.object-literal.key, meta.object-literal.key entity.name.function | — | italic |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #BFC | — |
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 |
|---|---|---|
| emphasis | — | italic |
| strong | — | bold |
| meta.diff.header | #C0C0CE | — |
| comment | #6171A1 | — |
| constant.language | #BCF | — |
| constant.numeric | #FBC | — |
| constant.regexp | #FF99AA | — |
| entity.name.tag | — | bold |
| entity.name.selector | #C0C0CE | — |
| entity.other.attribute-name | #C0C0CE | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss | #9AE | — |
| entity.other.attribute-name.id.css, source.css.less entity.other.attribute-name.id | #A16191 | — |
| invalid | #F50 | — |
| markup.underline | — | underline |
| markup.bold | — | bold |
| markup.heading | #ADF | bold |
| markup.italic | — | italic |
| markup.list | #C7A | — |
| markup.list.numbered | #C7A | — |
| markup.list.numbered | #C7A | — |
| markup.quote | #2DB | — |
| markup.raw | #2DB | — |
| markup.inline.raw | #2DB | — |
| markup.inserted | #2DB | — |
| markup.deleted | #E56 | — |
| markup.changed | #7BE | — |
| beginning.punctuation.definition.quote.markdown, beginning.punctuation.definition.list.markdown | #BFF | — |
| markup.inline.raw | #BFF | — |
| meta.selector | #BFF | — |
| punctuation.definition.tag | #88A | — |
| meta.preprocessor | #C0C0CE | — |
| meta.preprocessor.string | #FBC | — |
| meta.preprocessor.numeric | #BFF | — |
| meta.structure.dictionary.key.python | #C0C0CE | — |
| storage | — | bold |
| storage.type | — | bold |
| storage.modifier | — | bold |
| string | #FBC | — |
| string.comment.buffered.block.jade, string.quoted.jade, string.interpolated.jade, string.unquoted.plain.in.yaml, string.unquoted.plain.out.yaml, string.unquoted.block.yaml, string.quoted.single.yaml, string.quoted.double.xml, string.quoted.single.xml, string.unquoted.cdata.xml, string.quoted.double.html, string.quoted.single.html, string.unquoted.html, string.quoted.single.handlebars, string.quoted.double.handlebars | #FBC | — |
| string.regexp | #FF99AA | — |
| punctuation.definition.template-expression.begin.js, punctuation.definition.template-expression.begin.ts, punctuation.definition.template-expression.end.ts, punctuation.definition.template-expression.end.js | #DAE | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | — | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less | — | — |
| support.type.property-name.json | #BCF | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | — | — |
| support.function.git-rebase | #0080F0 | — |
| constant.sha.git-rebase | #00C080 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | — | italic |
| variable.language | #519171 | — |
| keyword, keyword.control | — | bold |
| keyword.operator | #597 | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.logical.python | #519171 | — |
| keyword.other.unit | #519171 | — |
| entity.name.function, support.function, support.constant.handlebars | #D0D0FE | — |
| meta.return-type, support.class, support.type, entity.name.type, entity.name.class, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy | — | bold |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json | #A16191 | — |
| entity.other.inherited-class | — | bold |
| variable, meta.definition.variable.name, support.variable | — | — |
| meta.object-literal.key, meta.object-literal.key entity.name.function | — | italic |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #9AE | — |
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 |
|---|---|---|
| emphasis | #6f6 | — |
| strong | #6F6 | bold |
| meta.diff.header | #6F6 | — |
| comment | #262 | — |
| constant.language | #6F6 | — |
| constant.numeric | #6F6 | — |
| constant.regexp | #6F6 | — |
| entity.name.tag | — | bold |
| entity.name.selector | #6F6 | — |
| entity.other.attribute-name | #6F6 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss | #6F6 | — |
| entity.other.attribute-name.id.css, source.css.less entity.other.attribute-name.id | #6F6 | — |
| invalid | #6F6 | bold |
| markup.underline | — | underline |
| markup.bold | #6F6 | bold |
| markup.heading | #6F6 | bold |
| markup.italic | #6F6 | — |
| markup.list | #6F6 | — |
| markup.list.numbered | #6F6 | — |
| markup.list.numbered | #6F6 | — |
| markup.quote | #262 | — |
| markup.raw | #262 | — |
| markup.inline.raw | #262 | — |
| markup.inserted | #4B4 | underline |
| markup.deleted | #6F6 | underline |
| markup.changed | — | underline |
| beginning.punctuation.definition.quote.markdown, beginning.punctuation.definition.list.markdown | #6f6 | — |
| markup.inline.raw | #262 | — |
| meta.selector | #6F6 | — |
| punctuation.definition.tag | #262 | — |
| meta.preprocessor | #6F6 | bold |
| meta.preprocessor.string | #6F6 | — |
| meta.preprocessor.numeric | #6F6 | — |
| meta.structure.dictionary.key.python | #6F6 | — |
| storage, storage.type, storage.modifier | #4B4 | — |
| string | #6F6 | — |
| string.comment.buffered.block.jade, string.quoted.jade, string.interpolated.jade, string.unquoted.plain.in.yaml, string.unquoted.plain.out.yaml, string.unquoted.block.yaml, string.quoted.single.yaml, string.quoted.double.xml, string.quoted.single.xml, string.unquoted.cdata.xml, string.quoted.double.html, string.quoted.single.html, string.unquoted.html, string.quoted.single.handlebars, string.quoted.double.handlebars | #6F6 | underline |
| string.regexp | #6F6 | — |
| punctuation.definition.template-expression.begin.js, punctuation.definition.template-expression.begin.ts, punctuation.definition.template-expression.end.ts, punctuation.definition.template-expression.end.js | #6F6 | underline |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | — | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less | — | — |
| support.type.property-name.json | #6F6 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | — | — |
| support.function.git-rebase | #6F6 | bold underline |
| constant.sha.git-rebase | #262 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #4B4 | — |
| variable.language | #262 | — |
| keyword, keyword.control | #4B4 | bold |
| keyword.operator | — | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.logical.python, keyword.other.unit | #4B4 | bold |
| entity.name.function, support.function, support.constant.handlebars | #6F6 | — |
| meta.return-type, support.class, support.type, entity.name.type, entity.name.class, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy | #6F6 | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json | #6F6 | — |
| entity.other.inherited-class | — | bold |
| variable, meta.definition.variable.name, support.variable | — | — |
| meta.object-literal.key, meta.object-literal.key entity.name.function | — | bold |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #6F6 | — |
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 |
|---|---|---|
| emphasis | #F1DB24 | — |
| strong | #F1DB24 | bold |
| meta.diff.header | #F1DB24 | — |
| comment | #683F00 | — |
| constant.language | #F1DB24 | — |
| constant.numeric | #F1DB24 | — |
| constant.regexp | #F1DB24 | — |
| entity.name.tag | — | bold |
| entity.name.selector | #F1DB24 | — |
| entity.other.attribute-name | #F1DB24 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss | #F1DB24 | — |
| entity.other.attribute-name.id.css, source.css.less entity.other.attribute-name.id | #F1DB24 | — |
| invalid | #F1DB24 | bold |
| markup.underline | — | underline |
| markup.bold | #F1DB24 | bold |
| markup.heading | #F1DB24 | bold |
| markup.italic | #F1DB24 | — |
| markup.list | #F1DB24 | — |
| markup.list.numbered | #F1DB24 | — |
| markup.list.numbered | #F1DB24 | — |
| markup.quote | #683F00 | — |
| markup.raw | #683F00 | — |
| markup.inline.raw | #683F00 | — |
| markup.inserted | #ECB725 | underline |
| markup.deleted | #F1DB24 | underline |
| markup.changed | — | underline |
| beginning.punctuation.definition.quote.markdown, beginning.punctuation.definition.list.markdown | #F1DB24 | — |
| markup.inline.raw | #683F00 | — |
| meta.selector | #F1DB24 | — |
| punctuation.definition.tag | #683F00 | — |
| meta.preprocessor | #F1DB24 | bold |
| meta.preprocessor.string | #F1DB24 | — |
| meta.preprocessor.numeric | #F1DB24 | — |
| meta.structure.dictionary.key.python | #F1DB24 | — |
| storage, storage.type, storage.modifier | #ECB725 | — |
| string | #F1DB24 | — |
| string.comment.buffered.block.jade, string.quoted.jade, string.interpolated.jade, string.unquoted.plain.in.yaml, string.unquoted.plain.out.yaml, string.unquoted.block.yaml, string.quoted.single.yaml, string.quoted.double.xml, string.quoted.single.xml, string.unquoted.cdata.xml, string.quoted.double.html, string.quoted.single.html, string.unquoted.html, string.quoted.single.handlebars, string.quoted.double.handlebars | #F1DB24 | underline |
| string.regexp | #F1DB24 | — |
| punctuation.definition.template-expression.begin.js, punctuation.definition.template-expression.begin.ts, punctuation.definition.template-expression.end.ts, punctuation.definition.template-expression.end.js | #F1DB24 | underline |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | — | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less | — | — |
| support.type.property-name.json | #F1DB24 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | — | — |
| support.function.git-rebase | #F1DB24 | bold underline |
| constant.sha.git-rebase | #683F00 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #ECB725 | — |
| variable.language | #683F00 | — |
| keyword, keyword.control | #ECB725 | bold |
| keyword.operator | — | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.logical.python, keyword.other.unit | #ECB725 | bold |
| entity.name.function, support.function, support.constant.handlebars | #F1DB24 | — |
| meta.return-type, support.class, support.type, entity.name.type, entity.name.class, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy | #F1DB24 | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json | #F1DB24 | — |
| entity.other.inherited-class | — | bold |
| variable, meta.definition.variable.name, support.variable | — | — |
| meta.object-literal.key, meta.object-literal.key entity.name.function | — | bold |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #F1DB24 | — |
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}!`;
}