FamilyGuy
Publisher: selfrefactorThemes in package: 1
Niketa theme
Niketa 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 |
|---|---|---|
| source.json | #d8576a | — |
| source.css | #d8576a | — |
| source.go | #d8576a | — |
| constant.character | #368A8A | — |
| constant.language.boolean | #368A8A | — |
| entity.name.tag | #368A8A | underline |
| keyword | #3C9696 | — |
| markup.italic | #399090 | — |
| entity.name.function.method | #3C9696 | — |
| string.quoted.single.js | #3C9696 | — |
| string.quoted.single.jsx | #399090 | — |
| string.quoted.single.ts | #368A8A | — |
| string.quoted.single.tsx | #368A8A | — |
| support.type.property-name.json | #399090 | — |
| punctuation.accessor.js | #399090 | — |
| punctuation.accessor.jsx | #3E9D9D | — |
| punctuation.accessor.ts | #399090 | — |
| punctuation.accessor.tsx | #317D7D | — |
| punctuation.separator.key-value.js | #368A8A | — |
| punctuation.separator.key-value.jsx | #317D7D | — |
| punctuation.separator.key-value.ts | #399090 | — |
| punctuation.separator.key-value.tsx | #399090 | — |
| constant.numeric | #399090 | — |
| meta.brace.square.js | #317D7D | — |
| meta.brace.square.jsx | #399090 | — |
| meta.brace.square.ts | #3E9D9D | — |
| meta.brace.square.tsx | #399090 | — |
| meta.var.expr.js | #317D7D | — |
| meta.var.expr.jsx | #399090 | — |
| meta.var.expr.ts | #399090 | — |
| meta.var.expr.tsx | #317D7D | — |
| storage.modifier.js | #348383 | — |
| storage.modifier.jsx | #3C9696 | — |
| storage.modifier.ts | #3C9696 | — |
| storage.modifier.tsx | #41A3A3 | — |
| storage.type | #317D7D | — |
| string.template | #3C9696 | — |
| support.constant | #368A8A | — |
| support.function.dom.js | #399090 | — |
| support.function.dom.jsx | #399090 | — |
| support.function.dom.ts | #399090 | — |
| support.function.dom.tsx | #399090 | — |
| support.variable.property.js | #399090 | — |
| support.variable.property.jsx | #3C9696 | — |
| support.variable.property.ts | #399090 | — |
| support.variable.property.tsx | #399090 | — |
| variable.language.constructor | #399090 | underline |
| variable.language.this | #399090 | — |
| meta.tag.js | #3C9696 | — |
| meta.tag.jsx | #368A8A | — |
| meta.tag.ts | #399090 | — |
| meta.tag.tsx | #399090 | — |
| support.type.object.module.js | #399090 | — |
| support.type.object.module.jsx | #399090 | — |
| support.type.object.module.ts | #399090 | — |
| support.type.object.module.tsx | #317D7D | — |
| punctuation.definition.parameters.begin.js | #3C9696 | — |
| punctuation.definition.parameters.begin.jsx | #348383 | — |
| punctuation.definition.parameters.begin.ts | #3C9696 | — |
| punctuation.definition.parameters.begin.tsx | #399090 | — |
| punctuation.definition.parameters.end.js | #3E9D9D | — |
| punctuation.definition.parameters.end.jsx | #399090 | — |
| punctuation.definition.parameters.end.ts | #368A8A | — |
| punctuation.definition.parameters.end.tsx | #399090 | — |
| punctuation.definition.parameters.end.js | #368A8A | — |
| punctuation.definition.parameters.end.jsx | #368A8A | — |
| punctuation.definition.parameters.end.ts | #348383 | — |
| punctuation.definition.parameters.end.tsx | #399090 | — |
| markup.quote | #3E9D9D | — |
| entity.other.attribute-name.js | #399090 | — |
| entity.other.attribute-name.jsx | #399090 | — |
| entity.other.attribute-name.ts | #348383 | — |
| entity.other.attribute-name.tsx | #399090 | — |
| comment | #611919 | — |
| constant.language | #611919 | — |
| constant.other | #611919 | — |
| keyword.control.flow.js | #399090 | — |
| keyword.control.flow.jsx | #399090 | — |
| keyword.control.flow.ts | #541616 | — |
| keyword.control.flow.tsx | #611919 | — |
| keyword.control.module.js | #541616 | — |
| keyword.control.module.jsx | #611919 | — |
| keyword.control.module.ts | #611919 | — |
| keyword.control.module.tsx | #611919 | — |
| keyword.operator.accessor | #581717 | — |
| markup.italic | #611919 | — |
| meta.import.js | #611919 | — |
| meta.import.jsx | #5D1818 | — |
| meta.import.ts | #611919 | — |
| meta.import.tsx | #611919 | — |
| meta.object-literal.key.js | #611919 | — |
| meta.object-literal.key.jsx | #6E1C1C | — |
| meta.object-literal.key.ts | #611919 | — |
| meta.object-literal.key.tsx | #611919 | — |
| meta.paragraph.markdown | #651A1A | — |
| punctuation.definition.block.js | #611919 | — |
| punctuation.definition.block.jsx | #651A1A | — |
| punctuation.definition.block.ts | #651A1A | — |
| punctuation.definition.block.tsx | #611919 | — |
| punctuation.separator.parameter.js | #611919 | — |
| punctuation.separator.parameter.jsx | #611919 | — |
| punctuation.separator.parameter.ts | #611919 | — |
| punctuation.separator.parameter.tsx | #651A1A | — |
| string.quoted.single.js | #581717 | — |
| string.quoted.single.jsx | #651A1A | — |
| string.quoted.single.ts | #6A1B1B | — |
| string.quoted.single.tsx | #5D1818 | — |
| string.quoted.single.json | #5D1818 | — |
| support.class.promise.js | #611919 | — |
| support.class.promise.jsx | #611919 | — |
| support.class.promise.ts | #611919 | — |
| support.class.promise.tsx | #651A1A | — |
| support.function | #611919 | — |
| keyword.control.import.js | #6A1B1B | — |
| keyword.control.import.jsx | #611919 | — |
| keyword.control.import.ts | #581717 | — |
| keyword.control.import.tsx | #611919 | — |
| keyword.control.from.js | #5D1818 | — |
| keyword.control.from.jsx | #5D1818 | — |
| keyword.control.from.ts | #611919 | — |
| keyword.control.from.tsx | #651A1A | — |
| keyword.control.export.js | #611919 | — |
| keyword.control.export.jsx | #611919 | — |
| keyword.control.export.ts | #611919 | — |
| keyword.control.export.tsx | #611919 | — |
| keyword.control.default.js | #611919 | — |
| keyword.control.default.jsx | #541616 | — |
| keyword.control.default.ts | #611919 | — |
| keyword.control.default.tsx | #611919 | — |
| entity.name.class | #5D1818 | underline |
| support.function.console.js | #541616 | — |
| support.function.console.jsx | #611919 | — |
| support.function.console.ts | #6A1B1B | — |
| support.function.console.tsx | #651A1A | — |
| variable.language | #611919 | — |
| invalid | #581717 | underline |
| support.type.object.console.js | #611919 | — |
| support.type.object.console.jsx | #611919 | — |
| support.type.object.console.ts | #651A1A | — |
| support.type.object.console.tsx | #611919 | — |
| variable.parameter | #611919 | — |
| comment.block.documentation | #6E1C1C | — |
| comment.line.double-slash | #5D1818 | — |
| constant.language.null.js | #DB6274 | — |
| constant.language.null.jsx | #d8576a | — |
| constant.language.null.ts | #d8576a | — |
| constant.language.null.tsx | #D54C60 | — |
| entity.name.type | #D54C60 | — |
| meta.parameters.js | #D54C60 | — |
| meta.parameters.jsx | #d8576a | — |
| meta.parameters.ts | #d8576a | — |
| meta.parameters.tsx | #d8576a | — |
| variable.other.class.js | #d8576a | — |
| variable.other.class.jsx | #d8576a | — |
| variable.other.class.ts | #D54C60 | — |
| variable.other.class.tsx | #D54C60 | — |
| constant.other.object.key.js | #d8576a | — |
| constant.other.object.key.jsx | #d8576a | — |
| constant.other.object.key.ts | #D54C60 | — |
| constant.other.object.key.tsx | #DB6274 | — |
| entity.other.inherited-class | #DB6274 | — |
| markup.heading.markdown | #E07887 | — |
| meta.brace.round.js | #d8576a | — |
| meta.brace.round.jsx | #DB6274 | — |
| meta.brace.round.ts | #d8576a | — |
| meta.brace.round.tsx | #D34156 | — |
| entity.name.function | #651A1A | underline |
| meta.tag.attributes.js | #D34156 | — |
| meta.tag.attributes.jsx | #d8576a | — |
| meta.tag.attributes.ts | #D54C60 | — |
| meta.tag.attributes.tsx | #d8576a | — |
| punctuation.accessor.js | #d8576a | — |
| punctuation.accessor.jsx | #D34156 | — |
| punctuation.accessor.ts | #D34156 | — |
| punctuation.accessor.tsx | #D0364D | — |
| punctuation.separator.comma.js | #D54C60 | — |
| punctuation.separator.comma.jsx | #d8576a | — |
| punctuation.separator.comma.ts | #d8576a | — |
| punctuation.separator.comma.tsx | #d8576a | — |
| source.js | #D54C60 | — |
| source.jsx | #d8576a | — |
| source.ts | #D0364D | — |
| source.tsx | #D0364D | — |
| variable.other.property.js | #d8576a | — |
| variable.other.property.jsx | #E07887 | — |
| variable.other.property.ts | #d8576a | — |
| variable.other.property.tsx | #d8576a | — |
| storage.modifier.async.js | #d8576a | — |
| storage.modifier.async.jsx | #d8576a | — |
| storage.modifier.async.ts | #D54C60 | — |
| storage.modifier.async.tsx | #D54C60 | — |
| support.class.builtin.js | #d8576a | — |
| support.class.builtin.jsx | #d8576a | — |
| support.class.builtin.ts | #D54C60 | — |
| support.class.builtin.tsx | #d8576a | — |
| support.type.primitive.js | #DB6274 | — |
| support.type.primitive.jsx | #D0364D | — |
| support.type.primitive.ts | #d8576a | — |
| support.type.primitive.tsx | #D34156 | — |
| support.variable.property.js | #d8576a | — |
| support.variable.property.jsx | #D54C60 | — |
| support.variable.property.ts | #DB6274 | — |
| support.variable.property.tsx | #d8576a | — |
| variable | #D34156 | — |
| variable.other.object.js | #D34156 | — |
| variable.other.object.jsx | #d8576a | — |
| variable.other.object.ts | #D54C60 | — |
| variable.other.object.tsx | #d8576a | — |
| variable.other.readwrite | #D54C60 | — |
| variable.other.readwrite.js | #D34156 | — |
| variable.other.readwrite.jsx | #d8576a | — |
| variable.other.readwrite.ts | #d8576a | — |
| variable.other.readwrite.tsx | #d8576a | — |
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}!`;
}