Solarized Custom
Publisher: bbrakenhoffThemes in package: 2
Custom Solarized themes for vs-code
Custom Solarized themes for vs-code
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 |
|---|---|---|
| entity.name.type, entity.name.type.class | #859900FF | — |
| meta.decorator | #CB4B16FF | — |
| meta.function-call, entity.name.function | #268BD2FF | — |
| keyword, keyword.operator.new, storage, variable.language, support.type.builtin, constant.language, support.type.primitive | #D33682FF | |
| constant.numeric | #CB4B16FF | — |
| variable.other.property, variable.other.object.property, meta.field.declaration | #6C71C4FF | — |
| keyword.operator, punctuation.accessor, punctuation.terminator, punctuation.separator, punctuation.definition.entity.css | #B58900FF | bold |
| string | #2AA198FF | — |
| variable.parameter | #6C71C4FF | |
| comment | #93A1A1FF | — |
| storage.type.class.jsdoc, punctuation.definition.block.tag.jsdoc | #93A1A1FF | bold |
| entity.name.type.instance.jsdoc | #93A1A1FF | italic |
| entity.other.attribute-name.class.css | #859900FF | — |
| entity.other.attribute-name.id.css | #859900FF | bold |
| support.constant.media.css, keyword.operator.logical.scss | — | italic |
| support.constant.property-value.css | #CB4B16FF | — |
| entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name.pseudo-class.css | #D33682FF | italic |
| entity.name.tag.css | #D33682FF | — |
| keyword.other.unit | #B58900FF | — |
| entity.other.attribute-name.placeholder.css | #859900FF | italic |
| entity.other.attribute-name.class.css | #859900FF | — |
| entity.name.function.scss | — | italic |
| support.function.misc.scss | #268BD2FF | italic |
| variable.scss | #6C71C4FF | — |
| entity.other.attribute-name | #6C71C4FF | — |
| punctuation.separator.key-value.html | #268BD2FF | — |
| text.html.derivative | #B58900FF | — |
| constant.character.entity.named.nbsp.html | #859900FF | bold |
| punctuation.definition.tag | #268BD2FF | — |
| entity.name.tag | #D33682FF | — |
| punctuation.definition.string.begin.json, punctuation.definition.string.end.json, punctuation.support.type.property-name.begin.json, punctuation.support.type.property-name.end.json | #B58900FF | — |
| support.type.property-name.json | #6C71C4FF | — |
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}!`;
}