WinsCode 11
Publisher: Emrecan KaraçayırThemes in package: 2
A Code theme for Windows 11!
A Code theme for Windows 11!
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 |
|---|---|---|
| variable.other.constant, constant.other.caps | #A3DCD2 | — |
| constant.other.color | #FFFFFF | — |
| storage.type.annotation, punctuation.definition.annotation | #ED5E5E | — |
| meta.decorator, meta.function.decorator, meta.function.decorator support.type, punctuation.definition.decorator, support.function.magic | #F471B3 | — |
| entity.name.type.class | #E2C636 | — |
| meta.definition.class.inherited.classes | #E2C636 | — |
| meta.definition.class.implemented.interfaces | #1DC9AC | — |
| entity.name.function, meta.function-call | #E08D52 | — |
| meta.class variable.other, variable.other.object.property, meta.member.access | #E9DB96 | — |
| meta.method variable.other, meta.function variable.other, meta.block variable.other | #F2C6A6 | — |
| entity.name.function, support.function, support.constant.handlebars, source.powershell variable.other.member, entity.name.operator.custom-literal | #E08D52 | — |
| support.class, support.type, entity.name.type, entity.name.namespace, entity.other.attribute, entity.name.scope-resolution, entity.name.class, storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go, storage.type.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.java, storage.type.object.array.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.object.array.groovy | #1DC9AC | — |
| storage.type.generic. | #5E9AED | — |
| storage.type.primitive.array.java, storage.type.primitive.java, storage.type.primitive.array.groovy, storage.type.primitive.groovy | #5E9AED | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class | #1DC9AC | — |
| keyword.control, source.cpp keyword.operator.new, keyword.operator.delete, keyword.other.using, keyword.other.operator, entity.name.operator | #D371F4 | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable, constant.other.placeholder | #F2C6A6 | — |
| variable.other.constant, variable.other.enummember | #A3DCD2 | — |
| meta.object-literal.key | #C2D5F0 | — |
| 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 | #5E9AED | — |
| punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp | #CE9178 | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #ED5E5EC5 | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #F5BCD9C5 | — |
| keyword.operator.quantifier.regexp | #F2C6A6C5 | — |
| constant.character | #5E9AED | — |
| constant.character.escape | #ED5E5E | — |
| entity.name.label | #E6BEF4 | — |
| meta.embedded, source.groovy.embedded, string meta.image.inline.markdown | #FFFFFFC5 | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #000080 | — |
| comment | #53C653 | — |
| constant.language | #5E9AED | — |
| constant.numeric, variable.other.enummember, keyword.operator.plus.exponent, keyword.operator.minus.exponent | #A6D9A6 | — |
| constant.regexp | #F471B3C5 | — |
| entity.name.tag | #5E9AED | — |
| entity.name.tag.css | #1DC9AC | — |
| entity.other.attribute-name | #C2D5F0 | — |
| 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.scss | #E2C636 | — |
| invalid | #ED5E5E | — |
| markup.underline | — | underline |
| markup.bold | #5E9AED | bold |
| markup.heading | #5E9AED | bold |
| markup.italic | — | italic |
| markup.strikethrough | — | strikethrough |
| markup.inserted | #53C653 | — |
| markup.deleted | #ED5E5E | — |
| markup.changed | #5E9AED | — |
| punctuation.definition.quote.begin.markdown | #53C653 | — |
| punctuation.definition.list.begin.markdown | #5E9AED | — |
| markup.inline.raw | #ce9178 | — |
| punctuation.definition.tag | #FFFFFF52 | — |
| meta.preprocessor, entity.name.function.preprocessor | #5E9AED | — |
| meta.preprocessor.string | #ce9178 | — |
| meta.preprocessor.numeric | #A6D9A6 | — |
| meta.structure.dictionary.key.python | #C2D5F0 | — |
| meta.diff.header | #5E9AED | — |
| storage | #5E9AED | — |
| storage.type | #5E9AED | — |
| storage.modifier, keyword.operator.noexcept | #5E9AED | — |
| string, meta.embedded.assembly | #ce9178 | — |
| string.tag | #ce9178 | — |
| string.value | #ce9178 | — |
| string.regexp | #F471B3C5 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #5E9AED | — |
| meta.template.expression | #FFFFFFC5 | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less, source.coffee.embedded | #F2C6A6 | — |
| keyword | #D371F4 | — |
| keyword.control | #D371F4 | — |
| keyword.operator | #FFFFFFC5 | — |
| keyword.operator.new, keyword.control.new, 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 | #5E9AED | — |
| keyword.other.unit | #A6D9A6 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #5E9AED | — |
| support.function.git-rebase | #C2D5F0 | — |
| constant.sha.git-rebase | #A6D9A6 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #FFFFFFC5 | — |
| variable.language | #E2C636 | — |
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}!`;
}