Magic Orange | Color theme
Publisher: anridevThemes in package: 1
Beautiful Color theme with mix of orange and arcane colors
Beautiful Color theme with mix of orange and arcane colors
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 |
|---|---|---|
| string | #1EB322 | — |
| constant.numeric | #66D9EF | — |
| variable | #FCB065 | — |
| entity.name.function | #1dd1a1 | — |
| variable.parameter | #AE81FF | — |
| entity.name.tag | #79E99B | — |
| entity.other.attribute-name | #35E99B | — |
| constant.language | #E6583E | — |
| constant.character, constant.other | #E6583E | — |
| keyword | #E6583E | — |
| meta.template.expression | #f8f2f2 | — |
| comment | #75715E | — |
| storage | #FD971F | — |
| storage.type | #EE5A24 | — |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name | #FD971F | — |
| entity.name.class | #A6E22E | — |
| entity.other.inherited-class | #A6E22E | — |
| support.function | #1dd1a1 | — |
| support.constant | #66D9EF | — |
| support.type, support.class | #1dd1a1 | — |
| support.other.variable | — | — |
| invalid | #F8F8F0 | — |
| invalid.deprecated | #F8F8F0 | — |
| punctuation.separator, punctuation.accessor | #EE5A24 | — |
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}!`;
}