Winter Theme
Publisher: matthewwithanmThemes in package: 1
This is a light theme inspired by Chris Thomas's Mac Classic TextMate theme. It uses the cool colors for syntax highlighting and reserves the warm colors (mostly) for errors.
This is a light theme inspired by Chris Thomas's Mac Classic TextMate theme. It uses the cool colors for syntax highlighting and reserves the warm colors (mostly) for errors.
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 |
|---|---|---|
| meta.embedded, source.groovy.embedded | #000000ff | — |
| emphasis | — | italic |
| strong | — | bold |
| meta.diff.header | #000080 | — |
| constant.language | #0000ff | — |
| constant.numeric | #09885a | — |
| constant.regexp | #811f3f | — |
| entity.name.selector | #800000 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss | #800000 | — |
| invalid | #F36F69 | — |
| markup.underline | — | underline |
| markup.bold | #000080 | bold |
| markup.heading | #2C36E8 | bold |
| markup.italic | — | italic |
| markup.inserted | #09885a | — |
| markup.deleted | #F36F69 | — |
| markup.changed | #703FDE | — |
| beginning.punctuation.definition.quote.markdown, beginning.punctuation.definition.list.markdown | #318FFF | — |
| markup.inline.raw | #800000 | — |
| meta.selector | #800000 | — |
| punctuation.definition.tag | #800000 | — |
| meta.preprocessor | #0000ff | — |
| meta.preprocessor.string | #a31515 | — |
| meta.preprocessor.numeric | #09885a | — |
| meta.structure.dictionary.key.python | #0451a5 | — |
| storage.modifier | #0000ff | — |
| meta.template.expression | #000000 | — |
| 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 | #0451a5 | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less, source.coffee.embedded | #ff0000 | — |
| keyword.operator | #000000 | — |
| keyword.other.unit | #09885a | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #800000 | — |
| support.function.git-rebase | #0451a5 | — |
| constant.sha.git-rebase | #09885a | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #000000 | — |
| variable.language | #0000ff | — |
| entity.name.function, support.function, support.constant.handlebars | #795E26 | — |
| meta.return-type, support.class, support.type, entity.name.type, entity.name.class, storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go, 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 | #267f99 | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class | #267f99 | — |
| keyword.control | #AF00DB | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable | #001080 | — |
| meta.object-literal.key | #001080 | — |
| 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 | #0451a5 | — |
| punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp | #d16969 | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #811f3f | — |
| keyword.operator.quantifier.regexp | #000000 | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #ff0000 | — |
| constant.character | #0000ff | — |
| constant.character.escape | #F36F69 | — |
| token.info-token | #318FFF | — |
| token.warn-token | #FFBD2A | — |
| token.error-token | #F36F69 | — |
| token.debug-token | #703FDE | — |
| source, punctuation.definition.tag | #555 | — |
| comment | #999988BF | italic |
| string, string.comment.buffered.block.pug, string.quoted.pug, string.interpolated.pug, 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 | #2DA36E | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded, punctuation.definition.group.regexp | #00d073 | — |
| string.regexp | #2DA36E | — |
| constant | #318FFF | — |
| constant.numeric, constant.rgb-value, constant.character | #703FDE | — |
| variable | #318FFF | — |
| entity.name.type, meta.tag entity.name.tag, meta.tag support.class | #2C36E8 | — |
| variable.parameter, meta.object-literal.key, meta.object-literal.key string, entity.other.attribute-name, meta.tag keyword.operator.assignment, support.type.property-name.json | #259AB7 | italic |
| variable.language, support.type | #a71d5d | — |
| keyword.operator.type.annotation, meta.type.annotation entity.name.type, meta.return.type entity.name.type, meta.return.type keyword.operator.ternary | #999988BF | — |
| keyword, keyword.control, keyword.operator, keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.instanceof, keyword.operator.logical.python | #a71d5d | bold |
| keyword.control.import, keyword.control.from, keyword.control.export, storage.type.function.arrow | #703FDE | bold |
| storage, storage.type | #703FDE | — |
| entity.name.function, support.function | #2C36E8 | — |
| entity.name.type.class | #2C36E8 | underline |
| meta.definition.method, meta.definition.function, meta.definition.variable entity.name.function | #2C36E8 | bold |
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}!`;
}