clearTex
Publisher: max6Themes in package: 1
A light theme for writing Tex without distractions
A light theme for writing Tex without distractions
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 |
|---|---|---|
| entity.name.section | #2B2026 | bold |
| meta.function.section.subsection.latex | #4B4046 | — |
| support.function | #A37ACC | — |
| comment, punctuation.definition.comment | #ABB0B6 | italic |
| variable | #5C6066 | — |
| keyword, storage.type, storage.modifier | #F2590C | — |
| constant.other.color, meta.tag, punctuation.separator.inheritance.php, punctuation.section.embedded, keyword.other.substitution | #E7C547 | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #41A6D9 | — |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method, meta.block-level | #F29718 | — |
| support.other.variable, string.other.link | #F07178 | — |
| constant.numeric, constant.language, support.constant, constant.character, variable.parameter, keyword.other.unit | #A37ACC | — |
| string, keyword.other.template, constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #86B300 | |
| entity.name.class, entity.name.type.class, support.type, support.class, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter | #41A6D9 | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #41A6D9 | — |
| variable.language | #41A6D9 | italic |
| invalid | #FF3333 | — |
| invalid.deprecated | #FFFFFF | — |
| punctuation.definition.tag.end, punctuation.definition.tag.begin, punctuation.definition.tag | #41A6D990 | — |
| entity.other.attribute-name | #F2590C | — |
| markup.inserted | #86B300 | — |
| markup.deleted | #41A6D9 | — |
| markup.changed | #F2590C | — |
| string.regexp, constant.character.escape | #4DBF99 | — |
| *url*, *link*, *uri* | — | underline |
| constant.numeric.line-number.find-in-files - match | #ABB0B6 | — |
| entity.name.filename.find-in-files | #86B300 | — |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #CCA37A | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #41A6D9 | italic |
| entity.name.method.js | #CCA37A | italic |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #CCA37A | — |
| markup.italic | #F07178 | italic |
| markup.bold | #F07178 | bold |
| markup.underline | #A37ACC | underline |
| markup.strike | #CCA37A | — |
| markup.quote | #E7C547 | italic |
| markup.raw.block | #F2590C | — |
| markup.table | #41A6D9 | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #5C6066 | — |
| text.html.markdown markup.raw.inline | #41A6D9 | — |
| text.html.markdown meta.dummy.line-break | #ABB0B6 | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #86B300 | — |
| markup.quote, punctuation.definition.blockquote.markdown | #E7C547 | italic |
| string.other.link.title.markdown | #CCA37A | underline |
| markup.raw.block.fenced.markdown | #5C6066 | — |
| punctuation.definition.fenced.markdown, variable.language.fenced.markdown | #ABB0B6 | — |
| variable.language.fenced.markdown | #ABB0B6 | |
| meta.separator | #ABB0B6 | bold |
| source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #41A6D9 | — |
| source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #41A6D9 | — |
| source.json meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #41A6D9 | — |
| source.json meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #41A6D9 | — |
| source.json meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #41A6D9 | — |
| source.json meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #41A6D9 | — |
| source.json meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #41A6D9 | — |
| source.json meta meta.structure.dictionary.json string.quoted.double.json - meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta.structure.dictionary.json punctuation.definition.string - meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #41A6D9 | — |
| source.json meta.structure.dictionary.json string.quoted.double.json - meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta.structure.dictionary.json punctuation.definition.string - meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #41A6D9 | — |
| acejump.label.blue | #FFFFFF | — |
| acejump.label.green | #FFFFFF | — |
| acejump.label.orange | #FFFFFF | — |
| acejump.label.purple | #FFFFFF | — |
| sublimelinter.mark.warning | #41A6D9 | — |
| sublimelinter.gutter-mark | #FFFFFF | — |
| sublimelinter.mark.error | #FF3333 | — |
| markup.ignored.git_gutter | #ABB0B6 | — |
| markup.untracked.git_gutter | #ABB0B6 | — |
| gutter_color | #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}!`;
}