Solarized Neue & Yuki
Publisher: Phillip SauerbeckThemes in package: 4
Customized solarized theme
Customized solarized 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 |
|---|---|---|
| bold, support.class.ruby, variable.other.block.ruby, variable.other.ruby, variable, entity.name.type.class.ruby, entity.other.attribute-name.id, entity.name.tag.id.haml, meta.definition.function.ts entity.name.function.ts | — | bold |
| italic, variable.other.property.js, storage.type.js, quote, keyword.other.unit.px.css, keyword.other.unit.rem.css, keyword.other.unit.em.css, keyword.other.unit.percentage.css, markup.italic.markdown, entity.name.function, meta.tag.sgml.doctype.html, entity.name.tag.less, keyword.operator.relational, meta.selector, entity.name.tag.doctype, meta.tag.sgml.doctype, meta.delimiter.period, keyword.operator.comparison, keyword.control.flow.js, keyword.control.flow.ts, keyword.control.flow.tsx, keyword.control.module.ruby, keyword.control.class.ruby, keyword.control.def.ruby, keyword.control.loop.js, keyword.control.loop.ts, keyword.control.import.js, keyword.control.import.ts, keyword.control.import.tsx, keyword.control.from.js, keyword.control.from.ts, keyword.control.from.tsx, source.go keyword.package.go, source.go keyword.import.go, source.go keyword.function.go, source.go keyword.type.go, source.go keyword.struct.go, source.go keyword.interface.go, source.go keyword.const.go, source.go keyword.var.go, source.go keyword.map.go, source.go keyword.channel.go, source.go keyword.control.go, keyword.control, keyword.other.unit.scss, keyword.other.unit.sass, markup.inserted.diff, entity.other.attribute-name, entity.name.function, markup.changed, meta.diff.header.git, meta.diff.header.from-file, meta.diff.header.to-file, markup.deleted.diff, italic | — | italic |
| darkGray, quote, meta.property-value.scss, markup.quote.markdown, string.template punctuation.definition.string, variable.parameter.function.coffee, meta.js punctuation.definition.js, terminator.js, variable.other.readwrite.cs, meta.preprocessor.macro.cpp, variable.other.meta.import.js, meta.import.js variable.other, variable.other.meta.export.js, meta.export.js variable.other, support.class.js, variable.js, variable.other.js, string.other.link.title.markdown, string.other.link.description.markdown, meta.function-call.php punctuation, punctuation.python, variable.other.readwrite.alias.ts, variable.other.readwrite.alias.tsx, variable.other.readwrite.ts, variable.other.readwrite.tsx, variable.other.object.ts, variable.other.object.tsx, variable.object.property.ts, variable.object.property.tsx, variable.other.ts, variable.other.tsx, variable.tsx, variable.ts, meta.import.ts punctuation.definition.block, meta.import.tsx punctuation.definition.block, meta.export.ts punctuation.definition.block, meta.export.tsx punctuation.definition.block, variable.parameter, meta.jsx.children, meta.jsx.children.js, meta.jsx.children.tsx, meta.brace, punctuation.terminator.expression, punctuation.definition.arguments, punctuation.definition.array, punctuation.section.array, meta.array | #403f53 | — |
| cloudy-blue, entity.name.type.instance.jsdoc, entity.name.type.instance.phpdoc, meta.type.parameters.ts entity.name.type, meta.type.parameters.tsx entity.name.type, meta.function punctuation.separator.comma | #5f7e97 | — |
| cyan, variable.other.jsdoc, variable.other.phpdoc, variable.assignment.coffee | #2EA9FF | — |
| comment | #BBBBBF | italic |
| text-color-dark, keyword.operator.assignment, variable.scss, keyword.operator.assignment.js | #403f53 | — |
| light-gray, comment.line.double-slash, punctuation.definition.tag.haml | #BBBBBF | — |
| lime, keyword.other.important.scss | #859900 | — |
| teal, variable, variable.other.block.ruby, variable.other.ruby, meta.block.parameters.ruby, meta.var-single-variable.expr.js, meta.var.expr.js, string.quoted, meta.structure.dictionary.value.json string.quoted.double, support.type.property-name.css, meta.function-call.python, meta.function-call.generic.python, entity.name.tag.scss, entity.name.tag.sass, punctuation.definition.metadata.markdown, support.constant.meta.property-value, keyword.operator, variable.parameter.function, support.type.vendor.property-name, support.constant.vendor.property-value, support.type.property-name, meta.property-list entity.name.tag, meta.property-name, keyword.control.operator, variable.instance, variable.other.instance, variable.readwrite.instance, variable.other.property, support.constant, keyword.other.special-method, keyword.other.new, keyword.other.debugger, keyword.control, variable.language, support.variable.property, raw, variable.assignment.coffee, entity.name.type.namespace.cs, entity.name.tag.wildcard.css, entity.name.tag.wildcard.less, entity.name.tag.wildcard.scss, entity.name.tag.wildcard.sass, constant.keyword.clojure, source.go meta.function-call.go, entity.name.function.preprocessor.cpp, entity.scope.name.cpp, support.function.powershell, variable.other.object.js, keyword.other.unit.css, markup.inline.raw.markdown | #2AA198 | — |
| teal-soft | #2AA198aa | — |
| brick-orange, punctuation.definition.constant.ruby, punctuation.definition.parameters, punctuation.definition.list.begin, punctuation.definition.list.end, punctuation.definition.list, punctuation.separator.arguments, entity.other.attribute-name.pseudo-class.css, punctuation.section.embedded, string.template meta.template.expression, constant.language.boolean, constant.language.null, source.go constant.language.go, source.go constant.other.placeholder.go, storage.type.language.primitive.cpp, meta.structure.dictionary.json meta.structure.dictionary.value constant.language, constant.language.python | #CB4B16 | — |
| 777777, entity.name.tag.haml, support.type.property-name.json, string.quoted.double.json punctuation.definition.string.json, support.function.misc.scss, variable.other.object.property, variable.parameter, meta.class entity.name.type.class.js, entity.name.type.js, entity.name.type.module.js, variable.other.php, variable.other.property.php, support.class.php, source.css.scss meta.at-rule variable, source.css.sass meta.at-rule variable, entity.name.type.ts, entity.name.type.tsx, entity.name.tag.yaml, meta.class entity.name.type.class.tsx, entity.name.type.tsx, entity.name.type.module.tsx, entity.name.class, meta.class entity.name.type.class, meta.namespace-block.cpp | #777777 | — |
| purple, variable.other.readwrite.js, support.class.ruby, variable.other.object.js, variable.other.object.jsx, variable.object.property.js, variable.object.property.jsx, variable.other.property.js, variable.scss, constant.language.symbol.hashkey.ruby, punctuation.definition.constant.hashkey.ruby, entity.name.type.class.ruby, entity.name.tag.id.haml, punctuation.definition.constant, punctuation.definition.constant.ruby, constant.language.symbol.ruby, support.function, punctuation.separator.method.ruby, meta.property-list entity.name.tag.reference, variable.parameter.function.js, constant.other.color.rgb-value punctuation.definition.constant, keyword.other.unit, meta.attribute-selector.less entity.other.attribute-name.attribute, source.python variable.language.special, meta.attribute-selector.scss entity.other.attribute-name.attribute, meta.attribute-selector.sass entity.other.attribute-name.attribute, support.class.component.js, support.class.component.tsx, constant.character.numeric, constant.character.escape, constant.other.color, entity.other.attribute-name.id, meta.attribute-selector.css entity.other.attribute-name.attribute | #5253C4 | — |
| purple-soft, storage.type.js, keyword.other.unit.px.css, keyword.other.unit.rem.css, keyword.other.unit.em.css, keyword.other.unit.percentage.css | #5253C4aa | — |
| gold, keyword.operator.logical.ruby, keyword.control.def.ruby, keyword.control.conditional.js, keyword.control.conditional.ts, keyword.control.ruby, entity.name.tag.css, entity.name.tag.less, entity.name.tag.custom.css, variable.other.constant | #D39600 | — |
| gold-soft | #D3960077 | — |
| pink, constant.language, constant.numeric, support.class, markup.underline.link.markdown, markup.underline.link.image.markdown, markup.deleted.diff, variable.interpolation, invalid, meta.at-rule.include.scss, invalid.illegal | #D33682 | — |
| red, support.constant.property-value.css, punctuation.definition.string, punctuation.definition.string.begin.markdown, source.elixir punctuation.definition.string, punctuation.definition.string.markdown, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, meta.link.inline.markdown punctuation.definition.string | #DC322F | — |
| blue, source.ruby, variable.other.readwrite.instance, string.regexp, string.regexp keyword.other, variable.parameter.function.python, meta.function-call.arguments.python, entity.name.function.decorator.python, variable.parameter.url.scss, variable.parameter.url.sass, source.css.scss meta.at-rule variable, source.css.sass meta.at-rule variable, support.class.node.ts, support.class.node.tsx, meta.decorator punctuation.decorator.ts, meta.decorator punctuation.decorator.tsx, meta.tag.js meta.jsx.children.tsx, meta.method.declaration storage.type.ts, meta.method.declaration storage.type.tsx, markup.changed, meta.diff.header.git, meta.diff.header.from-file, meta.diff.header.to-file, entity.name.tag.custom, variable.function, meta.function-call, entity.name.type.class.cs, storage.type.cs, keyword.other.unit.css, source.elixir support.type.elixir, source.elixir meta.module.elixir entity.name.class.elixir, source.elixir entity.name.function, source.elixir constant.other.symbol.elixir, source.elixir variable.other.readwrite.module.elixir, source.elixir variable.other.readwrite.module.elixir punctuation.definition.variable.elixir, source.elixir constant.other.keywords.elixir, variable.other.readwrite.powershell, entity.other.attribute-name.id.html, meta.method.declaration storage.type.js, support.constant.json, markup.heading.markdown, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown, markup.bold.markdown, beginning.punctuation.definition.list.markdown, markup.inline.raw.string.markdown, variable.other.global.php, variable.other.global.php punctuation.definition.variable, support.constant, support.variable.dom, support.type, entity.name.function, entity.name.class, entity.name.tag.class.haml, entity.other.inherited-class, entity.other.attribute-name, markup.inserted.diff, string, support.constant.math, constant.character, constant.other, keyword.operator.relational, keyword.other.unit.scss, keyword.other.unit.sass, keyword.operator.arithmetic, keyword.operator.bitwise, keyword.operator.increment, keyword.operator.ternary, storage, storage.type, markup.italic.markdown, keyword.control, meta.var.expr, meta.class meta.method.declaration meta.var.expr storage.type.js, storage.type.property.js, storage.type.property.ts, storage.type.property.tsx, punctuation.accessor, keyword, source.elixir .punctuation.binary.elixir, keyword.operator.logical, entity.name.function, punctuation.definition.tag, meta.tag, entity.name.tag, meta.tag.other.html, meta.tag.other.js, meta.tag.other.tsx, entity.name.tag.tsx, entity.name.tag.js, entity.name.tag, meta.tag.js, meta.tag.tsx, meta.tag.html, meta.selector, entity.name.tag.doctype, meta.tag.sgml.doctype, keyword.operator.comparison, keyword.control.flow.js, keyword.control.flow.ts, keyword.control.flow.tsx, keyword.control.module.ruby, keyword.control.class.ruby, keyword.control.def.ruby, keyword.control.loop.js, keyword.control.loop.ts, keyword.control.import.js, keyword.control.import.ts, keyword.control.import.tsx, keyword.control.from.js, keyword.control.from.ts, keyword.control.from.tsx, keyword.control.switch.js, keyword.control.switch.ts, source.go keyword.package.go, source.go keyword.import.go, source.go keyword.function.go, source.go keyword.type.go, source.go keyword.struct.go, source.go keyword.interface.go, source.go keyword.const.go, source.go keyword.var.go, source.go keyword.map.go, source.go keyword.channel.go, source.go keyword.control.go, punctuation.definition.tag.html, meta.tag.sgml.doctype.html, meta.delimiter.period | #2466D2 | — |
| blue-soft, keyword.control.def.ruby | #2466D2aa | — |
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}!`;
}