Ultraedit Theme
Publisher: KorandThemes in package: 2
Ultraedit dark and light color themes for VS Code
Ultraedit dark and light color 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 |
|---|---|---|
| comment | #55A0A0C0 | — |
| comment storage.type.class.jsdoc, comment punctuation.definition.block.tag.jsdoc | #FF6060C0 | — |
| string | #AAAAAA | — |
| constant.numeric | #FF6060 | — |
| support.function | #C08080 | — |
| variable, meta.definition.variable entity.name.function | #C8843A | — |
| entity.name.type.class | — | bold |
| variable.other.global, constant, support.constant, storage, keyword | #6699DD | — |
| meta.decorator entity.name.function, meta.decorator meta.function-call entity.name.function, meta.decorator punctuation.decorator | #C186B4 | — |
| support.type.primitive, meta.type.annotation, meta.return.type, meta.type.parameters | #8FA3BB | — |
| constant.regexp | #6B9FDD | — |
| keyword.operator, storage.modifier | #50B050 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #C186B4 | — |
| support.function.construct.php | — | |
| punctuation.definition.tag, punctuation.definition.tag.begin, punctuation.definition.tag.end, entity.name.tag, entity.name.tag.block.any, entity.name.tag.inline.any | #6699DD | — |
| entity.other.attribute-name | #FF6060C0 | — |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #6699DD | — |
| meta.property-value.css keyword.other.unit, meta.at-rule.media.header.css keyword.other.unit | #FF6060 | — |
| meta.property-value.css support.constant, meta.property-value.css constant | #C8843A | — |
| meta.property-value.css support.function | — | |
| punctuation.support.type.property-name.begin.json, punctuation.support.type.property-name.end.json | #AAAAAA | — |
| support.type.property-name.json | #C8843A | — |
| string.quoted.double.json | #AAAAAA | — |
| constant.numeric.json | #FF6060 | — |
| constant.language.json | #6699DD | — |
| punctuation.definition.dictionary.begin.json, punctuation.definition.dictionary.end.json, punctuation.definition.array.begin.json, punctuation.definition.array.end.json | #50B050 | — |
| keyword.other.sql, keyword.other.create.sql, keyword.other.DML.sql, keyword.other.DML.II.sql, keyword.other.postgres, keyword.other.sql.postgres, keyword.control.postgres | #C8843A | — |
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 | #55A0A0C0 | — |
| comment storage.type.class.jsdoc, comment punctuation.definition.block.tag.jsdoc | #FF000090 | — |
| string | #686868 | — |
| constant.numeric | #ff0000 | — |
| support.function | #804040 | — |
| variable, meta.definition.variable entity.name.function | #FF8000 | — |
| entity.name.type.class | — | bold |
| variable.other.global, constant, support.constant, storage, keyword | #0000ff | — |
| meta.decorator entity.name.function, meta.decorator meta.function-call entity.name.function, meta.decorator punctuation.decorator | #A16A94 | — |
| support.type.primitive, meta.type.annotation, meta.return.type, meta.type.parameters | #5476a0 | — |
| constant.regexp | #4B83CD | — |
| keyword.operator, storage.modifier | #008000 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #A16A94 | — |
| support.function.construct.php | — | |
| punctuation.definition.tag, punctuation.definition.tag.begin, punctuation.definition.tag.end, entity.name.tag, entity.name.tag.block.any, entity.name.tag.inline.any | #0000FF | — |
| entity.other.attribute-name | #FF0000 | — |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #0000FF | — |
| meta.property-value.css keyword.other.unit, meta.at-rule.media.header.css keyword.other.unit | #FF0000 | — |
| meta.property-value.css support.constant, meta.property-value.css constant | #FF8000 | — |
| meta.property-value.css support.function | — | |
| punctuation.support.type.property-name.begin.json, punctuation.support.type.property-name.end.json | #686868 | — |
| support.type.property-name.json | #FF8000 | — |
| string.quoted.double.json | #686868 | — |
| constant.numeric.json | #FF0000 | — |
| constant.language.json | #0000FF | — |
| punctuation.definition.dictionary.begin.json, punctuation.definition.dictionary.end.json, punctuation.definition.array.begin.json, punctuation.definition.array.end.json | #008000 | — |
| keyword.other.sql, keyword.other.create.sql, keyword.other.DML.sql, keyword.other.DML.II.sql, keyword.other.postgres, keyword.other.sql.postgres, keyword.control.postgres | #FF8000 | — |
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}!`;
}