KnowIT Color Theme
Publisher: KnowITThemes in package: 1
Dark Theme based on Dracula refined for PowerShell sintaxis and F#
Dark Theme based on Dracula refined for PowerShell sintaxis and F#
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 | #6273a4d0 | italic |
| punctuation.definition.comment.block | — | |
| comment.documentation, keyword.operator.documentation | #E6E6FAEA | |
| string | #5ECBFF | — |
| string.quoted.double.powershell | — | italic |
| keyword, keyword.control, meta.function.powershell storage.type.powershell | #b14381 | bold |
| keyword.other | — | |
| entity.name.type, storage.type.powershell | #FF8080 | — |
| entity.name.function.powershell | #6699cc | bold |
| support.type, storage.type, variable.parameter | #6699cc | — |
| variable, string constant.other.placeholder | #E6E6FAEA | |
| keyword.symbol, keyword.operator, keyword.other.template, keyword.other.substitution, constant.other.color, meta.tag, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded | #FFF0F5 | |
| keyword.operator.comparison, keyword.operator.logical | — | italic |
| meta.decorator.bicep | #E289BC | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #f07178 | — |
| function, entity.name.function, support.function, meta.function-call, variable.function, keyword.other.special-method | #ffe4b5 | |
| variable.other.property, variable.other.member | #6699cc | |
| meta.hashtable.assignment variable, entity.other.attribute-name | #6699cc | — |
| support.function.attribute | #C594C5 | — |
| support.function.attribute.fsharp | #EEB375 | — |
| variable.language, storage.modifier | #EEB375 | |
| variable.parameter.attribute | #00c0c0 | |
| support.other.variable, string.other.link, meta.block variable.other | #eeb375 | |
| support.variable.automatic | #00c0c0 | |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape, keyword.other.unit | #ffa07a | |
| constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #78bae0 | — |
| constant.numeric | #80D394 | — |
| constant.other.color | #ffffff | — |
| invalid, invalid.illegal | #d16469 | — |
| entity.name.namespace, variable.parameter.powershell, support.class, markup.changed.git_gutter, support.type.sys-types | #00C0C0 | — |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name | #B2CCD6 | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #d16469 | — |
| entity.name.method.js | #82AAFF | italic |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #82AAFF | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #eeb375 | italic |
| entity.other.attribute-name.class | #eeb375 | — |
| source.sass keyword.control | #82AAFF | — |
| markup.inserted | #C3E88D | — |
| markup.deleted | #d16469 | — |
| markup.changed | #c594c5 | — |
| string.regexp | #89DDFF | — |
| constant.character.escape | #89DDFF | — |
| *url*, *link*, *uri* | #89DDFF | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #82AAFF | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #d16469 | italic |
| source.json string | #00c0c0 | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #b14381 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #6699cc | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #c594c5 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #78bae0 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #c594c5 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #78bae0 | — |
| support.type.parameters | #ffa07a | — |
| support.type.parameters.parameter-name | — | italic |
| variable.language.variables.variable-name | — | italic |
| text.html.markdown, punctuation.definition.list_item.markdown | #EEFFFF | — |
| text.html.markdown markup.inline.raw.markdown | #c594c5 | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #65737E | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #C3E88D | — |
| markup.italic | #f07178 | italic |
| markup.bold, markup.bold string | #f07178 | bold |
| markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string | #f07178 | bold |
| markup.underline | #ffa07a | underline |
| markup.quote punctuation.definition.blockquote.markdown | #65737E | — |
| markup.quote | — | italic |
| string.other.link.title.markdown | #82AAFF | — |
| string.other.link.description.title.markdown | #c594c5 | — |
| constant.other.reference.link.markdown | #eeb375 | — |
| markup.raw.block | #c594c5 | — |
| markup.raw.block.fenced.markdown | #00000050 | — |
| punctuation.definition.fenced.markdown | #00000050 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #EEFFFF | — |
| variable.language.fenced.markdown | #65737E | — |
| meta.separator | #65737E | bold |
| markup.table | #EEFFFF | — |
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}!`;
}