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 | #5D5F72 | italic |
| string, string.quoted, string.template, string.interpolated | #A0A3B5 | — |
| constant.character.escape, string.regexp | #D71921 | — |
| punctuation.definition.template-expression, punctuation.section.embedded | #D71921 | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal, constant.numeric.binary | #D71921 | — |
| constant, constant.language, constant.language.boolean, constant.language.null, constant.language.undefined | #D71921 | — |
| variable, variable.other, variable.other.readwrite | #FFFFFF | — |
| variable.other.property, variable.other.object.property, support.variable.property | #C5C8D9 | — |
| variable.language, variable.language.this, variable.language.self, variable.language.super | #D71921 | italic |
| keyword, keyword.control, keyword.control.conditional, keyword.control.loop, keyword.control.flow, keyword.control.trycatch, keyword.operator.new, keyword.operator.expression, keyword.operator.logical, keyword.operator.delete, keyword.operator.typeof, keyword.operator.instanceof, keyword.operator.void, keyword.operator.in, keyword.operator.of | #D71921 | — |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.comparison, keyword.operator.relational, keyword.operator.bitwise, keyword.operator.increment, keyword.operator.decrement, keyword.operator.ternary, punctuation.separator | #8A8D9E | — |
| storage, storage.type, storage.type.function, storage.type.class, storage.type.interface, storage.type.enum, storage.type.namespace, storage.modifier, storage.modifier.async, storage.modifier.static, storage.modifier.readonly | #D71921 | — |
| entity.name.function, meta.function-call, meta.function-call.generic, support.function | #FFFFFF | — |
| variable.parameter, meta.parameters, meta.function.parameters, entity.name.variable.parameter | #C5C8D9 | — |
| storage.type.function.arrow, keyword.declaration.function | #D71921 | — |
| entity.name.class, entity.name.type.class, support.class, entity.other.inherited-class | #FFFFFF | bold |
| entity.name.type.interface | #C5C8D9 | — |
| entity.name.type, support.type, support.type.primitive, support.type.builtin | #C5C8D9 | — |
| entity.name.type.parameter, meta.type.parameters | #D71921 | — |
| entity.name.type.enum, support.type.enum | #FFFFFF | — |
| variable.other.enummember, constant.other.enum | #D71921 | — |
| punctuation, punctuation.definition, punctuation.definition.tag, punctuation.definition.string, punctuation.accessor, punctuation.terminator, punctuation.separator.comma, punctuation.separator.key-value | #6B6E82 | — |
| punctuation.definition.block, punctuation.section, punctuation.section.block, punctuation.brackets, punctuation.parenthesis, punctuation.squarebracket, punctuation.curlybrace, meta.brace | #8A8D9E | — |
| entity.name.tag, meta.tag | #D71921 | — |
| punctuation.definition.tag, punctuation.definition.tag.begin, punctuation.definition.tag.end | #6B6E82 | — |
| entity.other.attribute-name | #FFFFFF | — |
| support.class.component, entity.name.tag.component | #FFFFFF | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #FFFFFF | — |
| entity.name.tag.css | #D71921 | — |
| support.type.property-name.css, meta.property-name.css | #C5C8D9 | — |
| support.constant.property-value.css, meta.property-value.css, support.constant.font-name.css | #A0A3B5 | — |
| keyword.other.unit.css, keyword.other.unit.scss, keyword.other.unit.less | #D71921 | — |
| variable.css, variable.scss, variable.less, variable.argument.css | #FFFFFF | — |
| support.function.css, support.function.misc.css | #FFFFFF | — |
| variable.scss, variable.sass | #FFFFFF | — |
| support.type.property-name.json, string.json support.type.property-name.json | #FFFFFF | — |
| string.quoted.double.json, string.value.json | #A0A3B5 | — |
| heading.1.markdown, heading.2.markdown, heading.3.markdown, heading.4.markdown, heading.5.markdown, heading.6.markdown, markup.heading, markup.heading.setext, entity.name.section.markdown | #FFFFFF | bold |
| punctuation.definition.heading.markdown | #D71921 | — |
| markup.bold, punctuation.definition.bold | #FFFFFF | bold |
| markup.italic, punctuation.definition.italic | #C5C8D9 | italic |
| markup.underline.link, string.other.link | #D71921 | — |
| string.other.link.title.markdown, string.other.link.description.markdown | #FFFFFF | — |
| markup.inline.raw, markup.fenced_code.block, markup.raw.block | #A0A3B5 | — |
| punctuation.definition.markdown, punctuation.definition.raw.markdown | #6B6E82 | — |
| markup.quote, punctuation.definition.quote.begin.markdown | #6B6E82 | italic |
| punctuation.definition.list.begin.markdown, markup.list.numbered, markup.list.unnumbered | #D71921 | — |
| meta.separator.markdown | #3D3F52 | — |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as, keyword.control.default | #D71921 | — |
| entity.name.module, variable.import, variable.other.module | #C5C8D9 | — |
| meta.decorator, punctuation.decorator | #D71921 | — |
| string.regexp | #D71921 | — |
| punctuation.definition.group.regexp, punctuation.definition.character-class.regexp | #FFFFFF | — |
| invalid, invalid.illegal | #FFFFFF | — |
| invalid.deprecated | #8A8D9E | strikethrough |
| markup.inserted, punctuation.definition.inserted | #50FA7B | — |
| markup.deleted, punctuation.definition.deleted | #D71921 | — |
| markup.changed, punctuation.definition.changed | #FFAA00 | — |
| entity.name.tag.yaml | #FFFFFF | — |
| entity.name.type.anchor.yaml, variable.other.alias.yaml, punctuation.definition.alias.yaml | #D71921 | — |
| keyword.key.toml | #FFFFFF | — |
| entity.other.attribute-name.table.toml, entity.other.attribute-name.table.array.toml | #D71921 | — |
| variable.other.normal.shell, variable.other.positional.shell, variable.other.special.shell | #FFFFFF | — |
| support.function.builtin.shell | #D71921 | — |
| variable.parameter.function.language.special.self.python | #D71921 | italic |
| support.function.magic.python | #FFFFFF | — |
| entity.name.function.decorator.python, meta.function.decorator.python | #D71921 | — |
| entity.name.package.go | #C5C8D9 | — |
| entity.name.type.lifetime.rust, punctuation.definition.lifetime.rust | #D71921 | — |
| entity.name.function.macro.rust | #D71921 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #D71921 | — |
| keyword.other.DML.sql, keyword.other.DDL.sql | #D71921 | — |
| keyword.operation.graphql | #D71921 | — |
| entity.name.function.target.makefile | #FFFFFF | bold |
| keyword.other.special-method.dockerfile | #D71921 | — |
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}!`;
}