Cobalt9 Theme
Publisher: Youngju Jaden KimThemes in package: 1
cobalt9
cobalt9
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 | #0088FF | italic |
| string, storage.type.string, punctuation.definition.string | #3ad900 | — |
| constant.numeric | #FB71A3 | — |
| constant.language | #FF628C | — |
| constant.character | #06a6a8 | — |
| variable | #FB94FF | italic bold |
| keyword | #FF9D00 | bold |
| storage.type | #FF9D00 | italic bold |
| entity.name.type, entity.name.class | #D7BA7D | bold |
| entity.other.inherited-class | #FF628C | italic bold |
| entity.name.function | #F92672 | bold |
| variable.parameter | #f4aba4 | italic |
| entity.name.tag | #EC5f67 | underline |
| entity.other.attribute-name | #FD971F | |
| support.function | #fa4789 | bold |
| support.constant | #B700FF | |
| support.class | #FFDD00 | italic bold |
| support.other.variable | #7DD961 | |
| punctuation.bracket, punctuation.section.class.begin.bracket.curly, punctuation.section.class.begin.bracket.curly, punctuation.section.method.begin.bracket.curly, punctuation.section.method.end.bracket.curly | #F8F8F8 | |
| invalid | #F8F8F8 | |
| invalid.deprecated | #F8F8F8 | — |
| meta.diff, meta.diff.header | #75715E | — |
| markup.deleted | #F92672 | — |
| markup.inserted | #A6E22E | — |
| markup.changed | #E6DB74 | — |
| constant.numeric.line-number.find-in-files - match | #AE81FFA0 | |
| entity.name.filename.find-in-files | #E6DB74 | |
| markup.quote | #F92672 | |
| markup.list | #E6DB74 | |
| markup.bold, markup.italic | #66D9EF | |
| markup.inline.raw | #FD971F | |
| markup.heading | #A6E22E | |
| markup.heading.setext | #A6E22E | |
| token.info-token | #6796e6 | |
| token.warn-token | #cd9731 | |
| token.error-token | #f44747 | |
| token.debug-token | #b267e6 | |
| variable.language | #66D9EF | |
| variable.language.this | #66D9EF | |
| storage.type.function.lambda, meta.lambda-function | #FF9D00 | italic bold |
| meta.function.lambda.parameters | #f4aba4 | italic bold |
| variable.parameter.function.language.special.self.python, variable.language.special.self.python | #4FFFF8 | italic |
| punctuation.definition.decorator.python, entity.name.function.decorator.python, meta.function.decorator.python | #FB71A3 | italic |
| support.function.magic.python | #ff9d00 | bold |
| meta.function-call.generic.python | #ffc600 | bold |
| support.function.builtin | #ff9d00 | bold |
| entity.name.type.class.python | #D7BA7D | bold |
| entity.name.function.python | #F92672 | bold |
| keyword.operator.quantifier.regexp, constant.character.format.placeholder.other.python, constant.other.set.regexp, constant.character.set.regexp, constant.character.escape.regexp, keyword.operator.disjunction.regexp, support.other.match.end.regexp, entity.name.tag.backreference.regexp, entity.name.tag.backreference.regexp | #06a6a8 | |
| punctuation.definition.comment.json.comments | #D7BA7D | bold |
| storage.modifier.package.java | #D7BA7D | bold |
| storage.modifier.import.java | #D7BA7D | bold |
| meta.import.java | #D7BA7D | bold |
| meta.method.body.java | #F8F8F8 | |
| meta.method.java | #D7BA7D | bold |
| meta.class.body.java | #F8F8F8 | |
| string.quoted.double.java | #3ad900 | |
| meta.package.java | #D7BA7D | bold |
| meta.declaration.annotation.java, storage.type.annotation.java, punctuation.definition.annotation.java | #FB71A3 | bold italic |
| entity.name.type.class.java | #D7BA7D | bold |
| constant.other.key.java | #F4ABA4 | bold |
| ,meta.method.java | #FA4789 | bold |
| meta.method.identifier.java | #F92672 | bold |
| storage.type.generic.java | #D7BA7D | bold |
| meta.definition.variable.java | #FB71A3 | bold |
| storage.modifier.java | #FF9D00 | bold |
| meta.throwables.java | #D7BA7D | bold |
| storage.type.java | #D7BA7D | bold italic |
| variable.other.definition.java | #F8F8F8 | |
| variable.other.object.property.java | #FFDBC7 | bold italic |
| variable.other.object.java | #FB94FF | italic bold |
| meta.method.return-type.java | #D7BA7D | bold |
| entity.name.type.annotation.kotlin, entity.name.type.annotation.kotlin | #FB71A3 | bold italic |
| entity.name.type.annotation.kotlin, entity.name.type.annotation.kotlin | #FB71A3 | bold italic |
| entity.name.package.kotlin, meta.import.kotlin | #D7BA7D | bold italic |
| storage.modifier.other.kotlin | #FF9D00 | bold |
| storage.type.class.kotlin | #D7BA7D | bold |
| entity.name.type.kotlin | #D7BA7D | bold |
| storage.type.variable.kotlin | #FF9D00 | bold |
| meta.template.expression.kotlin | #F4ABA4 | bold |
| keyword.soft.kotlin | #FB71A3 | bold italic |
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}!`;
}