Nothing OS Theme
Publisher: xexefeThemes in package: 5
A minimal, high-contrast theme inspired by Nothing OS design language with signature red accents and dot-matrix aesthetics
A minimal, high-contrast theme inspired by Nothing OS design language with signature red accents and dot-matrix aesthetics
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 | #6b7d85 | italic |
| keyword, storage.type, storage.modifier, keyword.operator.new, keyword.other.important | #ffd84d | bold |
| keyword.control.conditional, keyword.control.loop, keyword.control.return, keyword.control.break, keyword.control.continue, keyword.control.exception | #d93d4f | bold |
| string, string.quoted, string.template, punctuation.definition.string | #a3b4cc | — |
| constant.numeric | #e85f6f | — |
| constant.language.boolean, constant.language.null, constant.language.undefined, constant.other | #e85f6f | — |
| entity.name.function, support.function, meta.function-call.generic, meta.method-call, entity.name.method | #5a7fb8 | — |
| variable, variable.other, variable.parameter, meta.definition.variable | #e1e6f0 | — |
| entity.name.type, entity.name.class, support.type, support.class, storage.type.class, entity.name.namespace | #6b8fc9 | — |
| variable.other.property, support.type.property-name | #5a7fb8 | — |
| variable.other.readwrite, variable.other.object.property | #e85f6f | — |
| entity.name.tag, entity.name.tag.html, entity.name.tag.xml | #6b8fc9 | — |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as | #5a7fb8 | — |
| keyword.operator.arithmetic, keyword.operator.logical, keyword.operator.comparison | #b4b4b4 | — |
| keyword.operator.assignment, keyword.operator.arrow, keyword.operator.spread, keyword.operator.rest | #e85f6f | — |
| punctuation, punctuation.separator, punctuation.terminator, punctuation.accessor | #b4b4b4 | — |
| punctuation.decorator, entity.name.function.decorator | #5a7fb8 | — |
| invalid, invalid.illegal | #c80f2e | bold |
| markup.heading, entity.name.section | #ffd84d | bold |
| markup.underline.link, string.other.link | #c80f2e | underline |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.quote | #b4b4b4 | italic |
| markup.inline.raw, markup.fenced_code.block | #ffd84d | — |
| support.type.property-name.json | #ffd84d | — |
| string.quoted.double.json | #a3b4cc | — |
| constant.numeric.json | #e85f6f | — |
| constant.language.boolean.json, constant.language.null.json | #e85f6f | — |
| support.type.property-name.css | #5a7fb8 | — |
| support.constant.property-value.css | #e85f6f | — |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #6b8fc9 | — |
| entity.other.attribute-name.html | #5a7fb8 | — |
| string.quoted.double.html, string.quoted.single.html | #a3b4cc | — |
| markup.inserted.diff | #b4b4b4 | — |
| markup.deleted.diff | #c80f2e | — |
| variable.language.this, variable.language.self | #ffd84d | italic |
| entity.name.type.interface | #6b8fc9 | — |
| entity.name.type.parameter | #6b8fc9 | — |
| variable.parameter.function.language.python | #8a8a8a | italic |
| string.regexp | #e85f6f | — |
| storage.modifier.async, storage.modifier.static, storage.modifier.abstract | #d93d4f | — |
| constant.language.infinity, constant.numeric.infinity, constant.language.nan | #e85f6f | — |
| storage.modifier.access, keyword.other.access-modifier | #d93d4f | — |
| meta.template.expression | #e85f6f | — |
| entity.name.tag.yaml, support.type.property-name.yaml | #ffd84d | — |
| keyword.other.definition.yaml | #ffd84d | — |
| string.unquoted.yaml, string.quoted.double.yaml, string.quoted.single.yaml | #a3b4cc | — |
| constant.numeric.yaml | #e85f6f | — |
| constant.language.boolean.yaml | #e85f6f | — |
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}!`;
}