Night Wolf
Publisher: MaoSantaellaThemes in package: 8
Night Wolf is a dark theme based on Night Owl
Night Wolf is a dark theme based on Night Owl
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 |
|---|---|---|
| Global settings | #c8c8c8 | — |
| italic, markup.italic | — | normal |
| bold, markup.bold | — | bold |
| quote | — | normal |
| invalid | #c8c8c8 | — |
| invalid.deprecated | #f05050 | — |
| meta.brace, keyword.operator.operator, keyword.operator.or.regexp, keyword.operator.expression.in, keyword.operator.relational, keyword.operator.assignment, keyword.operator.comparison, keyword.operator.type, keyword.operator, keyword, punctuation.definition.string, punctuation, variable.other, storage.type, source.css, string.quoted | — | normal |
| markup.changed, meta.diff.header.git, meta.diff.header.from-file, meta.diff.header.to-file | #9cd9ff | normal |
| markup.deleted.diff | #f05050 | normal |
| markup.inserted.diff | #a1d884 | normal |
| variable, variable.language, variable.other, punctuation.definition.constant, variable.other.constant, constant.character, constant.other | #ffdc96 | — |
| variable.other.object.property, meta.object-literal.key, variable.object.property, variable.other.property, variable.other.constant.property, support.variable.property, support.type.map.key | #c8c8c8 | — |
| string, string.quoted, string.quoted.single, string.quoted.double, string.template punctuation.definition.string, punctuation.definition.string, constant.character.escape | #aae682 | — |
| punctuation.definition.template-expression | #ff7878 | — |
| punctuation.definition.tag, meta.tag | #c8c8c8 | — |
| entity.other.attribute-name, entity.name.type.svelte | #9696ff | normal |
| string.regexp, string.regexp punctuation.definition.string, meta.group.regexp, string.regexp keyword.other, constant.character.escape.backslash.regexp, constant.other.character-class.set.regexp, constant.character.control.regexp | #dbd4ba | — |
| constant.other.color | #c8c8c8 | — |
| storage, storage.type, punctuation.definition.block.tag, meta.method.declaration, keyword.function, keyword.class, keyword.interface, keyword.var | #00b1ff | normal |
| support.constant, support.class.promise, storage.modifier.async, keyword.control.flow, keyword.control, keyword.other.special-method | #9696ff | normal |
| keyword.control.conditional, keyword.control.switch | #dc8cff | normal |
| keyword.control.loop | #dc8cff | normal |
| entity.name.function, entity.name.class, meta.function-call, support.variable.property, entity.name.type.class, meta.class, meta.function, entity.other.inherited-class | #00dcdc | — |
| meta.function-call, meta.function-call entity.name.function | — | normal |
| variable.parameter.function, variable.parameter | #ffdc96 | — |
| constant.numeric, constant.character.numeric | #ffb482 | normal |
| constant.language.null, constant.language.undefined | #ff7878 | — |
| constant.language.boolean | #ff7878 | — |
| constant.language | #ff7878 | — |
| support.type | #9696ff | — |
| punctuation, punctuation.separator, meta.property-list.css.sass, punctuation.accessor, punctuation.accessor, meta.brace, punctuation.definition, punctuation.terminator.expression, punctuation.section.array, meta.array, punctuation.separator.arguments | #c8c8c8 | — |
| keyword.operator, keyword.operator.expression, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.bitwise, keyword.operator.increment, keyword.operator.decrement, keyword.operator.ternary, keyword.other.new | #ff7878 | — |
| keyword.operator.logical, keyword.operator.comparison, keyword.operator.relational | #dc8cff | — |
| variable.language.this | #ff7878 | — |
| variable.instance, variable.other.instance, variable.readwrite.instance, variable.other.readwrite.instance | #ffb482 | — |
| entity.name.tag.custom | #dc8cff | — |
| meta.delimiter.period | #dc8cff | normal |
| meta.selector | #dc8cff | normal |
| meta.property-name | #00dcdc | — |
| keyword.control.operator | #00dcdc | — |
| support.constant, keyword.other.debugger, support.class.builtin, support.class.error | #9696ff | — |
| comment, comment.block.documentation punctuation.definition.bracket.curly | #647882 | normal |
| comment.line.double-slash, punctuation.definition.comment, punctuation.whitespace.comment, string.comment.buffered.block.pug | #647882 | — |
| comment.block.documentation entity.name.type.instance.jsdoc, comment.block.documentation entity.name.type.instance.phpdoc | #9696ff80 | — |
| comment.block.documentation variable.other.jsdoc, comment.block.documentation variable.other.phpdoc | #ffdc9680 | — |
| comment.block.documentation storage.type.class.jsdoc, comment.block.documentation punctuation.definition.block.tag.jsdoc | #00b1ff80 | — |
| source.css | #c8c8c8 | — |
| source.css variable | #86e0f4 | — |
| meta.definition.variable.scss, meta.definition.variable.sass, sass.script.maps support.type.property-name.css.sass | #ff7878 | — |
| constant.language.color.rgb-value.css.sass, constant.other.color.rgb-value.hex.css, constant.other.color.rgb-value.hex.css punctuation.definition.constant.css | #c8c8c8 | — |
| entity.other.attribute-name.id, entity.other.attribute-name.id punctuation.definition | #00b1ff | — |
| support.function.misc, entity.name.function.scss, support.function.url, source.sass support.function.name.sass.library, sass.script.maps support.function.name, meta.property-list.css entity.name.function, support.function.gradient, support.function.name.sass entity.name.function, source.sass entity.name.function, punctuation.section.function.scss | #00b1ff | — |
| entity.other.attribute-name.class.css, entity.other.inherited-class.placeholder-selector.css, entity.other.attribute-name.parent-selector-suffix.css punctuation.definition | #ffdc96 | — |
| entity.name.tag.css, meta.property-list.scss entity.name.tag.reference.scss | #ff7878 | normal |
| entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name.pseudo-element.css punctuation.definition.entity.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-class.css punctuation.definition.entity.css | #dc8cff | normal |
| support.type.property-name.css, meta.property-list.scss entity.name.tag.css, support.type.vendored.property-name.css | #00dcdc | — |
| meta.property-value.css, meta.property-value.scss, meta.property-value.sass, meta.property-value.less, support.constant.font-name.css, support.constant.font-name.scss, support.constant.font-name.sass, support.constant.font-name.less, support.constant.vendored.property-value.css, keyword.operator.gradient.css, support.constant.property-value.css, source.css meta.property-value, support.constant.color.w3c-standard-color-name.css, meta.property-value.scss support.type.property-name.css | #ffb482 | — |
| keyword.other.unit, keyword.other.unit.css, keyword.other.unit.scss, keyword.other.unit.css.sass, constant.numeric.css, punctuation.definition.constant.css, constant.numeric.css.sass, meta.property-list.media-query.scss, keyword.control.unit.css.sass | #ffb482 | — |
| support.type.vendor.property-name.media, support.constant.vendor.property-value, support.type.property-name, meta.property-name.media-query.scss support.type.property-name.css, meta.at-rule.media.header.css, meta.property-list entity.name.tag, meta.at-rule.media.header.css punctuation.definition.parameters | #9696ff | normal |
| keyword.other.important.css, keyword.other.important.scss | #ff7878 | normal |
| meta.at-rule.keyframes.body.css, source.css.scss meta.at-rule.keyframes.scss entity.other.attribute-name.scss | #dc8cff | normal |
| keyword.control.at-rule punctuation.definition, entity.name.tag.reference, meta.at-rule keyword.control punctuation.definition, entity.name.tag.custom.css, entity.name.tag.custom.scss, entity.name.tag.custom.sass, support.function.sass, keyword.control.interpolation.sass, keyword.operator.css.sass, keyword.other.reserved.sass, keyword.control.at-rule, keyword.control.at-rule.css.sass, meta.property-value.scss support.constant.mathematical-symbols.scss | #9696ff | normal |
| meta.at-rule.media.header.css support.constant.media.css, meta.at-rule.media.scss support.constant.media.css, meta.at-rule.import.css support.constant.media.css, meta.at-rule.page.css | #86e0f4 | — |
| punctuation.separator.key-value.css, punctuation.separator.key-value.scss, punctuation.separator.key-value.less, punctuation.separator.key-value.css.sass | #c8c8c8 | — |
| entity.name.tag.wildcard.css, entity.name.tag.wildcard.less, entity.name.tag.wildcard.scss, entity.name.tag.wildcard.sass | #ff50b4 | — |
| meta.attribute-selector.css punctuation.definition.entity.begin.bracket.square.css, meta.attribute-selector.css punctuation.definition.entity.end.bracket.square.css, entity.other.attribute-selector.scss, entity.other.attribute-selector.sass | #c8c8c8 | — |
| source.css.scss entity.other.attribute-name.attribute, meta.attribute-selector.scss punctuation.definition.attribute-selector.begin.bracket.square.scss, meta.attribute-selector.scss punctuation.definition.attribute-selector.end.bracket.square.scss, meta.attribute-selector.css entity.other.attribute-name, meta.attribute-selector.scss keyword.operator, meta.attribute-selector.css keyword.operator.pattern.css, meta.attribute-selector.less entity.other.attribute-name.attribute, entity.other.attribute-name.css.sass, keyword.operator.attribute-selector.css.sass, meta.attribute-selector, meta.attribute-selector.scss, meta.attribute-selector.scss punctuation.definition.string, meta.attribute-selector.css, entity.other.attribute-selector.sass, meta.attribute-selector.css punctuation.definition.entity.begin.bracket.square.css, meta.attribute-selector.css punctuation.definition.entity.end.bracket.square.css | #aae682 | — |
| source.css variable.parameter | #aae682 | — |
| support.function.interpolation.sass, punctuation.definition.interpolation.begin.bracket.curly.scss, punctuation.definition.interpolation.end.bracket.curly.scss | #ff7878 | — |
| source.ts entity.name.type.enum | #ffdc96 | — |
| source.js support.variable.property, source.ts support.variable.property | #9696ff | normal |
| source.js meta.function keyword.generator.asterisk, source.ts meta.function keyword.generator.asterisk | #00dcdc | normal |
| source.js storage.modifier, source.ts storage.modifier, source.js variable.language, source.ts variable.language | #9696ff | normal |
| source.js entity.name.label, source.ts entity.name.label, source.js punctuation.separator.label, source.ts punctuation.separator.label | #fc9ac1 | — |
| source.ts meta.decorator punctuation.decorator, source.tsx meta.decorator punctuation.decorator, source.ts meta.decorator variable.other.readwrite, source.ts meta.decorator entity.name.function, source.ts meta.decorator meta.function-call entity.name.function | #9696ff | — |
| source.ts entity.name.type, source.tsx entity.name.type, source.ts meta.type.annotation, source.tsx meta.type.annotation, source.ts meta.type.declaration, source.tsx meta.type.declaration, source.ts meta.interface, source.tsx meta.interface, source.ts meta.type.parameters variable.other.object, source.tsx meta.type.parameters variable.other.object, source.ts meta.type.parameters variable.other.property, source.tsx meta.type.parameters variable.other.property, source.ts meta.interface entity.other.inherited-class, source.tsx meta.interface entity.other.inherited-class | #86e0f4 | — |
| meta.jsx.children | #c8c8c8 | — |
| entity.name.tag, meta.tag.other.html, meta.tag.other.js, meta.tag.other.ts, meta.tag.other.tsx, entity.name.tag.js, entity.name.tag.ts, entity.name.tag.tsx, entity.name.tag, text.html.vue entity.name.tag.html invalid.illegal.unrecognized-tag.html, text.html.vue entity.name.tag.html, text.html.vue support.class.component.html, meta.tag.js, meta.tag.ts, meta.tag.tsx, meta.tag.html, meta.tag.start.svelte, meta.tag.end.svelte, meta.tag.start.svelte keyword.control.svelte, meta.tag.end.svelte keyword.control.svelte | #ff7878 | normal |
| invalid.illegal.unrecognized-tag.html entity.name.tag, meta.tag.other.unrecognized.html entity.name.tag | #c8c8c8 | normal |
| punctuation.separator.key-value.html, punctuation.definition.tag.html | #c8c8c8 | — |
| text.html | #c8c8c8 | — |
| text.html.derivative constant.character, text.html.derivative constant.character punctuation.definition | #dbd4ba | — |
| support.type.property-name.json | #ffdc96 | — |
| entity.name.function.decorator.python, entity.name.function.decorator.python punctuation.definition.decorator | #9696ff | — |
| text.html.markdown markup.heading.markdown, text.html.markdown punctuation.definition.heading | #9696ff | bold |
| text.html.markdown markup.quote.markdown | #aae682 | normal |
| text.html.markdown markup.underline.link.markdown, text.html.markdown markup.underline.link.image.markdown | #86e0f4 | — |
| text.html.markdown string.other.link.title.markdown, text.html.markdown string.other.link.description.markdown | #00b1ff | — |
| text.html.markdown punctuation.definition.list.begin.markdown | #ffdc96 | — |
| text.html.markdown punctuation.definition.table.markdown, text.html.markdown punctuation.separator.table.markdown | #dc8cff | — |
| text.html.markdown meta.separator.markdown | #ffb482 | — |
| text.html.markdown punctuation.definition.italic.markdown, text.html.markdown punctuation.definition.bold.markdown, text.html.markdown punctuation.definition.strikethrough.markdown | #86e0f4 | — |
| text.html.markdown fenced_code.block.language.markdown, text.html.markdown markup.fenced_code.block.markdown punctuation.definition.markdown, text.html.markdown markup.inline.raw.string.markdown, text.html.markdown markup.inline.raw.string.markdown punctuation.definition.raw.markdown, text.html.markdown punctuation.definition.math | #dbd4ba | — |
| source.go keyword | #00b1ff | normal |
| source.go constant.language.go, source.go constant.other.placeholder.go | #ff7878 | — |
| support.function.go | #00dcdc | — |
| meta.embedded.sql | #c8c8c8 | — |
| entity.name.type.go | #ffdc96 | — |
| source.go storage.type | #9696ff | — |
| source.go entity.name.type.package | #ffdc96 | — |
| meta.use.rust, meta.function.definition.rust, keyword.other.rust | #9696ff | — |
| keyword.other.fn.rust | #00b1ff | — |
| entity.name.namespace.rust | #dc8cff | — |
| punctuation.definition.attribute.rust, punctuation.brackets.attribute.rust | #ff7878 | — |
| entity.name.type.rust, entity.name.type.struct.rust | #86e0f4 | — |
| entity.name.type.struct.rust | #ffb482 | — |
| entity.name.type.enum.php | #ffdc96 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #ff7878 | — |
| keyword.other.namespace.php, keyword.other.use.php, keyword.other.use-as.php, storage.modifier.php, keyword.other.type.php | #9696ff | — |
| meta.use.php, meta.use.php punctuation.separator.inheritance.php, entity.name.type.namespace.php, entity.name.type.namespace.php punctuation.separator.inheritance.php | #ffb482 | — |
| meta.function-call.php punctuation | #c8c8c8 | normal |
| support.function.construct.output.php | #dc8cff | — |
| entity.name.type.interface.php, entity.name.type.trait.php | #86e0f4 | — |
| source.sql meta.create.sql, source.sql keyword.other.insert.sql, source.sql meta.create.from.sql | #ff7878 | — |
| source.sql keyword.other.DDL.sql, source.sql keyword.other.select.sql, source.sql keyword.other.select.set_op.sql | #9696ff | — |
| source.sql keyword.other.select.join.sql, source.sql keyword.other.DML.sql, source.sql keyword.other.alias.sql, source.sql keyword.other.sql, source.sql keyword.other.DDL.create.II.sql, source.sql keyword.other.authorization.sql, source.sql keyword.other.LUW.sql, source.sql keyword.other.create | #dc8cff | — |
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}!`;
}