Linear Theme
Publisher: pabueThemes in package: 16
A set of pleasant themes inspired by Linear
A set of pleasant themes inspired by Linear
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, comment.block, comment.line, punctuation.definition.comment | #8b8e98 | normal |
| variable, variable.other, variable.parameter, entity.name.variable, string constant.other.placeholder, source.vue meta.object.member.ts meta.object.member.ts | #e1e2e5 | — |
| variable.parameter | #e1e2e5 | — |
| constant.other.class, variable.other.property, variable.other.object.property | #f3b7e9 | — |
| invalid, invalid.illegal | #eb5757 | — |
| keyword, storage.type, storage.modifier, meta storage.type | #7e89ec | normal |
| keyword.definition | #8e82f8 | — |
| keyword.operator.comparison, keyword.operator.logical | #a89fff | — |
| keyword.operator.logical.soil | unset | — |
| constant.other.color, punctuation, keyword.other.template, keyword.other.substitution, meta.brace, punctuation.support.type.property-name, expression.embbeded punctuation.definition.tag.begin.html, expression.embbeded punctuation.definition.tag.end.html | #5da6b8 | |
| keyword.operator | #5da6b8 | |
| punctuation.definition.binding-pattern.object.js | #5da6b8 | — |
| punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html | #74829e | — |
| text.html, meta.jsx.children.js | #bdc4cc | — |
| keyword.control, entity.name.type.namespace, keyword.other, meta.directive support.function | #beb7ff | normal |
| keyword.control.flow, keyword.control.export, keyword.control.return, meta.function.closure, keyword.control.import, keyword.control.from, keyword.control.as, keyword.other.namespace | — | normal |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #83acf8 | — |
| meta.method.declaration meta.function-call entity.name.function, meta.method-call entity.name.function, meta.function-call entity.name.function, variable.function, support.function, entity.name.function, keyword.other.special-method | #1abdda | — |
| meta.function entity.name.function, meta.method entity.name.method, meta.method.declaration entity.name.function, meta.definition.method entity.name.function | #61e6fd | — |
| support.other.variable, string.other.link | #88e6d6 | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape, support.constant.property-value | #ffbf71 | — |
| string, constant.other.symbol, constant.other.key, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #a2d484 | — |
| string punctuation.definition.string | #95d581bd | — |
| entity.name, entity.name.type.class, support.type, support.class, new.expr meta.function-call entity.name.function, markup.changed.git_gutter, support.type.sys-types, support.constant, entity.name.type.namespace, meta.tag.custom entity.name.tag.html, source.vue invalid.illegal.unrecognized-tag.html | #88e6d6 | |
| support.type, meta.return.type, entity.name.type, meta.use.php | #88e6d6 | normal |
| meta.type.tuple meta.brace | — | normal |
| entity.other.inherited-class, support.orther.namespace.use, support.other.namespace | #9ebecc | |
| variable.language, variable.language.this, meta variable.language.this | #a8f2ff | normal |
| entity.other.attribute-name, meta entity.other.attribute-name, text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name, meta.directive.vue keyword.control, meta.directive entity.name.type | #cba0ff | normal |
| entity.other.attribute-name.class, entity.other.attribute-name.id, entity.name.tag.css | #cba0ff | |
| markup.inserted | #a2d484 | — |
| markup.deleted | #eb5757 | — |
| markup.changed | #26B5CE | — |
| *url*, *link*, *uri* | — | underline |
| keyword.control.at-rule | #1abdda | normal |
| entity.name.tag.reference | #5fdfff | — |
| support.type.property-name.json, meta.objectliteral, source.vue meta.object.member.ts meta.object.member.ts meta.object.member.ts, source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name, entity.name.tag.yaml | #b1c5ca | |
| keyword.other.unit | #d3782e | — |
| source.env | #a2d484 | — |
| text.html.markdown, string.other.link.title.markdown | #e1e2e5 | — |
| markup.underline.link.markdown | #88e6d6 | — |
| markup.fenced_code.block.markdown | #a2d484 | — |
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}!`;
}