Good Taste Theme
Publisher: faelvThemes in package: 1
A light theme for those with a good taste
A light theme for those with a good taste
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 |
|---|---|---|
| token.info-token | #316bcd | |
| token.debug-token | #800080 | bold |
| token.error-token | #cd3131 | |
| token.warn-token | #cd9731 | |
| entity.name.function.php, entity.name.type.class.php, entity.name.type.interface.php, entity.name.type.trait.php, entity.name.function.cs, entity.name.type.class.cs, entity.name.type.alias.cs | — | |
| variable.other.php, variable.other.curlysyntax.php, variable.language.php, variable.other.global.php, variable.other.global.safer.php, entity.name.function.go, entity.name.type.go, variable.scss, support.function.magic.python | — | bold |
| constant.language.php, constant.language.python, string.regexp.js constant.character.numeric.regexp, meta.decorator, source.js constant.language, source.ts constant.language, source.tsx constant.language, source.css string, sql.named-parameter, source.cs constant.language | — | italic |
| entity.other.inherited-class, punctation, punctuation.terminator.statement.js, punctuation.separator.key-value.js, punctuation.separator.comma.js, punctuation.definition.block.js, punctuation.accessor.js, punctuation.definition.parameters.begin.js, punctuation.definition.parameters.end.js, keyword.operator, variable, meta.function-call.ts entity.name.function.ts, meta.function-call.tsx entity.name.function.tsx, meta.function-call.js entity.name.function.js, meta meta.definition.property variable.object.property, support.variable.property.js, storage.modifier.import, storage.modifier.package, storage.type.annotation, storage.type.generic, storage.type.object.array, storage.type.java, support.class.js, keyword.other, variable.other.property.php, constant.other.php, variable.other.property.js, variable.other.object.property.js, variable.other.property.ts, variable.other.property.tsx, variable.other.object.property.ts, variable.other.object.property.tsx, meta.objectliteral.js meta.block punctuation.definition.block.js, constant.language.import-export-all, support.function.go, constant.other.color.rgb-value.hex.css, string.quoted.double.php meta.method-call.php, string.quoted.double.php punctuation.section, string.unquoted.heredoc.php meta.method-call.php, variable.other.object.property.cs | #0f0f0e | |
| entity.name.type.class, entity.name.type.interface, entity.name.type.alias, entity.name.function, meta.definition.method.ts entity.name.function.ts, meta.definition.method.tsx entity.name.function.tsx, keyword.control.at-rule.keyframes.css, keyword.control.at-rule.media.css, variable.language.this.php, storage.modifier.reference.php | #0f0f0e | bold |
| keyword.other.important.css | #0f0f0e | italic |
| keyword, storage, keyword.control, entity.name.tag, meta.var.expr.js storage.type.js, meta.var.expr.ts storage.type.ts, meta.var.expr.tsx storage.type.tsx, constant.language, keyword.operator.new, keyword.other.import, keyword.other.package, variable.language.java, variable.language.this, support.type.primitive.ts, support.type.primitive.tsx, keyword.other.import.static, keyword.operator.expression.delete.js, keyword.operator.expression.typeof.js, keyword.operator.expression.instanceof.js, punctuation.definition.tagstorage.type.function.js, entity.name.tag, punctuation.definition.tag.xml, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, support.type.property-name.css, keyword.other.new.php, keyword.other.use.php, keyword.other.namespace.php, keyword.operator.type.php, keyword.other.use-as.php, keyword.other.clone.php, punctuation.definition.storage-type.begin.bracket.round.php, punctuation.definition.storage-type.end.bracket.round.php, meta.function.parameters.php punctuation.separator.inheritance.php, meta.function.parameter.typehinted.php keyword.other, meta.function.parameter.typehinted.php support, meta.block.js meta.var.expr.js storage.type.js, keyword.operator.expression.in, keyword.operator.expression.of, support.type.builtin.ts, support.type.builtin.tsx, keyword.other.special-method.dockerfile, keyword.other.debugger, source.cs keyword.other, meta.function.php support, meta.class.body.php keyword.other.type.php | #0000E6 | |
| keyword.other.sql, source.sql storage, source.sql keyword.other, keyword.control.go, punctuation.definition.tag.begin.js, punctuation.definition.tag.begin.tsx, punctuation.definition.tag.end.js, punctuation.definition.tag.end.tsx, entity.name.tag.js, entity.name.tag.tsx, support.type.vendored.property-name.css, meta.tag.sgml.doctype.xml, keyword.other.doctype.xml, meta.tag.sgml.doctype.html, variable.language.documentroot.xml, keyword.operator.logical.python | #007fbf | |
| support.class.component.js, support.class.component.tsx | #007fbf | bold |
| constant.language.go, meta.tag.metadata.doctype.html entity.name.tag.html, meta.tag.metadata.doctype.html punctuation.definition.tag.end.html, meta.tag.metadata.doctype.html punctuation.definition.tag.begin.html | #007fbf | italic |
| meta.object-literal.key, meta.object-literal.key entity.name.function, variable.other.property, variable.object.property, entity.other.attribute-name, variable.other.object.property, support.type.property-name.json, support.variable.property.dom.js, string.quoted.single.sql, variable.parameter.function-call.python | #009900 | |
| constant.other.php, constant.other.class.php, support.constant.std.php, support.constant.ext.php, support.constant.core.php, support.constant.parser-token.php, storage.type.boolean.go, storage.type.byte.go, storage.type.error.go, storage.type.numeric.go, storage.type.rune.go, storage.type.string.go, storage.type.uintptr.go, entity.other.attribute-name.js, variable.other.constant.property.js, variable.other.constant.object.property.js, variable.other.constant.property.ts, variable.other.constant.object.property.ts, variable.other.constant.property.tsx, variable.other.constant.object.property.tsx, constant.other, constant.other.caps.python, source.cs storage.type | #4a8300 | |
| meta.tag.metadata.doctype.html entity.other.attribute-name.html | #4a8300 | italic |
| keyword.other.phpdoc.php, meta.other.type.phpdoc.php, storage.type.class.jsdoc, keyword.codetag.notation.python | #5a5a5a | italic |
| string.regexp.js punctuation.definition.group.regexp, string.regexp.js punctuation.definition.character-class.regexp, meta.object-binding-pattern-variable.js punctuation, meta.parameter.object-binding-pattern.js punctuation, punctuation.section.embedded.begin.js, punctuation.section.embedded.end.js, meta.other.type.phpdoc.php keyword.other.type.php, source.python string.quoted.docstring, meta.tag.cs entity.name.tag, meta.tag.cs entity.other.attribute-name, meta.tag.cs punctuation.definition.string.begin.cs, meta.tag.cs string, meta.tag.cs, meta.attribute.begin.php, meta.import.js punctuation.definition.block.js | #5a5a5a | |
| string.quoted.other.backtick.sql, constant.other.placeholder.go, meta.template.expression, constant.character.format.placeholder.other.python, meta.interpolation.cs | #7d5a27 | |
| support.function, keyword.operator.error-control.php, support.function.builtin.go, string.regexp.js keyword.operator.quantifier.regexp, string.regexp.js keyword.operator.or.regexp, string.regexp.js keyword.operator.negation.regexp, source.js support, source.ts support, source.tsx support, variable.language.super.js, variable.language.super.ts, variable.language.super.tsx, keyword.operator.expression.import.js, support.variable.object.node.js, support.type.object.module.js, support.variable.magic.python, support.type.python, keyword.type.cs | #8000ca | |
| meta.method.declaration.js storage.type, meta.method.declaration.ts storage.type, meta.method.declaration.tsx storage.type | #8000ca | bold |
| comment, keyword.other.documentation, variable.other.jsdoc, comment.line.double-slash.js, comment.block.documentation.js, entity.name.type.instance.jsdoc, variable.other.link.underline.jsdoc, constant.language.access-type.jsdoc, text.pug string.comment, source.sql comments | #969696 | |
| string, string.quoted.single.js, string.quoted.double.js, punctuation.definition.string.end.js, punctuation.definition.string.begin.js, string.unquoted.nowdoc.php punctuation.section.embedded.begin.php, string.regexp.js, string.regexp.js constant.other.character-class.set.regexp, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, entity.name.package.go, keyword.operator.regexp.php | #ce7b00 | |
| string.regexp.js constant.other.character-class.range.regexp | #ce7b00 | italic |
| string.quoted.double.php variable.other.php, string.unquoted.heredoc.php variable.other.php, string.quoted.double.sql.php variable.other.php | #ce7b00 | bold |
| source.sql support.function, string.regexp.js constant.other.character-class.regexp, string.regexp.js punctuation.definition.group.assertion.regexp, string.regexp.js keyword.control.anchor.regexp | #ce47cc | |
| punctuation.definition.typeparameters.begin, punctuation.definition.typeparameters.end, entity.other.attribute-name.css, variable.parameter.keyframe-list.css, meta.at-rule.media.header.css support.constant.media.css, meta.at-rule.media.header.css support.type.property-name.media.css, text.pug variable.control.import.include.pug, meta.tag.metadata.doctype.html string, keyword.operator.nowdoc.php, keyword.operator.heredoc.php, punctuation.definition.string.begin.cs, keyword.operator.nullable-type.php | #ceaf00 | |
| keyword.operator.class.php, keyword.operator.arithmetic.php, keyword.operator.channel.go, string.regexp.js punctuation.definition.string.begin.js, string.regexp.js punctuation.definition.string.end.js, string.regexp.js keyword.other.js, storage.type.function.arrow, source.ts keyword.operator.optional, source.tsx keyword.operator.optional, source.ts keyword.operator.type.ts, source.tsx keyword.operator.type.tsx, entity.name.tag.css, entity.name.tag.wildcard.css, text.pug storage, punctuation.definition.string.php, meta.preprocessor.cs, meta.preprocessor.cs keyword.preprocessor | #d10000 | |
| punctuation.section.embedded.end.php, punctuation.section.embedded.begin.php, meta.decorator punctuation.decorator, meta.decorator meta.function-call.js entity.name.function.js, meta.decorator meta.function-call.ts entity.name.function.ts, meta.decorator meta.function-call.tsx entity.name.function.tsx, entity.name.function.decorator.python | #d10000 | italic |
| keyword.operator.math.sql, source.sql constant.numeric, constant.numeric, text.html constant.character.entity | #fa4b5a | |
| constant.numeric.css keyword.other | #fa4b5a | italic |
| source.python variable.language.special, source.python variable.parameter.function.language.special, source.php text.html, source.php source.sql, source.php source.json, source.php source.js, punctuation.accessor.optional, source.cs keyword.operator | #4b4913 |
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}!`;
}