VSXCode Themes + Glassy Widgets
Publisher: BahmanThemes in package: 2
XCode Themes for VSCode + Glassy Widgets
XCode Themes for VSCode + Glassy Widgets
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 | #7F8C98 | — |
| string, punctuation.definition.string, punctuation.support.type.property-name.begin.json, punctuation.support.type.property-name.end.json | #FF8170 | — |
| constant.numeric | #D9C97C | — |
| constant.other.placeholder, constant.character.escape | #FFFFFFD8 | — |
| keyword, keyword.operator.new, keyword.operator.wordlike, keyword.operator.logical.and, storage, variable.language, constant.language | #FF7AB2 | — |
| keyword.control.directive, punctuation.definition.directive | #FFA14F | |
| variable.parameter | #4EB0CC | — |
| entity.name.type, entity.other.inherited-class, storage.type.haskell | #ACF2E4 | — |
| keyword.type.cs, storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go | #DABAFF | |
| entity.name.function, support.function | #78C2B3 | — |
| support.function.builtin | #B281EB | — |
| variable.other.property, variable.other.object.property, entity.name.variable.field | #78C2B3 | — |
| entity.name.function.preprocessor | #FFA14F | — |
| entity.name.tag | #DABAFF | — |
| entity.other.attribute-name, support.type.property-name.css, support.type.property-name.media.css | #B281EB | — |
| constant.other.color, support.constant.color, punctuation.definition.constant.css, keyword.other.unit | #D9C97C | — |
| support.constant.property-value, support.constant.font-name | #FF7AB2 | — |
| support.constant.media.css | #78C2B3 | — |
| punctuation.definition.heading.markdown, meta.separator.markdown, punctuation.definition.markdown, punctuation.definition.list.begin.markdown, punctuation.definition.italic.markdown, punctuation.definition.bold.markdown, punctuation.definition.quote.begin.markdown, punctuation.definition.raw.markdown, fenced_code.block.language.markdown, markup.heading.marker.asciidoc, markup.heading.block-attribute.asciidoc, punctuation.separator.asciidoc, constant.asciidoc, punctuation.definition.asciidoc | #78C2B3 | — |
| markup.heading | — | — |
| markup.bold | — | — |
| markup.italic | — | italic |
| magit.header | #DABAFF | — |
| magit.subheader | #B281EB | — |
| magit.entity | #D9C97C | — |
| meta.diff.range.unified, punctuation.definition.range.diff | #7F8C98 | — |
| markup.inserted, punctuation.definition.inserted | #ACF2E4 | — |
| markup.deleted, punctuation.definition.deleted | #FF8170 | — |
| keyword.operator, punctuation, storage.modifier.pointer | #FFFFFFD8 |
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}!`;
}