Solarized Osaka
Publisher: Hayden NgoThemes in package: 1
A clean solarized-inspired theme
A clean solarized-inspired theme
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, string.comment | #586E75 | — |
| variable.other.constant, punctuation.definition.constant, constant.language, constant.numeric, support.constant | #2AA198 | — |
| constant.other.symbol, constant.other.key, meta.attribute-selector | #CB4B16 | — |
| string | #2AA198 | — |
| entity.name.constant | #2AA198 | — |
| constant.character.escape | #A13C11 | — |
| storage.type | #B58900 | — |
| meta.var.expr storage.type, storage.modifier | #859900 | — |
| keyword.other | #2AA198 | — |
| keyword.operator.spread, keyword.operator.rest | #CB4B16 | — |
| keyword.control, keyword.control.conditional, keyword.operator | #859900 | — |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.default, meta.import keyword.other | #859900 | — |
| keyword.other.DML | #2AA198 | — |
| entity.other.attribute-name.html, entity.other.attribute-name, text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #268BD2 | — |
| entity.name.tag | #859900 | — |
| entity.name.tag support.class.component | #B58900 | — |
| meta.tag | #268BD2 | — |
| entity.name | #268BD2 | — |
| meta.type, support.type, support.class | #B58900 | — |
| variable.other.object | #2AA198 | — |
| variable, support.variable, string constant.other.placeholder, variable.parameter.handlebars | #9EACAD | — |
| meta.array.literal variable | #268BD2 | — |
| meta.object-literal.key, string.alias.graphql, string.unquoted.graphql, string.unquoted.alias.graphql, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js, meta.field.declaration.ts variable.object.property | #268BD2 | — |
| variable.other.property, support.variable.property, support.variable.property.dom, meta.function-call variable.other.object.property | #268BD2 | — |
| meta.class-method.js entity.name.function.js, entity.name.method.js, variable.function.constructor, keyword.other.special-method, storage.type.cs | #268BD2 | — |
| entity.name.function, meta.function-call, meta.function-call entity.name.function, variable.function, meta.definition.method entity.name.function, meta.object-literal entity.name.function | #268BD2 | — |
| variable.parameter.function.language.special, variable.parameter, meta.function.parameters punctuation.definition.variable, meta.function.parameter variable | #CB4B16 | — |
| keyword.other.type.php, storage.type.php, constant.character, constant.escape, keyword.other.unit | #268BD2 | — |
| meta.definition.variable variable.other.constant, meta.definition.variable variable.other.readwrite, variable.other.declaration | #9EACAD | — |
| entity.other.inherited-class | #B58900 | — |
| variable.other.readwrite.alias, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, support.type.sys-types, support.variable.dom, support.constant.math, support.type.object.module, support.constant.json, entity.name.namespace, meta.import.qualifier | #268BD2 | — |
| storage.type.class, storage.type.struct, storage.type.enum, storage.type.union, storage.type.trait, storage.type.interface, storage.type.impl, storage.type.type | #859900 | — |
| support.function | #CB4B16 | — |
| 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, support.type.property-name.css, support.type.vendored.property-name, support.type.map.key | #268BD2 | — |
| support.constant.font-name, meta.definition.variable | #859900 | — |
| entity.other.attribute-name.class, meta.at-rule.mixin.scss entity.name.function.scss | #9EACAD | — |
| entity.other.attribute-name.id | #268BD2 | — |
| entity.name.tag.css | #B58900 | — |
| entity.other.attribute-name.pseudo-class punctuation.definition.entity, entity.other.attribute-name.pseudo-element punctuation.definition.entity, entity.other.attribute-name.class punctuation.definition.entity, entity.name.tag.reference | #B58900 | — |
| meta.property-list | #ADB8B8 | — |
| meta.property-list meta.at-rule.if, meta.at-rule.return variable.parameter.url, meta.property-list meta.at-rule.else | #859900 | — |
| entity.other.attribute-name.parent-selector-suffix punctuation.definition.entity.css | #2AA198 | — |
| meta.property-list meta.property-list | #9EACAD | — |
| entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element, entity.other.attribute-name.placeholder, meta.property-list meta.property-value | #9EACAD | — |
| keyword.other.unit | #2AA198 | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #9EACAD | — |
| variable.language | #CB4B16 | — |
| source.js constant.other.object.key.js string.unquoted.label.js, variable.language.this punctuation.definition.variable, keyword.other.this | #CB4B16 | — |
| variable.other punctuation.definition.variable | #9EACAD | — |
| text.html constant.character.entity | #859900 | — |
| entity.other.attribute-name.id.html, meta.directive.vue entity.other.attribute-name.html | #268BD2 | — |
| punctuation.definition.group | #A13C11 | — |
| constant.other.character-class.regexp | #6C71C4 | — |
| constant.other.character-class.set.regexp, punctuation.definition.character-class.regexp | #664D00 | — |
| keyword.operator.quantifier.regexp | #1A6265 | — |
| constant.character.escape.backslash | #A13C11 | — |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #268BD2 | — |
| markup.bold | — | bold |
| markup.underline | — | underline |
| markup.italic | — | italic |
| message.error | #DC322F | — |
| punctuation.definition.list_item.markdown | #9EACAD | — |
| meta.block, meta.brace, punctuation.definition.block, punctuation.definition.use, punctuation.definition.class, punctuation.definition.begin.bracket, punctuation.definition.end.bracket, punctuation.definition.switch-expression.begin.bracket, punctuation.definition.switch-expression.end.bracket, punctuation.definition.section.switch-block.begin.bracket, punctuation.definition.section.switch-block.end.bracket, punctuation.definition.group.shell, punctuation.definition.parameters, punctuation.definition.arguments, punctuation.definition.dictionary, punctuation.definition.array, punctuation.section | #9EACAD | — |
| punctuation.separator, punctuation.terminator, punctuation.accessor | #859900 | — |
| string.regexp | #29EEDF | — |
| entity.name.namespace, meta.namespace | #268BD2 | — |
| markup.inserted | #2AA198 | — |
| markup.deleted | #F6524F | — |
| markup.changed | #9CA0ED | — |
| meta.jsx.children, meta.embedded.block | #9EACAD | — |
| text.html, text.log | #9EACAD | — |
| heading.1.markdown entity.name, heading.1.markdown punctuation.definition.heading.markdown | #D33682 | bold |
| heading.2.markdown entity.name, heading.2.markdown punctuation.definition.heading.markdown | #6C71C4 | bold |
| heading.3.markdown entity.name, heading.3.markdown punctuation.definition.heading.markdown | #7aa2f7 | bold |
| heading.4.markdown entity.name, heading.4.markdown punctuation.definition.heading.markdown | #6d91de | bold |
| heading.5.markdown entity.name, heading.5.markdown punctuation.definition.heading.markdown | #9aa5ce | bold |
| heading.6.markdown entity.name, heading.6.markdown punctuation.definition.heading.markdown | #747ca1 | bold |
| markup.italic, markup.italic punctuation | #9EACAD | italic |
| markup.bold, markup.bold punctuation | #9EACAD | bold |
| markup.bold markup.italic, markup.bold markup.italic punctuation | #9EACAD | bold italic |
| markup.underline, markup.underline punctuation | — | underline |
| markup.quote punctuation.definition.blockquote.markdown | #4e5579 | — |
| string.other.link, markup.underline.link, constant.other.reference.link.markdown, string.other.link.description.title.markdown | #268BD2 | — |
| markup.fenced_code.block.markdown, markup.inline.raw.string.markdown, variable.language.fenced.markdown | #B58900 | — |
| meta.separator | #9EACAD | bold |
| markup.table | #c0cefc | — |
| meta.preprocessor | #DC322F | — |
| source.env | #268BD2 | — |
| punctuation.definition.template-expression, punctuation.section.embedded, meta.embedded.line.tag.smarty, support.constant.handlebars, punctuation.section.tag.twig | #268BD2 | — |
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}!`;
}