Firefox Theme NG
Publisher: tenkirinThemes in package: 2
A next-generation VS Code color theme inspired by Firefox's browser chrome
A next-generation VS Code color theme inspired by Firefox's browser chrome
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 |
|---|---|---|
| — | #B1B1B3 | — |
| meta.embedded, source.groovy.embedded, string meta.image.inline.markdown | #B1B1B3 | — |
| comment, punctuation.definition.comment | #93939588 | italic |
| comment markup.link | #75BFFF | — |
| string | #709AFF | — |
| string.regexp, constant.character.escape.backslash.regexp, constant.other.character-class.regexp, keyword.operator.quantifier.regexp | #709AFF | — |
| string.quoted, string.quoted.single, string.quoted.double | #709AFF | — |
| string.template | #709AFF | — |
| meta.template.expression | #B1B1B3 | — |
| string.other.link | #75BFFF | — |
| string > source, string embedded | #B1B1B3 | — |
| constant.numeric, constant.character.numeric | #709AFF | — |
| meta.preprocessor | #939395 | — |
| meta.preprocessor.string | #709AFF | — |
| meta.preprocessor.numeric | #709AFF | — |
| constant.language.null, constant.language.undefined | #FF7DE9 | — |
| constant.language.boolean, constant.language.boolean.true, constant.language.boolean.false | #FF7DE9 | — |
| constant.language, support.constant, support.constant.math, support.constant.meta.property-value, support.constant.vendor.property-value | #FF7DE9 | — |
| constant, constant.character, constant.other, constant.other.symbol | #B98EFF | — |
| constant.other.color, constant.other.color.rgb-value.hex.css | #709AFF | — |
| constant.character.escape | #75BFFF | — |
| constant.regexp | #709AFF | — |
| variable, variable.language, variable.interpolation | #B98EFF | — |
| variable.other.constant, variable.other.enummember, constant.variable | #B98EFF | — |
| variable.other.readwrite, variable.instance, variable.other.instance, variable.readwrite.instance, variable.other.readwrite.instance | #B98EFF | — |
| variable.other.object, entity.name.type.module | #B98EFF | — |
| variable.parameter, variable.parameter.function, meta.definition.variable | #75BFFF | — |
| keyword, keyword.other.new, keyword.other.debugger, keyword.other.special-method | #FF7DE9 | — |
| keyword.operator, keyword.operator.comparison, keyword.operator.logical, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.bitwise, keyword.operator.increment, keyword.operator.relational, keyword.operator.ternary, keyword.control.operator | #B1B1B3 | — |
| keyword.operator.expression, keyword.operator.new, keyword.operator.delete, keyword.operator.typeof, keyword.operator.void, keyword.operator.instanceof, keyword.operator.expression.in, keyword.operator.type | #FF7DE9 | — |
| keyword.control, keyword.control.flow, keyword.control.at-rule.media.css | #FF7DE9 | — |
| keyword.type | #75BFFF | — |
| storage | #FF7DE9 | — |
| storage.type, storage.modifier.import, storage.modifier.package, storage.type.annotation, storage.type.primitive | #FF7DE9 | — |
| storage.type.function.arrow | #B1B1B3 | — |
| entity.name.class, entity.name.type | #75BFFF | — |
| entity.name.type.class, support.class | #75BFFF | — |
| entity.other.inherited-class | #75BFFF | underline |
| entity.name.function | #86DE74 | italic bold |
| meta.function-call, meta.method-call, meta.method, variable.function | #B98EFF | — |
| meta.definition.function | #75BFFF | — |
| support.function, support.function.any-method | #86DE74 | — |
| support.constant | #FF7DE9 | — |
| support.type, support.class | #75BFFF | — |
| support.other.variable, support.variable, support.variable.dom | #FF7DE9 | — |
| variable.other.property, variable.other.object.property, meta.object-literal.key, support.variable.property, support.variable.property.dom, support.type.property-name, meta.property-name | #86DE74 | — |
| variable.other.constant.property | #86DE74 | — |
| meta.structure.dictionary.key.python | #86DE74 | — |
| meta.object.member | #B98EFF | — |
| meta.class | #75BFFF | — |
| meta.class.body | #B1B1B3 | — |
| meta.require | #75BFFF | — |
| meta.separator | #B1B1B3 | — |
| meta.tag | #B1B1B3 | — |
| punctuation, meta.delimiter.period, meta.brace.round, meta.brace.square, meta.brace, meta.array, punctuation.accessor, punctuation.definition.arguments, punctuation.definition.array, punctuation.definition.block, punctuation.definition.function-parameters, punctuation.definition.method-parameters, punctuation.definition.parameters, punctuation.definition.parameters.begin, punctuation.definition.parameters.end, punctuation.definition.separator, punctuation.separator.comma, punctuation.separator.arguments, punctuation.separator.key-value, punctuation.separator.continuation, punctuation.section.array, punctuation.terminator.expression, punctuation.terminator.statement | #B1B1B3 | — |
| punctuation.definition.heading, punctuation.definition.identity | #75BFFF | — |
| punctuation.definition.bold | #75BFFF | bold |
| punctuation.definition.italic | #75BFFF | italic |
| punctuation.section.method, punctuation.section.class, punctuation.section.inner-class | #B1B1B3 | — |
| punctuation.section.embedded.begin, punctuation.section.embedded.end | #939395 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #FF7DE9 | — |
| variable.language.this | #FF7DE9 | italic |
| variable.language.super | #FF7DE9 | italic |
| meta.decorator, entity.name.function.decorator, punctuation.decorator | #FF7DE9 | — |
| entity.name.tag, entity.name.tag.custom | #75BFFF | — |
| punctuation.definition.tag | #B1B1B3 | — |
| entity.name.tag.doctype, meta.tag.sgml.doctype, meta.tag.metadata.doctype.html, meta.tag.sgml.doctype.html | #939395 | italic |
| meta.tag.structure.any.html | #B1B1B3 | — |
| entity.other.attribute-name, entity.other.attribute-name.id, entity.other.attribute-name.html, entity.other.attribute-name.id.html, entity.other.attribute-name.localname.xml, entity.other.attribute-name.js | #FF7DE9 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.scss | #75BFFF | — |
| comment.block.html | #93939588 | — |
| punctuation.definition.string, punctuation.definition.string.begin.html, punctuation.definition.string.end.html, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown | #709AFF | — |
| string.quoted.single.html, string.quoted.double.html, string.quoted.single.xml, string.quoted.double.xml | #709AFF | — |
| meta.selector, meta.selector.css, entity.name.selector, entity.name.tag.css, entity.name.tag.scss | #75BFFF | — |
| meta.function.url.css, meta.property-value.css, support.constant.property-value.css, variable.parameter.url.css, keyword.other.unit, keyword.other.unit.px.css, keyword.other.unit.pt.css, keyword.other.unit.percentage.css, keyword.other.unit.em.css, keyword.other.unit.rem.css, keyword.other.unit.ch.css, keyword.other.unit.vh.css, keyword.other.unit.vw.css, keyword.other.unit.s.css, keyword.other.unit.deg.css, keyword.other.unit.scss, keyword.other.unit.dppx.css, support.constant.media.css, constant.numeric.css, string.quoted.single.css, string.quoted.double.css | #709AFF | — |
| constant.other.color.rgb-value.hex.css, constant.other.color, variable.parameter.url.css | #709AFF | — |
| support.function.url.css, support.function.misc.css, support.function.transform.css, support.function.calc.css, meta.function.gradient.css, support.function.gradient.css | #86DE74 | — |
| punctuation.terminator.rule.css, punctuation.separator.key-value.css, punctuation.section.property-list.begin.bracket.curly.css, punctuation.section.property-list.end.bracket.curly.css, punctuation.section.function.begin.bracket.round.css, punctuation.section.function.end.bracket.round.css, punctuation.definition.entity.begin.bracket.square.css, punctuation.definition.entity.end.bracket.square.css, punctuation.separator.list.comma.css, keyword.operator.pattern.css | #B1B1B3 | — |
| support.type.vendor.property-name, support.type.property-name.css, support.type.vendored.property-name.css, support.type.property-name.media.css, support.type.vendored.property-name.media.css | #86DE74 | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #FF7DE9 | — |
| keyword.operator.combinator.css | #B1B1B3 | — |
| variable.css, variable.scss, variable.sass, variable.parameter.url.scss, variable.parameter.url.sass | #B98EFF | — |
| support.type.property-name.json | #86DE74 | — |
| string.quoted.double.json | #709AFF | — |
| constant.numeric.json | #709AFF | — |
| constant.language.json | #FF7DE9 | — |
| punctuation.separator.dictionary.key-value.json, punctuation.separator.dictionary.pair.json | #B1B1B3 | — |
| markup.heading, markup.heading.setext, entity.name.section, entity.name.section.markdown | #75BFFF | bold |
| markup.underline | #75BFFF | underline |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.strikethrough | — | strikethrough |
| markup.inserted, markup.inserted.diff | #86DE74 | — |
| markup.deleted, markup.deleted.diff | #FF3B6B | — |
| markup.changed | #75BFFF | — |
| meta.link, meta.link.inline.markdown, markup.link, markup.underline.link, markup.underline.link.image | #75BFFF | — |
| meta.diff.header, meta.diff.header.from-file, meta.diff.header.to-file, meta.diff.header.git | #939395 | — |
| support.function.git-rebase | #86DE74 | — |
| constant.sha.git-rebase | #709AFF | — |
| markup.quote, markup.quote.markdown | #FF7DE9 | italic |
| markup.raw, markup.raw.block.markdown | #709AFF | — |
| markup.inline.raw, markup.inline.raw.markdown, markup.inline.raw.string.markdown | #709AFF | — |
| punctuation.definition.quote.begin.markdown | #FF7DE9 | — |
| punctuation.definition.list, punctuation.definition.list.begin, punctuation.definition.list.begin.markdown, punctuation.definition.list.end | #B1B1B3 | — |
| meta.paragraph.markdown | #B1B1B3 | — |
| string.other.link.title.markdown, string.other.link.description.markdown | #709AFF | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown | #75BFFF | italic |
| punctuation.definition.heading.markdown | #75BFFF | bold |
| invalid.deprecated | #FFBD4F | — |
| invalid, invalid.illegal, invalid.broken, invalid.unimplemented | #FF3B6B | — |
| entity.name.label | #B1B1B3 | — |
| source.env, constant.numeric.env | #B1B1B3 | — |
| meta.jsx.children, meta.jsx.children.js, meta.jsx.children.tsx | #B1B1B3 | — |
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}!`;
}