Future_Funk Theme
Publisher: geraneThemes in package: 1
Future_Funk Theme ported from the FutureFunk TextMate Theme
Future_Funk Theme ported from the FutureFunk TextMate Theme
Full workbench mockup using this variant's colors and tokenColors.
Loading...
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| — | #F0F6FF | — |
| comment | #B6C6D4 | |
| string | #F0F07A | |
| constant.numeric | #7BD827 | — |
| constant.language | #FFAA00 | |
| constant.character, constant.other | #ffffff | |
| variable.language, variable.other | #53B7ED | — |
| keyword | #febe5a | bold |
| storage | #A3D295 | bold |
| entity.name.class | — | |
| entity.other.inherited-class | — | |
| entity.name.tag | #7BD827 | |
| entity.name.function | #ffffff | |
| entity.other.attribute-name | #708E67 | |
| support.function | #ffffff | bold |
| meta.function-call | #ffffff | |
| meta.function-call.object | #ececec | bold |
| support.constant | — | |
| support.type, support.class | — | |
| support.other.variable | — | |
| storage.type | #73FF8C | bold |
| invalid | #FF0000 | |
| bracket.quote | — | |
| bracket.curly | — | |
| bracket.round | — | |
| bracket.square | — | |
| bracket.angle | — | |
| bracket.tag | — | — |
| invalid.illegal.missing-asterisk.phpdoc | #FFC1A8 | italic |
| invalid.deprecated | — | italic underline |
| invalid.illegal | #F9CFCE | italic |
| ----------------------------------- | — | |
| meta.selector, meta.selector entity, meta.selector entity punctuation, entity.name.tag.css | #00B7FF | |
| meta.property-name, support.type.property-name | #F0F6FA | — |
| meta.property-value constant.numeric, meta.property-value constant, meta.property-value keyword | #7BD827 | |
| meta.selector entity.name.tag.css | #9CEFFF | |
| meta.selector entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #53B7ED | |
| entity.other.attribute-name.pseudo-class | #73FF8C | |
| support.constant.property-value | #9CFFCD | |
| constant.other | #7BD827 | |
| keyword.other.unit | #7BD827 | |
| support.function.misc | #FFA3D3 | bold |
| meta.selector.css | #ffffff | |
| ----------------------------------- | — | |
| meta.tag.sgml.doctype | #ffffff | |
| entity.name.tag | #7BD827 | |
| meta.tag string punctuation | #ffffff | |
| punctuation.definition.tag | #7BD827 | |
| constant.character.entity | #53B7ED | |
| entity.other.attribute-name | #53B7ED | |
| meta.tag string.quoted, meta.tag string.quoted constant.character.entity | #F0F07A | |
| comment.block.html, punctuation.definition.commment.html | #ACE2F2 |
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}!`;
}