GuiSaldanha Light
Publisher: Guilherme SaldanhaThemes in package: 1
Tema light criado por Guilherme Saldanha
Tema light criado por Guilherme Saldanha
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 |
|---|---|---|
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #ff0000 | bold |
| keyword.control.if.php, keyword.control.foreach.php, keyword.control.while.php, keyword.control.switch.php, keyword.control.case.php, keyword.control.default.php, keyword.control.return.php, keyword.control.elseif.php, keyword.control.else.php, keyword.control.for.php | #159428 | italic bold |
| keyword.operator.logical.php | — | italic |
| keyword.other.new.php | #159428 | italic |
| meta.function-call.php, support.function.construct.output.php, keyword.other.namespace.php, storage.type.class.php, keyword.control.exception.php, keyword.control.exception.catch.php, storage.type.function.php, storage.modifier.php, keyword.control.exit.php | #0000bc | — |
| storage.modifier.extends.php, storage.modifier.implements.php | #0000ff | italic |
| constant.language.php | #ab9b00 | bold |
| constant.other.php | #cf6d12 | — |
| support.constant.ext.php, support.function.constructor.php | #000000 | italic |
| constant.numeric.decimal.php | #c92222 | — |
| support.class.php, entity.name.type.class.php | #9a2cba | italic bold |
| entity.name.function.php | #9a2cba | italic |
| variable.other.property.php, variable.other.class.php | #9a2cba | — |
| storage.modifier.php | — | italic |
| support.function.construct.php, keyword.other.type.php, meta.function.parameter.typehinted.php storage.type.php | #159428 | — |
| variable.other.php, variable.language.this.php, variable.language.this.php, variable.other.global.safer.php, variable.other.global.php | #0066ff | — |
| storage.type.php | #159428 | italic |
| string.quoted.double.php variable.other.php, meta.embedded.block.php string.regexp.single-quoted.php, string.regexp.double-quoted.php variable.other.php | #830e0e | — |
| string.quoted.single.php, string.regexp.double-quoted.php | #e60909 | — |
| string.quoted.double.php, punctuation.definition.string.begin.php, punctuation.definition.string.end.php | #FF0000 | — |
| support.other.namespace.php | #773f9c | — |
| keyword.control.import.include.php | #147a23 | — |
| keyword.other.use.php | #147a23 | — |
| keyword.other.phpdoc.php | #9A9A9A | bold |
| meta.tag.metadata.doctype.html | #000000 | italic |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html | #000000 | — |
| entity.name.tag.html | #0000cd | — |
| entity.other.attribute-name.html | #b700b7 | — |
| string.quoted.double.html | #001dff | — |
| meta.tag.structure.button.start.html entity.name.tag.html, meta.tag.structure.button.start.html punctuation.definition.tag.begin.html, meta.tag.structure.button.start.html punctuation.definition.tag.end.html, meta.tag.structure.button.start.html entity.other.attribute-name.html, meta.tag.structure.button.end.html entity.name.tag.html, meta.tag.structure.button.end.html punctuation.definition.tag.begin.html, meta.tag.structure.button.end.html punctuation.definition.tag.end.html, meta.tag.structure.form.start.html entity.name.tag.html, meta.tag.structure.form.start.html punctuation.definition.tag.begin.html, meta.tag.structure.form.start.html punctuation.definition.tag.end.html, meta.tag.structure.form.start.html entity.other.attribute-name.html, meta.tag.structure.form.end.html entity.name.tag.html, meta.tag.structure.form.end.html punctuation.definition.tag.begin.html, meta.tag.structure.form.end.html punctuation.definition.tag.end.html, meta.tag.structure.input.void.html entity.name.tag.html, meta.tag.structure.input.void.html punctuation.definition.tag.begin.html, meta.tag.structure.input.void.html punctuation.definition.tag.end.html, meta.tag.structure.input.void.html entity.other.attribute-name.html, meta.tag.structure.label.start.html entity.name.tag.html, meta.tag.structure.label.start.html punctuation.definition.tag.begin.html, meta.tag.structure.label.start.html punctuation.definition.tag.end.html, meta.tag.structure.label.end.html entity.name.tag.html, meta.tag.structure.label.end.html punctuation.definition.tag.begin.html, meta.tag.structure.label.end.html punctuation.definition.tag.end.html, meta.tag.structure.label.start.html entity.other.attribute-name.html, meta.tag.structure.textarea.start.html entity.name.tag.html, meta.tag.structure.textarea.start.html punctuation.definition.tag.begin.html, meta.tag.structure.textarea.start.html punctuation.definition.tag.end.html, meta.tag.structure.textarea.end.html entity.name.tag.html, meta.tag.structure.textarea.end.html punctuation.definition.tag.begin.html, meta.tag.structure.textarea.end.html punctuation.definition.tag.end.html, meta.tag.structure.textarea.start.html entity.other.attribute-name.html, meta.tag.structure.option.start.html entity.name.tag.html, meta.tag.structure.option.start.html punctuation.definition.tag.begin.html, meta.tag.structure.option.start.html punctuation.definition.tag.end.html, meta.tag.structure.option.end.html entity.name.tag.html, meta.tag.structure.option.end.html punctuation.definition.tag.begin.html, meta.tag.structure.option.end.html punctuation.definition.tag.end.html, meta.tag.structure.option.start.html entity.other.attribute-name.html, meta.tag.structure.select.start.html entity.name.tag.html, meta.tag.structure.select.start.html punctuation.definition.tag.begin.html, meta.tag.structure.select.start.html punctuation.definition.tag.end.html, meta.tag.structure.select.end.html entity.name.tag.html, meta.tag.structure.select.end.html punctuation.definition.tag.begin.html, meta.tag.structure.select.end.html punctuation.definition.tag.end.html, meta.tag.structure.select.start.html entity.other.attribute-name.html | #ff7300 | — |
| meta.tag.structure.button.start.html string.quoted.double.html, meta.tag.structure.input.void.html string.quoted.double.html, meta.tag.structure.label.start.html string.quoted.double.html, meta.tag.structure.form.start.html string.quoted.double.html, meta.tag.structure.textarea.start.html string.quoted.double.html, meta.tag.structure.option.start.html string.quoted.double.html, meta.tag.structure.select.start.html string.quoted.double.html | #a45d2e | — |
| entity.name.tag.structure.any.html, entity.name.tag.other.html, entity.name.tag.inline.any.html, entity.name.tag.block.any.html', punctuation.definition.tag.html, entity.name.tag.script.html, punctuation.definition.tag.end.html, entity.name.tag.block.any.html | #0000cd | — |
| storage.type.js, storage.type.function.js, constant.language.null.js, constant.language.boolean.true.js, constant.language.boolean.false.js | #bb00ff | italic |
| variable.other.constant.js, variable.other.constant.object.js, variable.other.readwrite.js, variable.other.object.js | #0066ff | |
| variable.other.object.property.js, variable.other.property.js | #b700b7 | |
| entity.name.function.js | #0000bc | |
| keyword.operator.new.js, keyword.operator.typeof.js, keyword.operator.void.js, keyword.operator.in.js, keyword.operator.instanceof.js, keyword.operator.relational.js, keyword.operator.increment.js, keyword.operator.assignment.js, keyword.control.export.js, keyword.control.import.js, keyword.control.trycatch.js, keyword.control.switch.js, keyword.control.loop.js, keyword.control.conditional.js, meta.object-literal.key.js, keyword.control.flow.js | #159428 | italic |
| string.quoted.single.js, string.quoted.double.js | #c92222 | — |
| variable.language.this.js | #ab9b00 | — |
| variable.parameter.js, meta.function-call.js | #f0701f | |
| support.class.builtin.js | #a11117 | |
| support.function.js | #567217 | |
| meta.brace.square.js, meta.brace.round.js, meta.brace.curly.js, punctuation.definition.block.js | #000000 | |
| meta.object.member.js, constant.numeric.decimal.js | #F0701F | — |
| string.regexp.js | #ff0000 | — |
| meta.group.regexp | #c10b0b | — |
| keyword.operator.quantifier.regexp | #ba1313 | — |
| constant.other.character-class.regexp | #773f9c | — |
| comment | #8f8f8f | — |
| support.type.property-name.json | #5830b8 | — |
| string.quoted.double.json.comments, string.quoted.double.json | #c53d3d | — |
| support.type.property-name.css, support.type.vendored.property-name.css | #5830b8 | — |
| keyword.control.at-rule.font-face.css | #f036c1 | bold |
| variable.css, variable.argument.css | #006718 | italic |
| string.quoted.single.css | #319225 | — |
| support.constant.property-value.css | #508de9 | — |
| constant.numeric.css | #dd4343 | — |
| keyword.control.at-rule.import.css | — | bold |
| variable.parameter.url.css | #783386 | — |
| entity.name.tag.css | #333986 | — |
| entity.name.tag.css | #ab3faa | bold |
| entity.other.attribute-name.id.css, entity.other.attribute-name.class.css | #ab3faa | italic |
| keyword.control.at-rule.media.css | #000000 | bold |
| support.type.property-name.media.css, meta.at-rule.media.header.css | #c59100 | italic |
| keyword.other.important.css | #dd0000 | bold |
| keyword.other.DML.sql, keyword.other.sql, string.quoted.single.sql, string.quoted.double.sql.php | #dd0000 | — |
| string.quoted.other.backtick.sql | #c10ba8 | — |
| source.sql.embedded.php variable.other.php, source.sql.embedded.php variable.other.property.php, source.sql.embedded.php keyword.operator.class.php | #830e0e | — |
| source.sql.embedded.php variable.other.php, source.sql.embedded.php variable.other.property.php, source.sql.embedded.php keyword.operator.class.php | #830e0e | — |
| support.function.string.sql | #d405c3 | — |
| meta.function.extinf.m3u | #dd0000 | — |
| support.constant.m3u, keyword.control.m3u | #000000 | bold |
| string.unquoted.m3u | #0009b3 | — |
| keyword.other.definition.ini | #dd0000 | — |
| keyword.other.definition.ini | #dd0000 | — |
| punctuation.separator.key-value.ini | — | bold |
| entity.name.section.group-title.ini | #000bd8 | — |
| keyword.rewrite.apacheconf, keyword.core.apacheconf, keyword.headers.apacheconf, keyword.expires.apacheconf, keyword.expires.apacheconf, keyword.php.apacheconf, keyword.setenvif.apacheconf, keyword.alias.apacheconf | #000bd8 | — |
| string.regexp.apacheconf | #b90000 | — |
| string.replacement.apacheconf, entity.mime-type.apacheconf | #338e21 | — |
| entity.tag.apacheconf | — | italic bold |
| string.value.apacheconf | #882c7c | italic |
| keyword.control.twig, keyword.operator.comparison.twig | #338e21 | italic |
| punctuation.section.tag.twig | #bf2323 | bold |
| variable.other.twig | #ff0000 | — |
| variable.other.property.twig | #9B013D | |
| entity.other.attribute-name.id.html | #B700B7 | |
| meta.tag.sgml.doctype.html | #0000CD | italic |
| keyword.operator.logical.twig | #91008a | — |
| string.quoted.double.twig | #ff6600 | — |
| support.function.twig | #3987b8 | |
| text.html.markdown | #000000 | — |
| markup.heading.markdown | #0066ff | |
| fenced_code.block.language.markdown, markup.fenced_code.block.markdown | #0000bc | |
| markup.list.unnumbered.markdown, markup.list.numbered.markdown | #cf6d12 | |
| markup.bold.markdown | — | bold |
| markup.italic.markdown | — | italic |
| markup.quote.markdown, markup.raw.block.markdown | #626262 | — |
| string.other.link.title.markdown, meta.link.inline.markdown | #5830b8 | — |
| source.python | #000000 | — |
| keyword.control.import.python, keyword.control.import.from.python | #9a2cba | — |
| entity.name.type.class.python | #9A2CBA | — |
| variable.language.python | #0066ff | italic |
| storage.type.class.python | #0000bc | — |
| keyword.control.import.python, keyword.control.import.from.python | #9a2cba | — |
| keyword.other.python | #CE9178 | — |
| keyword.operator.arithmetic.python | #FF0000 | — |
| keyword.operator.logical.python | — | italic |
| constant.language.python | — | italic |
| meta.function-call.python | #0000ff | — |
| keyword.control.flow.python | #159428 | — |
| keyword.control.flow.python | #159428 | — |
| meta.item-access.python | #b04d9a | — |
| string.quoted.double.single-line.python | #c92222 | — |
| string.quoted.single.single-line.python, string.quoted.single.block.python | #ee2929 | — |
| constant.numeric.integer.decimal.python, constant.numeric.float.python | #ff0000 | — |
| variable.parameter.function.python | #9A2CBA | — |
| meta.function-call.arguments.python | #9A2CBA | — |
| storage.type.function.python | #5830B8 | — |
| entity.name.function.python | #773f9c | — |
| constant.character.escape.linefeed.python | #830e0e | — |
| keyword.command.batchfile | #0000ff | — |
| keyword.operator.at.batchfile | #0066ff | — |
| variable.other.readwrite.batchfile | #3987b8 | — |
| keyword.operator.assignment.batchfile | #f036c1 | — |
| variable.parameter.batchfile | #f0701f | — |
| keyword.control.conditional.batchfile | #159428 | italic |
| keyword.other.special-method.batchfile | #9A2CBA | — |
| string.quoted.double.batchfile | #c92222 | — |
| keyword.control.statement.batchfile | #b04d9a | — |
| string.quoted.double.batchfile variable.other.readwrite.batchfile | #ff0000 | — |
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}!`;
}