Turtle Theme Collection
Publisher: Ryly DouThemes in package: 4
A collection of themes by a turtle, for turtles
A collection of themes by a turtle, for turtles
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.block.documentation, comment.line, punctuation.definition.comment | #727072 | — |
| string | #ffd866 | — |
| constant.character, variable.language.makefile | #ab9df2 | — |
| constant.language, constant.numeric, constant.other | #ab9df2 | — |
| constant.other.color, entity.name.tag.yaml, entity.name.variable, meta.function-call.arguments, meta.jsx.children.js.jsx, meta.object.member, source.css support.type.property-name, source.less support.type.property-name, source.postcss support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.stylus support.type.property-name, support.constant.color, variable, variable.other.object.property, meta.jsx.children | #f1e0c8 | — |
| variable.language.this | #9c9182 | italic |
| entity, entity.name.type, keyword.type, meta.function, support, variable.other.makefile | #78dce8 | — |
| entity.name.function, entity.name.method, entity.name.type.delegate, entity.other.attribute-name.pseudo-class, meta.function-call, meta.selector.pseudo-class, support.function | #a9dc76 | — |
| keyword, keyword.operator.expression, keyword.operator.new, keyword.operator.wordlike, storage.modifier, storage.type, storage.type.function, entity.name.function.decorator | #ff6188 | italic |
| keyword.operator, storage.type.function.arrow | — | |
| entity.name.tag, meta.tag.end, meta.tag.start, meta.tag.structure.end, meta.tag.structure.start, punctuation.definition.variable.makefile | #ff6188 | — |
| keyword.operator.combinator, keyword.operator.type.annotation, meta.brace, punctuation, punctuation.definition.interpolation | #939293 | — |
| punctuation.separator, punctuation.terminator, meta.function.parameters.gdscript, meta.function.gdscript, keyword.control.@.makefile | #6a6a6a | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #ff6188 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #fc9867 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #ffd866 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #a9dc76 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #78dce8 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #ab9df2 | — |
| source.yaml meta.mapping.yaml entity.name.tag.yaml | #ff6188 | — |
| source.yaml meta.mapping.yaml meta.map.value.yaml meta.mapping.yaml entity.name.tag.yaml | #fc9867 | — |
| source.yaml meta.mapping.yaml meta.map.value.yaml meta.mapping.yaml meta.map.value.yaml meta.mapping.yaml entity.name.tag.yaml | #ffd866 | — |
| source.yaml meta.mapping.yaml meta.map.value.yaml meta.mapping.yaml meta.map.value.yaml meta.mapping.yaml meta.map.value.yaml meta.mapping.yaml entity.name.tag.yaml | #a9dc76 | — |
| source.yaml meta.mapping.yaml meta.map.value.yaml meta.mapping.yaml meta.map.value.yaml meta.mapping.yaml meta.map.value.yaml meta.mapping.yaml meta.map.value.yaml meta.mapping.yaml entity.name.tag.yaml | #78dce8 | — |
| source.yaml meta.mapping.yaml meta.map.value.yaml meta.mapping.yaml meta.map.value.yaml meta.mapping.yaml meta.map.value.yaml meta.mapping.yaml meta.map.value.yaml meta.mapping.yaml meta.map.value.yaml meta.mapping.yaml entity.name.tag.yaml | #ab9df2 | — |
| markup.italic | — | italic |
| markup.bold | — | bold |
| markup.italic markup.bold | — | italic bold |
| markup.underline | — | underline |
| markup.link, markup.underline.link | #a9dc76 | underline |
| markup.fenced_code, markup.inline.raw | #ab9df2 | — |
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}!`;
}