Cyber '77
Publisher: Code Reviewer14Themes in package: 1
A theme inspired by Synthwave '84 & Deepdark Material and the Cyberpunk 77 game
A theme inspired by Synthwave '84 & Deepdark Material and the Cyberpunk 77 game
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 | #A1A1BA | italic |
| source.js constant | #d6498b | — |
| meta, meta.import | #e6f4ff | — |
| string.quoted | #94FFCD | — |
| string | #ffc19a | — |
| constant.numeric | #ACDBFF | — |
| constant.language | #8EA1F5 | — |
| keyword.operator | #ffc19a | — |
| punctuation.definition.binding-pattern, punctuation.definition.block | #ff8f3b | — |
| keyword.control | #ff3d7f | — |
| keyword.control.conditional | #fff9b8 | — |
| keyword.control.import | #fff9b8 | — |
| storage.type | #ffc19a | — |
| storage.modifier | #69f0ae | — |
| variable.language | #ff9431 | — |
| constant.character, constant.other | #896ef4 | |
| storage.other | #896ef4 | |
| entity.name.class, entity.name.type | #ff8f3b | |
| punctuation.separator.variable | #6089B4 | |
| support.function | #ffc107 | — |
| meta.tag punctuation.definition.string | #FF8F3B | |
| punctuation.section.embedded -(source string source punctuation.section.embedded), meta.brace.erb.html | #FF8F3B | |
| meta.tag string -source -punctuation, text source text meta.tag string -punctuation | #6089B4 | |
| 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 | #cecece | |
| meta.tag.inline source, text.html.php.source | #9AA83A | |
| meta.doctype, meta.tag.sgml-declaration.doctype, meta.tag.sgml.doctype | #9AA83A | |
| meta.tag.other | #D0B344 | |
| variable.other.property | #4CC9F0 | |
| meta.function-call.object | #9872A2 | |
| variable.other.normal | #6089B4 | |
| meta.brace.erb.html | #D08442 | |
| meta.object-literal.key | #eeeeee | — |
| meta.toc-list.id | #d1e260 | — |
| punctuation.section.embedded.coffee | #D08442 | — |
| meta.property-group support.constant.property-value.css, meta.property-value support.constant.property-value.css | #896ef4 | |
| variable.language.ruby | #D0B344 | |
| markup.deleted | #dc322f | |
| markup.changed | #cb4b16 | |
| markup.inserted | #219186 | — |
| markup.quote | #9872A2 | — |
| markup.list | #d1e260 | — |
| markup.bold, markup.italic | #6089B4 | — |
| markup.inline.raw | #FF0080 | |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
| markup.heading | #D0B344 | — |
| markup.heading.setext | #D0B344 | |
| meta.diff, meta.diff.header | #E0EDDD | — |
| variable.language.js | #CC555A | — |
| support.type.property-name.css | #FFF9B9 | |
| meta.selector.css entity.other.attribute-name.id | #cca789 | |
| punctuation.definition.tag.html, punctuation.definition.tag.begin, punctuation.definition.tag.end | #fff9b8 | — |
| invalid | #FF0B00 | |
| string.quoted.double.html, punctuation.definition.string.begin.html, punctuation.definition.string.end.html | #ACDBFF | |
| punctuation.terminator.statement.js.jsx, punctuation.separator.comma.js.jsx | #D90046 | — |
| punctuation.separator | #D0D0D0 | — |
| string.regexp, string.regexp keyword.control, string.regexp keyword.operator | #69f0ae | — |
| string.regexp punctuation.definition.string | #A9B9B0 | — |
| string.regexp keyword.other | #ff8f3b | — |
| entity.name.function | #88dcf6 | — |
| punctuation.definition.parameters, punctuation.definition.arguments | #C9E9E0 | — |
| meta.parameters, variable.other.readwrite.js.jsx | #ff8f3b | — |
| variable.parameter | #ff8f3b | — |
| variable.function, meta.function-call entity.name.function, meta.method-call entity.name.function | #88dcf6 | — |
| entity.name.type.class, entity.other.inherited-class, support.class | #c2f8cb | — |
| meta.tag.sgml, meta.tag.sgml variable.language, meta.tag.sgml punctuation.definition.tag | #ffb732 | — |
| meta.tag.preprocessor, meta.tag.preprocessor entity.name.tag, meta.tag.preprocessor punctuation.definition.tag | #FFCC32 | — |
| entity.name.tag | #FF3D7E | — |
| punctuation.definition.tag | #D0D0D0 | — |
| entity.other.attribute-name | #ffc19a | — |
| meta.tag.metadata.script entity.name.tag, meta.tag.metadata.script punctuation.definition.tag | #3be3b1 | — |
| support.type.property-name | #FFC19A | — |
| support.type.property-name.json | #FFC19B | — |
| meta.property-value | #69f0ae | — |
| punctuation.section | #D0D0D0 | — |
| variable.css, variable.scss | #69F0AE | — |
| punctuation.definition.entity, punctuation.definition.attribute-selector | #8CDAFF | — |
| Attribute Selector String Value | #69f0ae | — |
| keyword.control.at-rule, keyword.control.at-rule punctuation | #69f0ae | — |
| meta.at-rule support.function | #8CDAFF | — |
| meta.at-rule.mixin variable.scss, meta.at-rule.function variable.scss | #D0D0D0 | — |
| meta.at-rule.mixin support.constant, meta.at-rule.mixin variable.parameter, meta.at-rule.function support.constant, meta.at-rule.function variable.parameter | #69f0ae | — |
| meta.at-rule.mixin constant.numeric, meta.at-rule.function constant.numeric | — | — |
| keyword.control.at-rule.include, keyword.control.at-rule.include punctuation | #ff8f3b | — |
| meta.at-rule.function punctuation.section | #C9E9E0 | — |
| meta.at-rule.return | #D0D0D0 | — |
| meta.at-rule.return punctuation.definition.begin.bracket, meta.at-rule.return punctuation.definition.end.bracket | #D0D0D0 | — |
| meta.at-rule.include entity.name.function, meta.at-rule.include punctuation, meta.property-value punctuation.section.function | #C9E9E0 | — |
| punctuation.definition.interpolation | #FF3D7E | — |
| punctuation.definition.map | #FF3D7E | — |
| comment storage.type, comment punctuation.definition.block | #747DC3 | normal |
| punctuation.definition.block, punctuation.definition.dictionary | #A9B9B0 | — |
| meta.brace.square, punctuation.definition.array | #ff9c75 | — |
| meta.brace.round | #ebfff2 | — |
| meta.embedded, source.groovy.embedded | #ebfff2 | — |
| string source | #D08442 | |
| punctuation.accessor | #ff8e38 | — |
| support.variable.dom, support.class.console, support.type.object | #ff3b7c | — |
| support.variable.property.js | #0ebb9f | — |
| support.class.js, support.class.builtin.js | #8CDAFF | — |
| meta.function-call support.class.builtin.js, new.expr entity.name.type.js | #C9E9E0 | — |
| support.class.js | #F8F8F2 | — |
| string.template.js, punctuation.definition.string.template | #69f0ae | — |
| meta.template.expression | #F8F8F2 | — |
| punctuation.definition.template-expression | #FF3D7E | — |
| punctuation.support.type.property-name | #ff8f3b | — |
| punctuation.section.embedded | #A9B9B0 | — |
| punctuation.definition.begin.bracket.round, punctuation.definition.end.bracket.round | #C9E9E0 | — |
| variable.other.php | #F8F8F2 | — |
| meta.function.parameter | #D0D0D0 | — |
| punctuation.section.array | #D77676 | — |
| keyword.other.new | #ff8f3b | — |
| keyword.other.sql, keyword.other.DML.sql, keyword.other.alias.sql | #ff8f3b | — |
| keyword.other.DDL.create.II.sql | #D77676 | — |
| entity.name.section, punctuation.definition.heading | #FFE082 | — |
| markup beginning.punctuation | #ff8f3b | — |
| markup punctuation | #B2B2B1 | — |
| string.other.link | #C9E9E0 | — |
| markup.underline.link | #606c75 | — |
| string.other.link.description.title | #D0D0D0 | — |
| meta.link punctuation | #B2B2B1 | — |
| meta.image punctuation | #B2B2B1 | — |
| markup.fenced_code punctuation | #bef8c7 | — |
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}!`;
}