Darkside_light_selection Theme
Publisher: geraneThemes in package: 1
Darkside_light_selection Theme ported from the Darksidelightselection TextMate Theme
Darkside_light_selection Theme ported from the Darksidelightselection TextMate Theme
Full workbench mockup using this variant's colors and tokenColors.
Loading...
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| mcol_E4E4E5FF | #000000FF | — |
| mcol_004666FF | #FFFFFFFF | — |
| mcol_FFFFFFFF | #000000FF | — |
| mcol_EBCED7FF | #000000FF | — |
| mcol_A21E4DFF | #FFFFFFFF | — |
| mcol_98A6ACFF | #000000FF | — |
| mcol_4C53567F | #FFFFFFFF | — |
| mcol_D3D6D9FF | #000000FF | — |
| mcol_67899DFF | #000000FF | — |
| mcol_67879DFF | #000000FF | — |
| mcol_D0D0D0FF | #000000FF | — |
| mcol_4F4F4FFF | #FFFFFFFF | — |
| mcol_E5E6E9FF | #000000FF | — |
| mcol_C0C0C0FF | #000000FF | — |
| mcol_FF0000FF | #FFFFFFFF | — |
| mcol_90949900 | #FFFFFFFF | — |
| mcol_90949926 | #FFFFFFFF | — |
| mcol_90949919 | #FFFFFFFF | — |
| mcol_9094990C | #FFFFFFFF | — |
| mcol_D8AA00FF | #000000FF | — |
| mcol_FF8629FF | #000000FF | — |
| mcol_000000FF | #FFFFFFFF | — |
| mcol_222324FF | #FFFFFFFF | — |
| mcol_F8F8F0FF | #000000FF | — |
| mcol_BABABAFF | #000000FF | — |
| mcol_3B3A32FF | #FFFFFFFF | — |
| mcol_303333FF | #FFFFFFFF | — |
| mcol_FFE792FF | #000000FF | — |
| mcol_222218FF | #FFFFFFFF | — |
| mcol_9D550FB0 | #FFFFFFFF | — |
| mcol_F8F8F2A5 | #000000FF | — |
| mcol_494B4DFF | #FFFFFFFF | — |
| mcol_F2D42CFF | #000000FF | — |
| mcol_8E69C9FF | #FFFFFFFF | — |
| mcol_F08D24FF | #000000FF | — |
| mcol_E8341CFF | #FFFFFFFF | — |
| mcol_1CC3E8FF | #000000FF | — |
| mcol_68C244FF | #000000FF | — |
| mcol_00A8C6FF | #FFFFFFFF | — |
| mcol_8FBE00FF | #000000FF | — |
| mcol_CFCFC2FF | #000000FF | — |
| mcol_75715EFF | #FFFFFFFF | — |
| mcol_A6E22EFF | #000000FF | — |
| mcol_E6DB74FF | #000000FF | — |
| mcol_8FBE00A0 | #FFFFFFFF | — |
| mcol_D02000FF | #FFFFFFFF | — |
| mcol_DDB700FF | #000000FF | — |
| mcol_303343FF | #FFFFFFFF | — |
| mcol_6B6F72FF | #FFFFFFFF | — |
| mcol_75787BFF | #FFFFFFFF | — |
| mcol_75786BFF | #FFFFFFFF | — |
| mcol_75781BFF | #FFFFFFFF | — |
| mcol_75780BFF | #FFFFFFFF | — |
| mcol_7578FBFF | #000000FF | — |
| — | #BABABA | — |
| comment | #494B4D | — |
| string | #F2D42C | — |
| constant.numeric | #8E69C9 | — |
| constant.language | #8E69C9 | — |
| constant.character, constant.other | #8E69C9 | — |
| variable | — | |
| keyword | #F08D24 | — |
| storage | #E8341C | |
| storage.type | #1CC3E8 | italic |
| entity.name.class | #8E69C9 | underline |
| entity.other.inherited-class | #8E69C9 | italic underline |
| entity.name.function | #68C244 | |
| variable.parameter | #8E69C9 | italic |
| entity.name.tag | #E8341C | |
| entity.other.attribute-name | #68C244 | |
| support.function | #8E69C9 | |
| support.constant | #8E69C9 | |
| support.type, support.class | #8E69C9 | italic |
| support.other.variable | — | |
| invalid | #F8F8F0 | |
| invalid.deprecated | #F8F8F0 | — |
| meta.structure.dictionary.json string.quoted.double.json | #CFCFC2 | — |
| meta.diff, meta.diff.header | #75715E | — |
| markup.deleted | #00A8C6 | — |
| markup.inserted | #A6E22E | — |
| markup.changed | #E6DB74 | — |
| constant.numeric.line-number.find-in-files - match | #8FBE00A0 | — |
| entity.name.filename.find-in-files | #E6DB74 | — |
| sublimelinter.mark.error | #D02000 | — |
| sublimelinter.mark.warning | #DDB700 | — |
| sublimelinter.gutter-mark | #FFFFFF | — |
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}!`;
}