gedit Oblivion x Atom One Light
Publisher: tpower21Themes in package: 1
Dark syntax theme ported from gedit Oblivion, with a light UI like Atom One Light
Dark syntax theme ported from gedit Oblivion, with a light UI like Atom One Light
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 | #B0B0B0 | italic |
| string | #EDD400 | — |
| constant.numeric | #CE5A10 | — |
| constant.language | #CE5C00 | bold |
| constant.character, constant.other | #90C12E | — |
| constant.character.escape.line-continuation | #d3d7cf | — |
| variable | #FFFFFF | |
| meta.object-literal.key, variable.other.property, variable.other.object.property | #6290C5 | |
| meta.indexed-name, meta.attribute, variable.language.special.self, variable.other.object.property | #6290C5 | |
| meta.function-call | #FFFFFF | bold |
| variable.other.normal | #6290C5 | |
| keyword | #FFFFFF | bold |
| storage | #FFFFFF | bold |
| storage.type | #FFFFFF | italic bold |
| storage.modifier | #FFFFFF | italic bold |
| entity.name.class | #FFFFFF | underline |
| entity.other.inherited-class | #A6E22E | italic underline |
| entity.name.function | #FFFFFF | bold |
| variable.parameter | #FD971F | italic bold |
| entity.name.tag, punctuation.definition.tag | #729FCF | |
| entity.name.tag.css | #F92672 | bold |
| entity.other.attribute-name | #A6E22E | |
| support.function | #FFFFFF | bold |
| support.function.construct | #73D216 | bold |
| support.constant | #66D9EF | |
| support.type, support.class | #66D9EF | italic |
| support.other.variable | — | |
| invalid | #F8F8F0 | |
| invalid.deprecated | #F8F8F0 | — |
| remark.todo | #FFFFAA | — |
| remark.done | #DDDDDD | — |
| remark.wait | #CCFFCC | — |
| remark.note | #AAAAAA | — |
| remark.fixme | #FFAAAA | — |
| remark.warning | #FF9900 | — |
| remark.info | #FFFFAA | — |
| remark.exception | #FFAAAA | — |
| remark.error | #FF3366 | — |
| meta.diff, meta.diff.header | #75715E | — |
| markup.deleted | #A40000 | — |
| markup.inserted | #4E9A06 | — |
| markup.changed | #204A87 | — |
| text.html.markdown meta.dummy.line-break | #E0EDDD | — |
| text.html.markdown markup.raw.inline | #269186 | — |
| punctuation.definition.raw.markdown | #269186 | — |
| markup.heading | #CB4B16 | bold |
| markup.italic | #839496 | italic |
| markup.bold | #586E75 | bold |
| punctuation.definition.bold.markdown, punctuation.definition.italic.markdown | #586E75 | — |
| markup.underline | #839496 | underline |
| markup.quote | #268BD2 | italic |
| meta.separator | #268BD2 | bold |
| storage.type.ts, storage.type.js, storage.type.tsx | #FFFFFF | italic |
| keyword.operator | #FFFFFF | bold |
| 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}!`;
}