codeSTACKr Theme
Publisher: codestackrThemes in package: 2
Never stop learning and Never give up! This theme is part of my VS Code SuperHero course. Check it out at: vsCodeHero.com
Never stop learning and Never give up! This theme is part of my VS Code SuperHero course. Check it out at: vsCodeHero.com
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 |
|---|---|---|
| Global settings | #FFFFFF | — |
| string | #14A76C | — |
| constant.character.escape, text.html constant.character.entity.named, punctuation.definition.entity.html | #1efaa2 | — |
| constant.language.boolean | #FF652F | — |
| constant.numeric | #FFE400 | — |
| variable, support.variable, support.class, support.constant, meta.definition.variable, entity.name.function | #746aff | — |
| variable.other.constant | #ff5177 | — |
| keyword, modifier, variable.language.this, support.type.object, constant.language | #5eb7ee | — |
| keyword.control.flow.js | #FFE400 | — |
| entity.name.function, support.function | #FFE400 | — |
| storage.type, storage.modifier, keyword.operator.expression | #FF652F | — |
| support.module, support.node | #ff9746 | italic |
| support.type | #ff9d00 | — |
| entity.name.type, entity.other.inherited-class | #ff9d00 | — |
| comment, comment.block.js | #577997 | italic |
| entity.name.type.class | #ff9d00 | underline |
| variable.object.property, meta.field.declaration entity.name.function | #5eb7ee | — |
| meta.definition.method entity.name.function | #5eb7ee | — |
| meta.function, entity.name.function | #5eb7ee | — |
| template.expression.begin, template.expression.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #FF652F | — |
| meta.embedded, source.groovy.embedded, meta.template.expression | #FFFFFF | — |
| entity.name.tag.yaml | #ff9746 | — |
| meta.object-literal.key, meta.object-literal.key string, support.type.property-name.json | #5eb7ee | — |
| constant.language.json | #FF652F | — |
| entity.other.attribute-name.class | #FF652F | — |
| entity.other.attribute-name.id | #14A76C | — |
| source.css entity.name.tag | #5eb7ee | — |
| meta.tag, punctuation.definition.tag | #FF652F | — |
| entity.name.tag | #ffc598 | — |
| entity.other.attribute-name | #FFE400 | — |
| markup.heading | #FF652F | — |
| text.html.markdown meta.link.inline, meta.link.reference | #ff9746 | — |
| text.html.markdown beginning.punctuation.definition.list | #FF652F | — |
| markup.italic | #ff9746 | italic |
| markup.bold | #ff9746 | bold |
| markup.bold markup.italic, markup.italic markup.bold | #ff9746 | italic bold |
| markup.fenced_code.block.markdown punctuation.definition.markdown | #14A76C | — |
| markup.inline.raw.string.markdown | #14A76C | — |
| punctuation.definition.heading.markdown, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.quote.begin.markdown, punctuation.definition.list.begin.markdown, markup.fenced_code.block.markdown, meta.separator.markdown | #356ea0 | — |
| keyword.other.definition.ini | #ff9746 | — |
| entity.name.section.group-title.ini | #FF652F | — |
| source.cs meta.class.identifier storage.type | #5eb7ee | underline |
| source.cs meta.method.identifier entity.name.function | #5eb7ee | — |
| source.cs meta.method-call meta.method, source.cs entity.name.function | #FFE400 | — |
| source.cs storage.type | #5eb7ee | — |
| source.cs meta.method.return-type | #5eb7ee | — |
| source.cs meta.preprocessor | #1b3951 | — |
| source.cs entity.name.type.namespace | #FFFFFF | — |
| Global settings | #FFFFFF | — |
| modifier, this, comment, storage.modifier.js, storage.modifier.ts, storage.modifier.tsx, entity.other.attribute-name.js, entity.other.attribute-name.ts, entity.other.attribute-name.tsx, entity.other.attribute-name.html, keyword.control.flow.js | — | italic |
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}!`;
}