Kvy-True Atom One Dark
Publisher: kvyThemes in package: 2
My (kvy) version of Atom One Dark
My (kvy) version of Atom One Dark
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, string meta.image.inline.markdown | #D4D4D4 | — |
| meta.template.expression | #D4D4D4 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #D4D4D4 | — |
| emphasis | — | italic |
| strong | — | bold |
| markup.italic | — | italic |
| markup.underline | — | underline |
| markup.strikethrough | — | strikethrough |
| markup.bold, markup.heading | #C678DD | bold |
| header | #000080 | — |
| markup.changed | #C678DD | — |
| markup.inserted | #D19A66 | — |
| markup.deleted, markup.inline.raw | #98C379 | — |
| punctuation.definition.quote.begin.markdown | #6A9955 | — |
| punctuation.definition.list.begin.markdown | #6796E6 | — |
| comment | #6A9955 | — |
| constant.language, variable.language, constant.character | #C678DD | — |
| constant.numeric, keyword.operator.plus.exponent, keyword.operator.minus.exponent, keyword.other.unit, constant.language.boolean | #D19A66 | — |
| string, string.tag, string.value, meta.embedded.assembly | #98C379 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #C678DD | — |
| string.regexp, string.regexp.js meta.group.regexp | #56B6C2 | — |
| constant.regexp | #646695 | — |
| 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 | #98C379 | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #D16969 | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #61AFEF | — |
| keyword.operator.quantifier.regexp | #D7BA7D | — |
| keyword, keyword.control | #C678DD | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.alignof, keyword.operator.typeid, keyword.operator.alignas, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.wordlike, keyword.operator.noexcept, source.cpp keyword.operator.new, keyword.operator.delete, keyword.other.using, keyword.other.operator, entity.name.operator | #C678DD | — |
| keyword.operator, source.tsx keyword.operator | #56B6C2 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #C678DD | — |
| storage, storage.type, storage.modifier | #C678DD | — |
| support.class, entity.name.type, entity.name.namespace, entity.other.attribute, entity.name.scope-resolution, entity.name.class, entity.other.inherited-class, meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, 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 | #E0C285 | — |
| defaultLibrary, support.variable, support.function, support.type, constant.character.escape, support.type.vendored.property-name.css | #56B6C2 | — |
| entity.name.type.module | #56B6C2 | italic |
| entity.name.function, support.constant.handlebars, source.powershell variable.other.member, entity.name.operator.custom-literal, variable.other.constant.object.tsx entity.name.function.tsx | #61AFEF | — |
| variable.parameter | #D19A66 | italic |
| variable.other.property, variable.other.enummember, variable.scss, variable.other.env, source.json support.type.property-name | #E06C75 | — |
| meta.object-literal.key, meta.structure.dictionary.key.python, support.type.vendored.property-name, support.type.property-name, variable.css, variable.other.less, source.coffee.embedded | #ABB2BF | — |
| entity.name.tag, entity.name.tag.css | #E06C75 | — |
| punctuation.definition.tag | #ABB2BF | — |
| entity.other.attribute-name, entity.other.attribute-name.pseudo-element.css | #D19A66 | — |
| support.class.component | #26BDA4 | — |
| 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, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.scss | #D7BA7D | — |
| support.constant.property-value, support.constant.font-name, support.constant.color, constant.language.json.comments, constant.language.json | #D19A66 | — |
| support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value | #98C379 | — |
| meta.preprocessor, entity.name.function.preprocessor | #C678DD | — |
| meta.preprocessor.string | #98C379 | — |
| meta.preprocessor.numeric | #D19A66 | — |
| meta.diff.header | #C678DD | — |
| support.function.git-rebase | #ABB2BF | — |
| constant.sha.git-rebase | #D19A66 | — |
| entity.name.label | #C8C8C8 | — |
| invalid | #F44747 | — |
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, string meta.image.inline.markdown | #D4D4D4 | — |
| meta.template.expression | #D4D4D4 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #D4D4D4 | — |
| emphasis | — | italic |
| strong | — | bold |
| markup.italic | — | italic |
| markup.underline | — | underline |
| markup.strikethrough | — | strikethrough |
| markup.bold, markup.heading | #C678DD | bold |
| header | #000080 | — |
| markup.changed | #C678DD | — |
| markup.inserted | #D19A66 | — |
| markup.deleted, markup.inline.raw | #98C379 | — |
| punctuation.definition.quote.begin.markdown | #6A9955 | — |
| punctuation.definition.list.begin.markdown | #6796E6 | — |
| comment | #6A9955 | — |
| constant.language, variable.language, constant.character | #C678DD | — |
| constant.numeric, keyword.operator.plus.exponent, keyword.operator.minus.exponent, keyword.other.unit, constant.language.boolean | #D19A66 | — |
| string, string.tag, string.value, meta.embedded.assembly | #98C379 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #C678DD | — |
| string.regexp, string.regexp.js meta.group.regexp | #56B6C2 | — |
| constant.regexp | #646695 | — |
| 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 | #98C379 | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #D16969 | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #61AFEF | — |
| keyword.operator.quantifier.regexp | #D7BA7D | — |
| keyword, keyword.control | #C678DD | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.alignof, keyword.operator.typeid, keyword.operator.alignas, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.wordlike, keyword.operator.noexcept, source.cpp keyword.operator.new, keyword.operator.delete, keyword.other.using, keyword.other.operator, entity.name.operator | #C678DD | — |
| keyword.operator, source.tsx keyword.operator | #56B6C2 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #C678DD | — |
| storage, storage.type, storage.modifier | #DCAEEB | — |
| support.class, entity.name.type, entity.name.namespace, entity.other.attribute, entity.name.scope-resolution, entity.name.class, entity.other.inherited-class, meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, 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 | #E0C285 | — |
| defaultLibrary, support.variable, support.function, support.type, constant.character.escape, support.type.vendored.property-name.css | #56B6C2 | — |
| entity.name.type.module | #56B6C2 | italic |
| entity.name.function, support.constant.handlebars, source.powershell variable.other.member, entity.name.operator.custom-literal, variable.other.constant.object.tsx entity.name.function.tsx | #61AFEF | — |
| variable.parameter | #D19A66 | italic |
| variable.other.property, variable.other.enummember, variable.scss, variable.other.env, source.json support.type.property-name | #E06C75 | — |
| meta.object-literal.key, meta.structure.dictionary.key.python, support.type.vendored.property-name, support.type.property-name, variable.css, variable.other.less, source.coffee.embedded | #ABB2BF | — |
| entity.name.tag, entity.name.tag.css | #E06C75 | — |
| punctuation.definition.tag | #ABB2BF | — |
| entity.other.attribute-name, entity.other.attribute-name.pseudo-element.css | #D19A66 | — |
| support.class.component | #26BDA4 | — |
| 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, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.scss | #D7BA7D | — |
| support.constant.property-value, support.constant.font-name, support.constant.color, constant.language.json.comments, constant.language.json | #D19A66 | — |
| support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value | #98C379 | — |
| meta.preprocessor, entity.name.function.preprocessor | #C678DD | — |
| meta.preprocessor.string | #98C379 | — |
| meta.preprocessor.numeric | #D19A66 | — |
| meta.diff.header | #C678DD | — |
| support.function.git-rebase | #ABB2BF | — |
| constant.sha.git-rebase | #D19A66 | — |
| entity.name.label | #C8C8C8 | — |
| invalid | #F44747 | — |
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}!`;
}