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, meta.var.expr storage.type, keyword.control.flow, keyword.control.return, meta.directive.vue punctuation.separator.key-value.html, meta.directive.vue entity.other.attribute-name.html, tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js, storage.modifier, string.quoted.docstring.multi, string.quoted.docstring.multi.python punctuation.definition.string.begin, string.quoted.docstring.multi.python punctuation.definition.string.end, string.quoted.docstring.multi.python constant.character.escape | — | italic |
| comment, comment.block.documentation, punctuation.definition.comment, comment.block.documentation punctuation, string.quoted.docstring.multi, string.quoted.docstring.multi.python punctuation.definition.string.begin, string.quoted.docstring.multi.python punctuation.definition.string.end, string.quoted.docstring.multi.python constant.character.escape | #c496ad | — |
| constant, support.constant.core.php | #e35535 | — |
| variable.other.constant, punctuation.definition.constant, constant.language, constant.numeric, support.constant, constant.other.caps | #c62f52 | — |
| string, constant.other.symbol, constant.other.key, meta.attribute-selector, string constant.character | #d8cfd3 | — |
| invalid, invalid.illegal | #e35535 | — |
| storage.type | #c496ad | — |
| meta.var.expr storage.type, storage.modifier | #c496ad | — |
| keyword.operator, keyword.control.as, keyword.other, keyword.operator.bitwise.shift, punctuation, keyword.control, keyword.control.conditional, storage.modifier, keyword.operator.new, keyword.operator.expression | #c62f52 | — |
| support.function, entity.name.function, meta.function-call, meta.function, meta.method.declaration, meta.function-call support, variable.language.super.ts, source.directive, meta.function-call.generic, meta.method-call.static.php, meta.method-call.php, meta.class storage.type, meta.method.groovy, meta.bracket.square.access, entity.name.function-call.elixir, entity.name.function.powershell | #c496ad | — |
| variable, variable.language, entity.name.type.class.js, entity.name.variable, support.variable.magic, meta.method.body, entity.name.variable, punctuation.definition.variable, meta.class variable.object.property, variable.other.constant entity.name.function, meta.definition.variable.name.groovy, meta.body.struct.cpp, parameter.variable.function.elixir, support.variable.automatic.powershell | #c62f52 | — |
| entity.name.function.decorator, meta.decorator entity.name.function, meta.decorator punctuation.decorator, punctuation.definition.decorator, meta.decorator variable.other.readwrite.ts, variable.parameter.gdscript, entity.name.variable.parameter, variable.parameter | #a85991 | — |
| entity.name.type, support.type, support.class, storage.type, entity.other.inherited-class, keyword.type, storage.type.java, storage.type.primitive.java, storage.type.generic.java, keyword.other.type, storage.type.object.array.java, storage.type.primitive.groovy, storage.type.groovy, entity.name.type.class.php, support.class.php, entity.other.inherited-class.php, entity.other.alias.php | #a85991 | — |
| storage, meta.var.expr storage.type, storage.type.function, keyword.function, storage.type.class, storage.type.property, keyword.other, keyword.local.lua, entity.name.class, storage.type.enum, storage.type.interface, storage.type.type, entity.name.type.class.java, storage.type.trait.php, keyword.type.go, keyword.var.go, storage.type.powershell, keyword.const.go | #c496ad | — |
| entity.name.tag | #c496ad | — |
| entity.other.attribute-name, text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #c62f52 | — |
| meta.object-literal.key, variable.object.property, variable.other.property, support.variable.property, support.variable.property.dom, meta.function-call variable.other.object.property | #d8cfd3 | — |
| support.type.property-name.css, support.type.vendored.property-name, meta.property-list entity.name.tag.css, meta.property-list.scss meta.property-list.scss entity.name.tag.css, meta.property-list meta.property-name, source.css.scss meta.property-list.scss entity.name.tag.css | #d8cfd3 | — |
| entity.other.attribute-name.class, entity.other.attribute-name.class punctuation.definition.entity | #c496ad | — |
| entity.other.attribute-name.id, entity.other.attribute-name.id punctuation.definition.entity | #a85991 | — |
| entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element | #a85991 | — |
| entity.name.tag.css, meta.property-list.scss entity.name.tag.css | #c496ad | — |
| string.regexp | #d8cfd3 | — |
| constant.character.escape | #c62f52 | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #c496ad | — |
| heading.1.markdown entity.name, heading.1.markdown punctuation.definition.heading.markdown, heading.2.markdown entity.name, heading.2.markdown punctuation.definition.heading.markdown, heading.3.markdown entity.name, heading.3.markdown punctuation.definition.heading.markdown, heading.4.markdown entity.name, heading.4.markdown punctuation.definition.heading.markdown, heading.5.markdown entity.name, heading.5.markdown punctuation.definition.heading.markdown, heading.6.markdown entity.name, heading.6.markdown punctuation.definition.heading.markdown | #c62f52 | bold |
| markup.bold, punctuation.definition.bold | #c62f52 | bold |
| markup.italic, punctuation.definition.italic | #c62f52 | italic |
| markup.underline.link, markup.underline.link.image, string.other.link, constant.other.reference.link.markdown, string.other.link.description.title.markdown | #c496ad | — |
| markup.inline.raw.string.markdown, punctuation.definition.raw.markdown, markup.fenced_code.block.markdown, markup.fenced_code.block.markdown punctuation, markup.raw.block.markdown | #a85991 | — |
| markup.quote, markup.quote.markdown punctuation.definition.quote.begin | #a85991 | — |
| markup.inserted, markup.inserted.git_gutter, source.diff markup.inserted.diff, source.diff punctuation.definition.inserted.diff | #d8cfd3 | — |
| markup.deleted, markup.deleted.git_gutter, source.diff markup.deleted.diff, source.diff punctuation.definition.deleted.diff | #e35535 | — |
| markup.changed, markup.changed.git_gutter | #c496ad | — |
| punctuation, meta.brace, punctuation.definition.block, punctuation.definition.parameters, punctuation.definition.arguments, punctuation.section, punctuation.terminator, punctuation.separator | #d8cfd360 | — |
| support.function | #c496ad | — |
| constant.language, support.constant, variable.language.this, variable.language.special.self | #c62f52 | — |
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}!`;
}