Simple Red White (dark-mode) Theme
Publisher: data_piThemes in package: 1
A simple red and white colored vscode theme (dark-mode)
A simple red and white colored vscode theme (dark-mode)
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 | #74715E | — |
| variable, string constant.other.placeholder | #FFFFFF | — |
| constant.other.color | #FFFFFF | — |
| invalid, invalid.illegal | #F92672 | — |
| keyword | #F92672 | — |
| storage.modifier | #66D9EF | — |
| storage.modifier.import | #FFFFFF | — |
| storage.type | #F92672 | — |
| punctuation, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded | #FFFFFF | — |
| keyword.control, constant.other.color, meta.tag, keyword.other.template, keyword.other.substitution, keyword.other | #F92672 | — |
| entity.name.tag | #F92672 | — |
| meta.jsx.children, meta.tag.sgml, markup.deleted.git_gutter | #FFFFFF | — |
| entity.name.function | #FFFFFF | — |
| meta.function-call.generic.python, meta.function-call, variable.function, keyword.other.special-method | #FFFFFF | — |
| support.function | #F92672 | — |
| meta.block variable.other | #FFFFFF | — |
| support.other.variable, string.other.link | #FFFFFF | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape | #AE81FF | — |
| variable.parameter, keyword.other.unit, keyword.other | #FD971F | — |
| string, punctuation.definition.string.begin, punctuation.definition.string.end, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #E6DB74 | — |
| constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter | #FFFFFF | — |
| entity.name, support.type, support.class, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #FFFFFF | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #FFFFFF | — |
| variable.language | #FFFFFF | italic |
| entity.other.attribute-name | #FFFFFF | — |
| markup.inserted | #C3E88D | — |
| markup.deleted | #FF5370 | — |
| markup.changed | #F92672 | — |
| string.regexp | #AE81FF | — |
| constant.character.escape | #AE81FF | — |
| *url*, *link*, *uri* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #FFFFFF | italic |
| source.json meta.structure.dictionary.json support.type.property-name.json | #F92672 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #FFFFFF | — |
| 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 | #FFFFFF | — |
| 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 | #FFFFFF | — |
| 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 | #FFFFFF | — |
| 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 | #FFFFFF | — |
| 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 | #FFFFFF | — |
| 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 | #FFFFFF | — |
| 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 | #FFFFFF | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #FFFFFF | — |
| text.html.markdown markup.inline.raw.markdown | #F92672 | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #65737E | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #F92672 | — |
| markup.italic | #FFFFFF | italic |
| markup.bold, markup.bold string | #FFFFFF | 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 | #FFFFFF | bold |
| markup.underline | #FFFFFF | underline |
| markup.quote punctuation.definition.blockquote.markdown | #65737E | — |
| markup.quote | — | italic |
| string.other.link.title.markdown | #82AAFF | — |
| string.other.link.description.title.markdown | #FFFFFF | — |
| constant.other.reference.link.markdown | #FFFFFF | — |
| markup.raw.block | #FFFFFF | — |
| markup.raw.block.fenced.markdown | #00000050 | — |
| punctuation.definition.fenced.markdown | #00000050 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #FFFFFF | — |
| variable.language.fenced.markdown | #65737E | — |
| meta.separator | #65737E | bold |
| markup.table | #FFFFFF | — |
| source.python, source.cpp, source.java, source.c, source.html, source.css, source.js, source.rust, source.go | #FFFFFF | — |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name | #FFFFFF | — |
| keyword.other.unit.px.css | #F92672 | — |
| entity.other.attribute-name.class | #F92672 | — |
| source.sass keyword.control | #F92672 | — |
| support.class.component | #F92672 | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #FFFFFF | italic |
| text.html.derivative | #FFFFFF | — |
| entity.name.method.js | #FFFFFF | italic |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #FFFFFF | — |
| source.js constant.other.object.key.js string.unquoted.label.js | #F92672 | italic |
| string.quoted.other.lt-gt.include.c, punctuation.definition.string.begin.c, punctuation.definition.string.end.c | #FFFFFF | — |
| storage.modifier.pointer.cpp, storage.modifier.reference.cpp | #F92672 | — |
| punctuation.separator.scope-resolution.function.definition.cpp, punctuation.separator.scope-resolution.destructor.cpp, punctuation.separator.scope-resolution.constructor.cpp, punctuation.definition.directive.cpp, punctuation.terminator.statement.cpp, punctuation.separator.scope-resolution.cpp | #F92672 | — |
| string.quoted.other.lt-gt.include.cpp, meta.preprocessor.pragma.cpp | #FFFFFF | — |
| keyword.other.import.java | #F92672 | — |
| keyword.other.rust, keyword.other.fn.rust | #F92672 | — |
| meta.attribute.rust | #BAB493 | — |
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}!`;
}