Solarized Espresso Soda
Publisher: Daur GamisoniaThemes in package: 1
Converted syntax theme for VSC from the original Soda Theme available for Sublime Text editor
Converted syntax theme for VSC from the original Soda Theme available for Sublime Text editor
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 |
|---|---|---|
| — | #000000 | — |
| comment, comment punctuation | #93A1A1 | — |
| comment.block.preprocessor | #ADADAD | — |
| comment.documentation, comment.block.documentation | #BC670F | — |
| invalid.deprecated | — | italic underline |
| invalid.illegal | #000000 | — |
| keyword.operator | #626FC9 | — |
| keyword, storage | #61862F | — |
| storage.type, support.type | #6700B9 | — |
| constant.language, support.constant, variable.language | #7653C1 | — |
| variable, support.variable, meta.at-rule.include.scss, punctuation.definition.variable.less | #4C8FC7 | — |
| entity.name.function, support.function, entity | #61862F | — |
| entity.name.type, entity.other.inherited-class, support.class | #3A1D72 | — |
| entity.name.exception | #F93232 | — |
| entity.name.section | — | |
| constant.numeric, constant | #7653C1 | — |
| punctuation, keyword.operator.attribute-selector.less | #000000 | — |
| constant.character, string, meta.attribute-selector.scss | #BC670F | — |
| string punctuation | #E69A4C | — |
| constant.character.escape | — | bold |
| string.regexp | #699D36 | — |
| constant.other.symbol | — | bold |
| string source, text source | #434343 | — |
| markup.changed | #000000 | — |
| markup.deleted | #000000 | — |
| markup.italic | — | italic |
| markup.error | #F9F2CE | — |
| markup.inserted | #000000 | — |
| markup.output, markup.raw | #7F7F7F | — |
| markup.prompt | #555555 | — |
| markup.heading | — | bold |
| markup.bold | — | bold |
| markup.traceback | #F93232 | — |
| markup.underline | — | underline |
| meta.diff.range, meta.diff.index, meta.separator | #434343 | — |
| meta.diff.header.from-file | #434343 | — |
| meta.diff.header.to-file | #434343 | — |
| meta.tag.sgml.doctype | #7F7F7F | — |
| entity.name.tag | #2F6F9F | — |
| meta.tag string punctuation | #5FAFEF | — |
| punctuation.definition.tag | #4F9FCF | — |
| constant.character.entity | #000000 | — |
| entity.other.attribute-name | #4C8FC7 | — |
| meta.tag string.quoted, meta.tag string.quoted constant.character.entity | #D44950 | — |
| text.pug meta.tag string.quoted | #BC670F | — |
| entity.name.tag.pug | #61862F | — |
| entity.other.attribute-name.tag.pug | #2F6F9F | — |
| entity.name.function.pug | #9C27B0 | — |
| entity.other.attribute-name.class.pug | #4F9FCF | — |
| text.pug variable.other.readwrite.js, variable.control.import.include.pug | #268BD2 | — |
| string.comment.buffered.block.pug | #777 | — |
| meta.property-name, support.type.property-name | #D4430D | — |
| meta.selector, meta.selector entity, meta.selector entity punctuation | #3A77BF | — |
| entity.other.attribute-name, entity.other.attribute-name.parent-selector-suffix.css punctuation.definition.entity.css | #4F9FCF | — |
| constant.other.color.rgb-value.hex.css, constant.other.color.rgb-value.hex.css punctuation.definition.constant.css | #43A202 | — |
| entity.name.tag.css, entity.name.tag.less | #2F6F9F | — |
| meta.property-value constant.numeric, meta.property-value constant, meta.property-value keyword, keyword.other.unit.px.css, keyword.other.unit.s.css, constant.numeric.css, meta.definition.variable.scss keyword.other.unit.percentage.css, constant.numeric.less, constant.other.color.rgb-value.less punctuation.definition.constant.less | #43A202 | — |
| entity.other.attribute-name.class.css punctuation.definition.entity.css, entity.other.attribute-name.class.less punctuation.definition.entity.less | #4C8FC7 | — |
| entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.less, entity.other.attribute-name.pseudo-class.less | #4C8FC7 | — |
| punctuation.definition.entity.css, punctuation.definition.entity.less | #4C8FC7 | — |
| support.function.misc.css, support.function.misc.scss, support.function.transform.css, support.function.transform.less, support.function.gradient.css, support.function.gradient.less, entity.name.function.scss, support.function.color.less | #61862F | — |
| punctuation.definition.keyword.css, punctuation.definition.keyword.scss, punctuation.definition.keyword.less | #61862F | — |
| keyword.other.important.css, keyword.other.important.scss, keyword.other.important.less, keyword.other.important.less punctuation.separator.less | #D33682 | — |
| meta.at-rule.extend.scss, meta.at-rule.extend.scss support.constant.mathematical-symbols.scss | #4F9FCF | — |
| source.css.scss entity.other.attribute-name.placeholder.css punctuation.definition.entity.css | #4F9FCF | — |
| meta.function-call.less | #7653C1 | — |
| keyword.other.pseudo-class.less | #7653C1 | — |
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}!`;
}