Solarized Sharp
Publisher: muhammad-sammyThemes in package: 2
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 |
|---|---|---|
| Global settings | #819090 | — |
| string | #2aa198 | — |
| punctuation, constant.other.symbol | #586e75 | — |
| constant.character.escape, text.html constant.character.entity.named | #dc322f | — |
| constant.language.boolean | #6c71c4 | — |
| constant.numeric | #d33682 | — |
| variable, variable.parameter, support.variable, variable.language, support.constant, meta.definition.variable entity.name.function, meta.function-call.arguments | #819090 | — |
| keyword.other | #859900 | — |
| keyword, modifier, variable.language.this, support.type.object, constant.language | #859900 | — |
| entity.name.function, support.function | #268bd2 | — |
| storage.type, storage.modifier, storage.control | #859900 | — |
| support.module, support.node | #859900 | italic |
| support.type, constant.other.key | #b58900 | — |
| entity.name.type, entity.other.inherited-class, entity.other | #b58900 | — |
| comment | #586e75e7 | italic |
| comment punctuation.definition.comment, string.quoted.docstring | #586e75e7 | italic |
| punctuation | #586e75 | — |
| entity.name, entity.name.type.class, support.type, support.class, meta.use | #b58900 | — |
| variable.object.property, meta.field.declaration entity.name.function | #268bd2 | — |
| meta.definition.method entity.name.function | #268bd2 | — |
| meta.function entity.name.function | #268bd2 | — |
| template.expression.begin, template.expression.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #859900 | — |
| meta.embedded, source.groovy.embedded, meta.template.expression | #819090 | — |
| entity.name.tag.yaml | #859900 | — |
| meta.object-literal.key, meta.object-literal.key string, support.type.property-name.json | #859900 | — |
| constant.language.json | #859900 | — |
| entity.other.attribute-name.class | #b58900 | — |
| entity.other.attribute-name.id | #cb4b16 | — |
| source.css entity.name.tag | #b58900 | — |
| support.type.property-name.css | #268bd2 | — |
| meta.tag, punctuation.definition.tag | #859900 | — |
| entity.name.tag | #859900 | — |
| entity.other.attribute-name | #859900 | — |
| punctuation.definition.entity.html | #dc322f | — |
| markup.heading | #859900 | — |
| text.html.markdown meta.link.inline, meta.link.reference | #859900 | — |
| text.html.markdown beginning.punctuation.definition.list | #859900 | — |
| markup.italic | #859900 | italic |
| markup.bold | #859900 | bold |
| markup.bold markup.italic, markup.italic markup.bold | #859900 | italic bold |
| markup.fenced_code.block.markdown punctuation.definition.markdown | #2aa198 | — |
| markup.inline.raw.string.markdown | #2aa198 | — |
| keyword.other.definition.ini | #859900 | — |
| entity.name.section.group-title.ini | #859900 | — |
| source.cs meta.class.identifier storage.type | #b58900 | — |
| source.cs meta.method.identifier entity.name.function | #268bd2 | — |
| source.cs meta.method-call meta.method, source.cs entity.name.function | #268bd2 | — |
| source.cs storage.type | #b58900 | — |
| source.cs meta.method.return-type | #b58900 | — |
| source.cs meta.preprocessor | #586e75e7 | — |
| source.cs entity.name.type.namespace | #819090 | — |
| meta.jsx.children, SXNested | #819090 | — |
| support.class.component | #b58900 | — |
| source.cpp meta.block variable.other | #819090 | — |
| source.python meta.member.access.python | #859900 | — |
| source.python meta.function-call.python, meta.function-call.arguments | #268bd2 | — |
| meta.block | #859900 | — |
| entity.name.function.call | #268bd2 | — |
| source.php support.other.namespace, source.php meta.use support.class | #819090 | — |
| constant.keyword | #859900 | italic |
| entity.name.function | #268bd2 | — |
| Global settings | #819090 | — |
| keyword.other.using.cs, keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as, keyword.other.namespace.cs | #cb4b16 | — |
| entity.name.type.namespace.cs | #b58900 | — |
| entity.name.variable, entity.other.attribute-name | #819090 | — |
| keyword.control.razor.directive, keyword.control.cshtml.transition | #cb4b16 | — |
| entity.name.tag.html | #6c71c4 | — |
| entity.other.attribute-name.html | #d33682 | — |
| entity.name.tag.localname.cs | #839496 | — |
| entity.other.attribute-name.localname.cs | — | italic |
| punctuation.definition.tag | #586E75 | — |
| keyword.preprocessor, string.unquoted.preprocessor.message | #cb4b16 | bold |
| meta.brace.square, meta.brace.round | #586e75 | — |
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}!`;
}