Galaxyum Theme
Publisher: Ark PlatformsThemes in package: 1
Galaxyum, a space-based theme
Galaxyum, a space-based theme
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, string.quoted.docstring.multi.python | #0098df | italic bold underline |
| string | #0ef3ff | — |
| constant.numeric | #ffd400 | — |
| constant.language | #962eff | — |
| constant.character, constant.other | #c832ff | — |
| variable | — | |
| keyword | #2cff56 | — |
| storage | #40a9ff | |
| storage.type | #ff1bf0 | |
| meta | #962eff | — |
| meta.jsx.children, meta.jsx.children.js, meta.jsx.children.tsx | #ffd400 | — |
| variable.other.object.js, variable.other.object.jsx, variable.object.property.js, variable.object.property.jsx | #40a9ff | — |
| punctuation.definition.parameters | #ffee80 | — |
| punctuation.definition.template-expression | #ffee80 | — |
| entity.name.class, entity.name.type.class | #962eff | |
| entity | #ffd400 | — |
| entity.other.inherited-class, meta.other.inherited-class.php | #6ab0ff | italic |
| entity.name.function - meta.function-call | #39c0ff | |
| variable.parameter | #962eff | |
| entity.name.tag | #962eff | |
| entity.other.attribute-name | #ffd400 | |
| support.function | #ffd400 | |
| support.constant | #39c0ff | |
| support.type, support.class | #2cffc3 | italic |
| support.other.variable | #39c0ff | |
| support.variable.property.dom | #67b3ff | — |
| invalid | #9e0a52 | |
| invalid.deprecated | #00d7e2 | — |
| meta.diff, meta.diff.header | #009af3 | — |
| markup.deleted | #ec107b | — |
| markup.inserted | #dbcd00 | — |
| markup.changed | #029fcf | — |
| constant.numeric.line-number.find-in-files - match | #e92778 | — |
| entity.name.filename.find-in-files | #962eff | — |
| keyword.other | #a83dff | — |
| meta.property-value, support.constant.property-value, constant.other.color | #fd21ef | — |
| meta.structure.dictionary.json string.quoted.double.json | #FF0081 | — |
| support.type.property-name.json | #962eff | |
| meta.structure.dictionary.value.json string.quoted.double.json | #0ef3ff | — |
| meta.property-name support.type.property-name | #0ef3ff | |
| meta.property-value punctuation.separator.key-value | #44a1fd | — |
| keyword.other.use, keyword.other.function.use, keyword.other.namespace, keyword.other.new, keyword.other.special-method, keyword.other.unit, keyword.other.use-as | #EA00D9 | — |
| support.other.namespace.php | #973dfd | — |
| meta.use | #2fb3ff | |
| variable.other | #962eff | |
| keyword.other.phpdoc.php | #35a3fd | |
| variable.parameter.function.coffee | #962eff | |
| variable.parameter.function.language.special.self.python | #962eff | — |
| source.ts entity.name.type | #dbcd00 | — |
| source.ts keyword | #ff25f0 | — |
| source.ts punctuation.definition.parameters | #dbcd00 | — |
| meta.arrow.ts punctuation.definition.parameters | #ffee80 | — |
| source.ts storage | #0ef3ff | — |
| variable.language, entity.name.type.class.ts, entity.name.type.class.tsx | #962eff | — |
| entity.other.inherited-class.ts, entity.other.inherited-class.tsx | #dbcd00 | — |
| source.js storage.type.function | #ff25f0 | — |
| variable.language, entity.name.type.class.js | #3ec8ff | — |
| entity.other.inherited-class.js | #ff15ef | — |
| text.html.vue-html | #ffd400 | — |
| entity.name.section.markdown | #962eff | — |
| string.other.link.title.markdown | #962eff | — |
| punctuation.definition.heading.markdown | #962eff | — |
| markup.raw.inline.markdown | #e9e9e9 | — |
| punctuation.definition.bold.markdown, punctuation.definition.italic.markdown | #962eff | — |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown | #ff22f0 | — |
| punctuation.definition.metadata.markdown | #ff22f0 | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown, meta.image.inline.markdown | #ff22f0 | |
| markup.bold.markdown, markup.italic.markdown | #962eff | — |
| markup.italic.markdown | — | italic |
| markup.bold.markdown | — | bold |
| fenced_code.block.language, markup.inline.raw.markdown | #962eff | — |
| fenced_code.block.language, markup.inline.raw.markdown | #962eff | — |
| meta.paragraph.markdown | #e1efff | — |
| markup.raw.block.markdown | #ffffff | — |
| markup.deleted.git_gutter | #e700d8 | — |
| markup.inserted.git_gutter | #ffd400 | — |
| markup.changed.git_gutter | #0685fc | — |
| meta.template.expression | #18b6ff | — |
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}!`;
}