Cascade Dark
Publisher: willjsaintThemes in package: 1
Pleasing dark theme for VSCode based on the Electron Dark theme but with some modifications and improved support for additional languages
Pleasing dark theme for VSCode based on the Electron Dark theme but with some modifications and improved support for additional languages
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 |
|---|---|---|
| #97a7c8ff | — | |
| comment | #506686 | — |
| string | #B3D667 | — |
| string.unquoted.html, string.quoted.double.js, string.quoted.double.ts, string.quoted.double.jsx, string.quoted.double.tsx, string.quoted.double.cs, string.quoted.single.html, constant.other.symbol, entity.other.inherited-class | #B3D667 | — |
| string.quoted.single.js, string.quoted.single.ts, string.quoted.single.jsx, string.quoted.single.tsx | #70F49C | — |
| support.variable.dom.js | #59f2f7 | — |
| variable.other.constant.js, variable.other.constant.object.js, variable.other.constant.property.js | #e9b684 | — |
| constant.numeric | #58b4ff | — |
| constant.language | #FFE792 | — |
| constant.character, constant.other | #AC58FF | — |
| variable | #B7C6DA | — |
| keyword | #E95293 | — |
| storage | #FF5BA2 | — |
| storage.type | #D59DF6 | — |
| entity.name.class | #82C600 | — |
| entity.other.inherited-class | #82C600 | italic |
| variable.parameter | #85AC3A | — |
| entity.name.tag | #E76572 | — |
| entity.other.attribute-name, entity.other.attribute-name.class.css, string.quoted.double.json | #EAB780 | — |
| meta.tag.other, entity.name.tag.style, entity.name.tag.script, meta.tag.block.script, source.js.embedded punctuation.definition.tag.html, source.css.embedded punctuation.definition.tag.html | #E26674 | — |
| variable.language.this.js, variable.language.this.ts, entity.name.type | #eab780 | — |
| entity.other.attribute-name.id.html | #fffa9e | — |
| entity.name.function.js, entity.name.function.method.js, entity.name.accessor.js, entity.name.class.js | #71b1fe | — |
| support.class.builtin.js, entity.name.type.class.js | #fffa9e | — |
| variable.parameter.js, constant.other.object.key.js, variable.other.readwrite.js, punctuation.definition.parameters.begin.js, punctuation.definition.parameters.end.js, meta.object-literal.key.js, meta.array.literal.js, meta.brace.round.js, punctuation.definition.block.js, meta.objectliteral.js | #97a7c8 | — |
| constant.language.boolean.false.js, constant.language.boolean.true.js | #eab780 | — |
| support.variable.property.dom.js, entity.name.type.new.js | #e76572 | — |
| punctuation.definition.tag.html, punctuation.definition.tag.begin, punctuation.definition.tag.end | #E26674 | — |
| meta.tag string -source -punctuation, text source text meta.tag string -punctuation | #82BAF2 | — |
| punctuation.section.embedded -(source string source punctuation.section.embedded), meta.brace.erb.html | #D0B344 | — |
| meta.toc-list.id | #88F2AF | — |
| string.quoted.double.html, punctuation.definition.string.begin.html, punctuation.definition.string.end.html, string.quoted.double.handlebars | #56A3B1 | — |
| entity.other.attribute-name.id | #85AC3A | — |
| support.type.property-name.css | #4ff2f8 | — |
| entity.other.attribute-name.id.css | #fffa9e | — |
| constant.other.color.rgb-value.hex.css | #4ff2f8 | — |
| meta.property-group support.constant.property-value.css, meta.property-value support.constant.property-value.css | #85AC3A | — |
| support.function | #71b1fe | — |
| support.constant | #E76572 | — |
| support.type, support.class | #4DB1D8 | — |
| punctuation.definition.string, punctuation.definition.variable, punctuation.definition.string, punctuation.definition.parameters, punctuation.definition.string, punctuation.definition.array | #d8d8d8 | — |
| none | #d8d8d8 | — |
| keyword.operator | #4FF2F8 | — |
| keyword | #D59DF6 | — |
| variable, meta.selector.css | #E26674 | — |
| entity.name.function, meta.require, support.function.any-method | #7cafc2 | — |
| support.class, entity.name.class, entity.name.type.class | #E76572 | — |
| meta.class | #f8f8f8 | — |
| keyword.other.special-method | #7cafc2 | — |
| storage | #ba8baf | — |
| constant.numeric | #dc9656 | — |
| none | #dc9656 | — |
| none | #dc9656 | — |
| constant | #dc9656 | — |
| invalid.deprecated | #ffffff | — |
| meta.diff, meta.diff.header | #655c2d | — |
| markup.deleted | #FF5BA2 | — |
| markup.inserted | #82C600 | — |
| markup.changed | #ffff63 | — |
| entity.name.filename.find-in-files | #ffff63 | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
| entity.name.section.markdown | #EF596F | — |
| punctuation.definition.heading.markdown | #E76572 | — |
| punctuation.definition.list.begin.markdown | #E5C07B | — |
| punctuation.definition.bold.markdown, punctuation.definition.italic.markdown, punctuation.definition.underline.markdown | #E5C07B | — |
| markup.inline.raw.markdown | #89CA78 | — |
| markup.inline.raw.string.markdown | #70ca8e | — |
| punctuation.definition.raw.markdown | #E5C07B | — |
| punctuation.definition.list.markdown | #E5C07B | — |
| punctuation.definition.metadata.markdown | #FFFFFF | — |
| markup.underline.link.markdown,markup.underline.link.image.markdown | #56A3B1 | — |
| string.other.link.title.markdown,string.other.link.description.markdown | #3bb3e2 | — |
| markup.quote.markdown | #FFFFFF | — |
| markup.bold.markdown | #c59164 | bold |
| markup.italic.markdown | #c59164 | italic |
| markup.underline.markdown | #c59164 | underline |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.begin.js, punctuation.definition.string.begin.ts, punctuation.definition.string.begin.jsx, punctuation.definition.string.begin.tsx, punctuation.definition.string.begin.cs, punctuation.definition.string.end.markdown, punctuation.definition.string.end.js, punctuation.definition.string.end.ts, punctuation.definition.string.end.jsx, punctuation.definition.string.end.tsx, punctuation.definition.string.end.cs, punctuation.definition.string.template.begin.ts, punctuation.definition.string.template.end.ts, punctuation.definition.metadata.markdown | #E5C07B | — |
| beginning.punctuation.definition.list.markdown | #EF596F | — |
| markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #EF596F | — |
| fenced_code.block.language, markup.raw.inner.restructuredtext, markup.fenced_code.block.markdown punctuation.definition.markdown | #3bb3e2 | — |
| text.html.markdown string.unquoted.plain.out.yaml | #506686 | — |
| text.html.markdown entity.name.tag.yaml | #97a7c8 | — |
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}!`;
}