Sublime Text 4 Colorful Theme
Publisher: EnubiaThemes in package: 1
Sublime Text 4 Theme! New dark theme from Sublime Text 4 with converted color files from HSL to HEX, including the original and a colorful version.
Sublime Text 4 Theme! New dark theme from Sublime Text 4 with converted color files from HSL to HEX, including the original and a colorful version.
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 | #A6ACB9 | — |
| string.quoted.single, string.quoted.double | #99C794 | — |
| punctuation.definition | #5FB4B4 | — |
| constant.numeric | #F9AE58 | — |
| constant.language | #EC5F66 | italic |
| constant.character, constant.other | #C695C6 | — |
| variable.member, variable.other.constant.property | #EC5F66 | — |
| keyword, keyword.operator.word, keyword.control, keyword.operator.new | #C695C6 | — |
| string.template, meta.template.expression, meta.embedded.line | #99C794 | — |
| variable.other.object.property | #d8dee9 | — |
| keyword.operator | #F97B58 | — |
| punctuation.separator, punctuation.terminator | #A6ACB9 | — |
| punctuation.section | #d8dee9 | — |
| punctuation.accessor | #A6ACB9 | — |
| punctuation.definition.annotation | #5FB4B4 | — |
| variable.other.dollar.only, variable.other.object.dollar.only, variable.type.dollar.only, support.class.dollar.only | #5FB4B4 | — |
| storage, storage.type | #C695C6 | — |
| entity.name.function | #86b9eb | — |
| meta.object-literal.key | #6699CC | — |
| entity.name | #FAC761 | — |
| entity.other.inherited-class | #5FB4B4 | italic underline |
| variable.parameter | #FAC761 | |
| variable.language | #EC5F66 | italic |
| entity.name.tag | #EC5F66 | |
| entity.other.attribute-name | #C594C5 | — |
| variable.function, variable.annotation | #6699CC | |
| support.function, support.macro | #6699CC | italic |
| support.constant | #C594C5 | italic |
| support.type, support.class | #86b9eb | — |
| support.type.object.module | — | italic |
| invalid | #FFFFFF70 | — |
| invalid.deprecated | #d8dee9 | — |
| entity.name.tag.yaml | #5FB4B4 | — |
| source.yaml string.unquoted | #d8dee9 | — |
| markup.heading | — | bold |
| markup.heading punctuation.definition.heading | #EC5F66 | — |
| markup.heading.1 punctuation.definition.heading | #EC5F66 | — |
| string.other.link, markup.underline.link | #6699CC | — |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.italic markup.bold | markup.bold markup.italic | — | bold italic |
| punctuation.definition.thematic-break | #FAB763 | — |
| markup.list.numbered.bullet | #A3CE9E | — |
| markup.quote punctuation.definition.blockquote, markup.list punctuation.definition.list_item | #FAC761 | — |
| (text punctuation.definition.italic | text punctuation.definition.bold) | #C594C5 | — |
| meta.diff, meta.diff.header | #C594C5 | — |
| markup.deleted | #EC5F66 | — |
| markup.inserted | #99C794 | — |
| markup.changed | #EBCB8B | — |
| support.type.property-name | #6796E6 | — |
| constant.numeric.line-number.match | #EC5F66 | — |
| message.error | #EC5F66 | — |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
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}!`;
}