Dev-C++ Theme
Publisher: GuyutongxueThemes in package: 1
The default theme of Dev-Cpp
The default theme of Dev-Cpp
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 |
|---|---|---|
| invalid | #cd3131 | — |
| constant.language.NULL | — | |
| comment, punctuation.definition.comment | #0078d7 | italic |
| storage.type.class.doxygen, storage.type.class.gtkdoc | #0078d7 | italic underline |
| constant.numeric, entity.name.operator.custom-literal.number, variable.other.enummember, keyword.operator.plus.exponent, keyword.operator.minus.exponent, keyword.other.unit.hexadecimal, keyword.other.unit.octal, keyword.other.unit.binary, keyword.other.unit.suffix, keyword.other.unit.exponent.decimal, keyword.other.unit.user-defined, punctuation.separator.constant.numeric | #800080 | |
| punctuation.separator, punctuation.terminator, punctuation.section, punctuation.definition.begin.bracket.square, punctuation.definition.end.bracket.square, punctuation.definition.capture, punctuation.definition.parameters, punctuation.definition.lambda, punctuation.definition.dictionary, punctuation.definition.array, storage.modifier.pointer, storage.modifier.reference, entity.name.operator | #FF0000 | bold |
| keyword.operator, keyword.operator.delete.array.bracket | #FF0000 | bold |
| constant.language | #000000 | bold |
| storage.type.built-in.primitive, storage.type.class, storage.type.struct, storage.type.enum, storage.type.union, storage.type.asm, storage.type.template, storage.type.modifier, storage.type.extern | #000000 | bold |
| keyword | #000000 | bold |
| keyword.control | #000000 | bold |
| keyword.operator.wordlike, keyword.operator.functionlike, keyword.operator.and, keyword.operator.and_eq, keyword.operator.bitand, keyword.operator.bitor, keyword.operator.compl, keyword.operator.not, keyword.operator.not_eq, keyword.operator.or, keyword.operator.or_eq, keyword.operator.xor, keyword.operator.xor_eq, keyword.operator.new, keyword.operator.delete, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.alignof, keyword.operator.typeid, keyword.operator.alignas, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.wordlike, keyword.operator.noexcept, storage.modifier | #000000 | bold |
| keyword.other.unit | #000000 | bold |
| entity.name.operator.type | #000000 | bold |
| string.quoted.double, entity.name.operator.custom-literal.string, meta.embedded.assembly | #0000ff | bold |
| meta.preprocessor, entity.name.function.preprocessor, keyword.control.directive, punctuation.definition.directive | #008000 | |
| meta.preprocessor.string, string.quoted.double.include | #008000 | |
| meta.preprocessor.numeric, entity.other.attribute-name.pragma.preprocessor | #008000 | |
| constant.character.escape.line-continuation | #008000 | |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #800000 | — |
| support.function.git-rebase | #0451a5 | — |
| constant.sha.git-rebase | #098658 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #000000 | — |
| variable.language | #000000 | bold |
| meta.embedded, source.groovy.embedded | #000000ff | — |
| emphasis | — | italic |
| strong | — | bold |
| meta.diff.header | #000080 | — |
| constant.regexp | #811f3f | — |
| string.regexp | #811f3f | — |
| entity.name.tag | #800000 | — |
| entity.name.selector | #800000 | — |
| entity.other.attribute-name | #ff0000 | — |
| 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.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss | #800000 | — |
| markup.underline | — | underline |
| markup.bold | #000080 | bold |
| markup.heading | #800000 | bold |
| markup.italic | — | italic |
| markup.inserted | #098658 | — |
| markup.deleted | #a31515 | — |
| markup.changed | #0451a5 | — |
| punctuation.definition.quote.begin.markdown, punctuation.definition.list.begin.markdown | #0451a5 | — |
| markup.inline.raw | #800000 | — |
| punctuation.definition.tag | #800000 | — |
| meta.structure.dictionary.key.python | #0451a5 | — |
| meta.template.expression | #000000 | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color, support.type.vendored.property-name, punctuation.support.type.property-name, support.type.property-name | #0451a5 | — |
| variable.css, variable.scss, variable.other.less, source.coffee.embedded | #ff0000 | — |
| support.type.property-name.json | — | bold |
| string.comment.buffered.block.pug, string.quoted.pug, string.interpolated.pug, string.unquoted.plain.in.yaml, string.unquoted.plain.out.yaml, string.unquoted.block.yaml, string.quoted.single.yaml, string.quoted.double.xml, string.quoted.single.xml, string.unquoted.cdata.xml, string.quoted.double.html, string.quoted.single.html, string.unquoted.html, string.quoted.single.handlebars, string.quoted.double.handlebars | #0000ff | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #0000ff | — |
| invalid | #cd3131 | — |
| constant.language.NULL | — | |
| comment, punctuation.definition.comment | #0078d7 | italic |
| storage.type.class.doxygen, storage.type.class.gtkdoc | #0078d7 | italic underline |
| constant.numeric, entity.name.operator.custom-literal.number, variable.other.enummember, keyword.operator.plus.exponent, keyword.operator.minus.exponent, keyword.other.unit.hexadecimal, keyword.other.unit.octal, keyword.other.unit.binary, keyword.other.unit.suffix, keyword.other.unit.exponent.decimal, keyword.other.unit.user-defined, punctuation.separator.constant.numeric | #800080 | |
| punctuation.separator, punctuation.terminator, punctuation.section, punctuation.definition.begin.bracket.square, punctuation.definition.end.bracket.square, punctuation.definition.capture, punctuation.definition.parameters, punctuation.definition.lambda, punctuation.definition.dictionary, punctuation.definition.array, storage.modifier.pointer, storage.modifier.reference, entity.name.operator | #FF0000 | bold |
| keyword.operator, keyword.operator.delete.array.bracket | #FF0000 | bold |
| constant.language | #000000 | bold |
| storage.type.built-in.primitive, storage.type.class, storage.type.struct, storage.type.enum, storage.type.union, storage.type.asm, storage.type.template, storage.type.modifier, storage.type.extern | #000000 | bold |
| keyword | #000000 | bold |
| keyword.control | #000000 | bold |
| keyword.operator.wordlike, keyword.operator.functionlike, keyword.operator.and, keyword.operator.and_eq, keyword.operator.bitand, keyword.operator.bitor, keyword.operator.compl, keyword.operator.not, keyword.operator.not_eq, keyword.operator.or, keyword.operator.or_eq, keyword.operator.xor, keyword.operator.xor_eq, keyword.operator.new, keyword.operator.delete, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.alignof, keyword.operator.typeid, keyword.operator.alignas, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.wordlike, keyword.operator.noexcept, storage.modifier | #000000 | bold |
| keyword.other.unit | #000000 | bold |
| entity.name.operator.type | #000000 | bold |
| string.quoted.double, entity.name.operator.custom-literal.string, meta.embedded.assembly | #0000ff | bold |
| meta.preprocessor, entity.name.function.preprocessor, keyword.control.directive, punctuation.definition.directive | #008000 | |
| meta.preprocessor.string, string.quoted.double.include | #008000 | |
| meta.preprocessor.numeric, entity.other.attribute-name.pragma.preprocessor | #008000 | |
| constant.character.escape.line-continuation | #008000 | |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #800000 | — |
| support.function.git-rebase | #0451a5 | — |
| constant.sha.git-rebase | #098658 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #000000 | — |
| variable.language | #000000 | bold |
| meta.embedded, source.groovy.embedded | #000000ff | — |
| emphasis | — | italic |
| strong | — | bold |
| meta.diff.header | #000080 | — |
| constant.regexp | #811f3f | — |
| string.regexp | #811f3f | — |
| entity.name.tag | #800000 | — |
| entity.name.selector | #800000 | — |
| entity.other.attribute-name | #ff0000 | — |
| 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.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss | #800000 | — |
| markup.underline | — | underline |
| markup.bold | #000080 | bold |
| markup.heading | #800000 | bold |
| markup.italic | — | italic |
| markup.inserted | #098658 | — |
| markup.deleted | #a31515 | — |
| markup.changed | #0451a5 | — |
| punctuation.definition.quote.begin.markdown, punctuation.definition.list.begin.markdown | #0451a5 | — |
| markup.inline.raw | #800000 | — |
| punctuation.definition.tag | #800000 | — |
| meta.structure.dictionary.key.python | #0451a5 | — |
| meta.template.expression | #000000 | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color, support.type.vendored.property-name, punctuation.support.type.property-name, support.type.property-name | #0451a5 | — |
| variable.css, variable.scss, variable.other.less, source.coffee.embedded | #ff0000 | — |
| support.type.property-name.json | — | bold |
| string.comment.buffered.block.pug, string.quoted.pug, string.interpolated.pug, string.unquoted.plain.in.yaml, string.unquoted.plain.out.yaml, string.unquoted.block.yaml, string.quoted.single.yaml, string.quoted.double.xml, string.quoted.single.xml, string.unquoted.cdata.xml, string.quoted.double.html, string.quoted.single.html, string.unquoted.html, string.quoted.single.handlebars, string.quoted.double.handlebars | #0000ff | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #0000ff | — |
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}!`;
}