DS Temas
Publisher: FelipeSantos92DevThemes in package: 10
Temas desenvolvidos com base nas cores preferenciais dos alunos do curso de Desenvolvimento de Sistemas de Valinhos
Temas desenvolvidos com base nas cores preferenciais dos alunos do curso de Desenvolvimento de Sistemas de Valinhos
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 |
|---|---|---|
| comment, punctuation.definition.comment, string.quoted.docstring.multi, comment.block.documentation source | #b89ba6 | italic |
| constant, support.constant.core.php | #e65f7a | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape, variable.other.constant, punctuation.definition.constant | #e65f7a | — |
| string, string.template, string.quoted.single, string.quoted.double, punctuation.definition.string, punctuation.definition.string.template, punctuation.definition.string.begin, punctuation.definition.string.end, string.other.link, constant.other.symbol, constant.other.key | #7aae7f | — |
| keyword, keyword.control, keyword.control.conditional, keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.return, keyword.control.flow, keyword.operator.new, keyword.operator.expression, storage.modifier, storage.type.class | #d9a76a | bold |
| keyword.operator, keyword.operator.comparison, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.logical, keyword.operator.relational, storage.type.function.arrow | #d9a76a | — |
| entity.name.function, meta.function-call, support.function, meta.function, meta.method.declaration, entity.name.method.js, variable.function.constructor, meta.class-method.js entity.name.function.js | #6f94c9 | bold |
| entity.name.type, support.type, support.class, storage.type, entity.other.inherited-class, keyword.type, entity.name.class, storage.type.java, storage.type.primitive.java, storage.type.generic.java, entity.name.type.class.php, support.class.php | #a77ac9 | — |
| variable, variable.language, entity.name.variable, support.variable.magic, punctuation.definition.variable, meta.definition.variable.name | #e67a99 | — |
| variable.parameter, entity.name.variable.parameter, meta.decorator entity.name.function, meta.decorator punctuation.decorator, punctuation.definition.decorator, entity.name.function.decorator | #c979b9 | — |
| meta.object-literal.key, variable.object.property, variable.other.property, support.variable.property, entity.name.tag.yaml, support.type.property-name | #d28162 | — |
| storage, storage.type.function, keyword.function, storage.type.property, storage.type.enum, storage.type.interface, storage.type.type | #5ebabf | — |
| entity.name.tag, entity.name.tag.css, meta.tag.sgml.doctype.html, punctuation.definition.tag | #6f94c9 | — |
| entity.other.attribute-name, entity.other.attribute-name.html, entity.other.attribute-name.class, entity.other.attribute-name.id | #d9a76a | — |
| entity.other.attribute-name.class, entity.other.attribute-name.class punctuation.definition.entity | #5ebabf | — |
| entity.other.attribute-name.id, entity.other.attribute-name.id punctuation.definition.entity | #a77ac9 | — |
| entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element | #c979b9 | — |
| support.type.property-name.css, support.type.vendored.property-name, meta.property-list entity.name.tag.css, meta.property-name | #3a0f1e | — |
| support.constant.property-value, support.constant.font-name, meta.property-value.css, constant.numeric | #d28162 | — |
| string.regexp | #7aae7f | — |
| constant.character.escape | #d9a76a | — |
| invalid, invalid.illegal | #e65f7a | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #6f94c9 | — |
| markup.heading, entity.name.section, punctuation.definition.heading | #d9a76a | bold |
| markup.bold, punctuation.definition.bold | #e67a99 | bold |
| markup.italic, punctuation.definition.italic | #d28162 | italic |
| markup.underline.link, markup.underline.link.image, string.other.link.description.title.markdown | #6f94c9 | — |
| markup.inline.raw.string.markdown, punctuation.definition.raw.markdown, markup.fenced_code.block.markdown, markup.raw.block.markdown | #a77ac9 | — |
| markup.quote, markup.quote.markdown punctuation.definition.quote.begin | #c979b9 | — |
| markup.inserted, markup.inserted.git_gutter, source.diff markup.inserted.diff | #7aae7f | — |
| markup.deleted, markup.deleted.git_gutter, source.diff markup.deleted.diff | #e65f7a | — |
| markup.changed, markup.changed.git_gutter | #6f94c9 | — |
| punctuation, meta.brace, punctuation.definition.block, punctuation.definition.parameters, punctuation.definition.arguments, punctuation.section, punctuation.terminator, punctuation.separator | #3a0f1e | — |
| variable.language.this, variable.language.special.self, variable.parameter.function.language.special.self | #d28162 | — |
| support.function, support.class, support.type.object.module | #5ebabf | — |
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}!`;
}