Bettie
Publisher: Alex JonesThemes in package: 1
A theme inspired by Bettie, the cutest little pit-bull in the world.
A theme inspired by Bettie, the cutest little pit-bull in the world.
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 | #666666 | — |
| constant | #ff66bb | — |
| entity | #57dcfd | — |
| keyword | #ff66bb | — |
| keyword.control.conditional, keyword.control.import | #ff66bb | — |
| punctuation | #ff8c40 | — |
| punctuation.definition.parameters | #888 | — |
| entity.name.variable.parameter, meta.at-rule.function variable, meta.at-rule.mixin variable, meta.function.arguments, meta.selectionset.graphql meta.arguments.graphql variable.arguments.graphql, variable.parameter | #fff | — |
| punctuation.definition.template-expression | #ff66bb | — |
| storage | #8df | — |
| storage.type.function.arrow | #ff66bb | — |
| string, punctuation.definition.string | #9deb70 | — |
| string.template, punctuation.definition.string.template | #91DD64 | — |
| support | #00AEFF | — |
| support.function | #00AEFF | — |
| support.class.component.js | #00AEFF | — |
| variable | #fff | — |
| source.css, source.stylus, source.scss, entity.other.attribute-name.class.css | #00AEFF | — |
| punctuation.definition.constant.css | #a8f | — |
| support.type.property-name.css | #fff | — |
| source.css punctuation.definition.keyword, source.css keyword.control | #fff566 | — |
| keyword.other.important.scss | #fff566 | — |
| punctuation.definition.entity.css | #00AEFF | — |
| entity.other.attribute-name.pseudo-element.css | #00AEFF | — |
| support.function.misc.scss | #a8f | — |
| entity.other.attribute-name.id.css | #8df | — |
| entity.name.tag.css | #00AEFF | — |
| source.css support, source.stylus support, source.css support.constant | #fff | — |
| source.stylus constant, source.css constant | #a8f | — |
| support.constant.property-value.css | #ff66bb | — |
| keyword.other.unit.css, keyword.other.unit.px.css, keyword.other.unit.percentage.css, constant.other.color.rgb-value.hex.css, keyword.other.unit.ms.css, keyword.other.unit.s.css, keyword.other.unit.vh.css, keyword.other.unit.vw.css, keyword.other.unit.deg.css, keyword.other.unit.fr.css | #a8f | — |
| source.css string, source.css punctuation.definition.string, source.stylus string, source.stylus punctuation.definition.string | #98EC65 | — |
| source.css variable, source.stylus variable | #ff66bb | — |
| entity.other | #8df | — |
| entity.name.tag.block.any.html, entity.name.tag.inline.any.html, entity.name.tag.structure.any.html, entity.name.tag.html, meta.jsx.children.tsx | #00AAEF | — |
| punctuation.definition.keyword, keyword.control | #ff66bb | — |
| meta.toc-list.id.html | #91DD64 | — |
| meta.tag.block.any.html, meta.tag.inline.any.html | #00AEFF | — |
| punctuation.definition.tag.end.html, punctuation.definition.tag.begin.html | #777 | — |
| text.html.basic | #c3c3c3 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #91DD64 | — |
| source.js constant | #a8f | — |
| keyword.operator | #fff566 | — |
| source.js keyword | #fff566 | — |
| source.js storage.type.function | #fff | — |
| source.js punctuation.definition.keyword, source.js keyword.control | #ff66bb | — |
| source.js punctuation.definition.keyword, source.js keyword.control | #ff66bb | — |
| variable.language, entity.name.type.class.js, meta.tag.js, entity.name.tag.js | #ff66bb | — |
| entity.other.inherited-class.js, variable.language.this.js, variable.other.readwrite.alias.js, meta.import.js | #ff66bb | — |
| meta | #fff | — |
| meta.brace | #888 | — |
| support.variable.property.dom | #00AEFF | — |
| source.json support | #fff | — |
| source.json string, source.json punctuation.definition.string, punctuation.definition.string.end.json, punctuation.definition.string.begin.json | #a8f | — |
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}!`;
}