Night Owl Oled Dim
Publisher: Weiyu WangThemes in package: 6
Night Owl Oled Dim 75/80/85/90/95
Night Owl Oled Dim 75/80/85/90/95
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 |
|---|---|---|
| markup.changed, meta.diff.header.git, meta.diff.header.from-file, meta.diff.header.to-file | #798fbdff | italic |
| markup.deleted.diff | #b33ebf90 | italic |
| markup.inserted.diff | #93abbfff | italic |
| Global settings | #a0a6b0ff | — |
| comment | #4a5959ff | italic |
| string | #b19369ff | — |
| string.quoted, variable.other.readwrite.js | #b19369ff | — |
| support.constant.math | #93ab5aff | — |
| constant.numeric, constant.character.numeric | #b96951ff | |
| constant.language, punctuation.definition.constant, variable.other.constant | #617fbfff | — |
| constant.character, constant.other | #617fbfff | — |
| constant.character.escape | #b96951ff | — |
| string.regexp, string.regexp keyword.other | #457dabff | — |
| meta.function punctuation.separator.comma | #475e71ff | — |
| variable | #93ab5aff | — |
| punctuation.accessor, keyword | #956dafff | italic |
| storage, meta.var.expr, meta.class meta.method.declaration meta.var.expr storage.type.js, storage.type.property.js, storage.type.property.ts, storage.type.property.tsx | #956dafff | italic |
| storage.type | #956dafff | — |
| storage.type.function.arrow.js | — | |
| entity.name.class, meta.class entity.name.type.class | #bf9868ff | — |
| entity.other.inherited-class | #93ab5aff | — |
| entity.name.function | #956dafff | italic |
| punctuation.definition.tag, meta.tag | #5fa497ff | — |
| entity.name.tag, meta.tag.other.html, meta.tag.other.js, meta.tag.other.tsx, entity.name.tag.tsx, entity.name.tag.js, entity.name.tag, meta.tag.js, meta.tag.tsx, meta.tag.html | #97b1acff | |
| entity.other.attribute-name | #93ab5aff | italic |
| entity.name.tag.custom | #b96951ff | — |
| support.function, support.constant | #617fbfff | — |
| support.constant.meta.property-value | #5fa497ff | — |
| support.type, support.class | #93ab5aff | — |
| support.variable.dom | #93ab5aff | — |
| invalid | #bfbfbfff | — |
| invalid.deprecated | #bfbfbfff | — |
| keyword.operator | #5fa497ff | |
| keyword.operator.relational | #956dafff | italic |
| keyword.operator.assignment | #956dafff | — |
| keyword.operator.arithmetic | #956dafff | — |
| keyword.operator.bitwise | #956dafff | — |
| keyword.operator.increment | #956dafff | — |
| keyword.operator.ternary | #956dafff | — |
| comment.line.double-slash | #4a5959ff | — |
| object | #99b0b9ff | — |
| constant.language.null | #bf4257ff | — |
| meta.brace | #a0a6b0ff | — |
| meta.delimiter.period | #956dafff | italic |
| punctuation.definition.string | #a2b7a5ff | — |
| punctuation.definition.string.begin.markdown | #bf4257ff | — |
| constant.language.boolean | #bf4257ff | — |
| object.comma | #bfbfbfff | — |
| variable.parameter.function | #5fa497ff | |
| support.type.vendor.property-name, support.constant.vendor.property-value, support.type.property-name, meta.property-list entity.name.tag | #609893ff | |
| meta.property-list entity.name.tag.reference | #41afb4ff | — |
| constant.other.color.rgb-value punctuation.definition.constant | #b96951ff | — |
| constant.other.color | #bfb06fff | — |
| keyword.other.unit | #bfb06fff | — |
| meta.selector | #956dafff | italic |
| entity.other.attribute-name.id | #bb9f24ff | — |
| meta.property-name | #609893ff | — |
| entity.name.tag.doctype, meta.tag.sgml.doctype | #956dafff | italic |
| punctuation.definition.parameters | #a2b7a5ff | — |
| keyword.control.operator | #5fa497ff | — |
| keyword.operator.logical | #956dafff | |
| variable.instance, variable.other.instance, variable.readwrite.instance, variable.other.readwrite.instance, variable.other.property | #8bb0a9ff | — |
| variable.other.object.property | #bbb677ff | italic |
| variable.other.object.js | — | |
| entity.name.function | #617fbfff | italic |
| keyword.operator.comparison, keyword.control.flow.js, keyword.control.flow.ts, keyword.control.flow.tsx, keyword.control.ruby, keyword.control.module.ruby, keyword.control.class.ruby, keyword.control.def.ruby, keyword.control.loop.js, keyword.control.loop.ts, keyword.control.import.js, keyword.control.import.ts, keyword.control.import.tsx, keyword.control.from.js, keyword.control.from.ts, keyword.control.from.tsx, keyword.operator.instanceof.js, keyword.operator.expression.instanceof.ts, keyword.operator.expression.instanceof.tsx | #956dafff | italic |
| keyword.control.conditional.js, keyword.control.conditional.ts, keyword.control.switch.js, keyword.control.switch.ts | #956dafff | |
| support.constant, keyword.other.special-method, keyword.other.new, keyword.other.debugger, keyword.control | #5fa497ff | — |
| support.function | #93ab5aff | — |
| invalid.broken | #010a0fff | — |
| invalid.unimplemented | #bfbfbfff | — |
| invalid.illegal | #bfbfbfff | — |
| variable.language | #5fa497ff | — |
| support.variable.property | #5fa497ff | — |
| variable.function | #617fbfff | — |
| variable.interpolation | #b1474dff | — |
| meta.function-call | #617fbfff | — |
| punctuation.section.embedded | #9e312eff | — |
| punctuation.terminator.expression, punctuation.definition.arguments, punctuation.definition.array, punctuation.section.array, meta.array | #a0a6b0ff | — |
| punctuation.definition.list.begin, punctuation.definition.list.end, punctuation.separator.arguments, punctuation.definition.list | #a2b7a5ff | — |
| string.template meta.template.expression | #9e312eff | — |
| string.template punctuation.definition.string | #a0a6b0ff | — |
| italic | #956dafff | italic |
| bold | #93ab5aff | bold |
| quote | #4e5472ff | italic |
| raw | #609893ff | — |
| variable.assignment.coffee | #24a8b0ff | — |
| variable.parameter.function.coffee | #a0a6b0ff | — |
| variable.assignment.coffee | #5fa497ff | — |
| variable.other.readwrite.cs | #a0a6b0ff | — |
| entity.name.type.class.cs, storage.type.cs | #bf9868ff | — |
| entity.name.type.namespace.cs | #8599a0ff | — |
| string.unquoted.preprocessor.message.cs | #a0a6b0ff | — |
| punctuation.separator.hash.cs, keyword.preprocessor.region.cs, keyword.preprocessor.endregion.cs | #bf9868ff | bold |
| variable.other.object.cs | #8599a0ff | — |
| entity.name.type.enum.cs | #93ab5aff | — |
| string.interpolated.single.dart, string.interpolated.double.dart | #bf9868ff | — |
| support.class.dart | #bf9868ff | — |
| entity.name.tag.css, entity.name.tag.less, entity.name.tag.custom.css, support.constant.property-value.css | #bf4a4aff | |
| entity.name.tag.wildcard.css, entity.name.tag.wildcard.less, entity.name.tag.wildcard.scss, entity.name.tag.wildcard.sass | #5fa497ff | — |
| keyword.other.unit.css | #bfb06fff | — |
| meta.attribute-selector.css entity.other.attribute-name.attribute, variable.other.readwrite.js | #b96951ff | — |
| source.elixir support.type.elixir, source.elixir meta.module.elixir entity.name.class.elixir | #617fbfff | — |
| source.elixir entity.name.function | #93ab5aff | — |
| source.elixir constant.other.symbol.elixir, source.elixir constant.other.keywords.elixir | #617fbfff | — |
| source.elixir punctuation.definition.string | #93ab5aff | — |
| source.elixir variable.other.readwrite.module.elixir, source.elixir variable.other.readwrite.module.elixir punctuation.definition.variable.elixir | #93ab5aff | — |
| source.elixir .punctuation.binary.elixir | #956dafff | italic |
| constant.keyword.clojure | #5fa497ff | — |
| source.go meta.function-call.go | #a5a5a5ff | — |
| source.go keyword.package.go, source.go keyword.import.go, source.go keyword.function.go, source.go keyword.type.go, source.go keyword.struct.go, source.go keyword.interface.go, source.go keyword.const.go, source.go keyword.var.go, source.go keyword.map.go, source.go keyword.channel.go, source.go keyword.control.go | #956dafff | italic |
| source.go constant.language.go, source.go constant.other.placeholder.go | #bf4257ff | — |
| entity.name.function.preprocessor.cpp, entity.scope.name.cpp | #5fa4bfff | — |
| meta.namespace-block.cpp | #a8a694ff | — |
| storage.type.language.primitive.cpp | #bf4257ff | — |
| meta.preprocessor.macro.cpp | #a0a6b0ff | — |
| variable.parameter | #bf9868ff | — |
| variable.other.readwrite.powershell | #617fbfff | — |
| support.function.powershell | #5fa4bfff | — |
| entity.other.attribute-name.id.html | #93ab5aff | — |
| punctuation.definition.tag.html | #4faeb4ff | — |
| meta.tag.sgml.doctype.html | #956dafff | italic |
| meta.class entity.name.type.class.js | #bf9868ff | — |
| meta.method.declaration storage.type.js | #617fbfff | — |
| terminator.js | #a0a6b0ff | — |
| meta.js punctuation.definition.js | #a0a6b0ff | — |
| entity.name.type.instance.jsdoc, entity.name.type.instance.phpdoc | #475e71ff | — |
| variable.other.jsdoc, variable.other.phpdoc | #5a99b4ff | — |
| variable.other.meta.import.js, meta.import.js variable.other, variable.other.meta.export.js, meta.export.js variable.other | #a0a6b0ff | — |
| variable.parameter.function.js | #5a64adff | — |
| variable.other.object.js, variable.other.object.jsx, variable.object.property.js, variable.object.property.jsx | #a0a6b0ff | — |
| variable.js, variable.other.js | #a0a6b0ff | — |
| entity.name.type.js, entity.name.type.module.js | #bf9868ff | |
| support.class.js | #a0a6b0ff | — |
| support.type.property-name.json | #5fa497ff | — |
| support.constant.json | #93ab5aff | — |
| meta.structure.dictionary.value.json string.quoted.double | #9566a0ff | — |
| string.quoted.double.json punctuation.definition.string.json | #609893ff | — |
| meta.structure.dictionary.json meta.structure.dictionary.value constant.language | #bf4257ff | — |
| variable.other.object.js | #5fa497ff | italic |
| variable.other.ruby | #a0a6b0ff | — |
| entity.name.type.class.ruby | #b19369ff | — |
| constant.language.symbol.hashkey.ruby | #5fa497ff | — |
| constant.language.symbol.ruby | #5fa497ff | — |
| entity.name.tag.less | #5fa497ff | — |
| keyword.other.unit.css | #bfb06fff | — |
| meta.attribute-selector.less entity.other.attribute-name.attribute | #b96951ff | — |
| markup.heading.markdown, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #6184bfff | — |
| markup.italic.markdown | #956dafff | italic |
| markup.bold.markdown | #93ab5aff | bold |
| markup.quote.markdown | #4e5472ff | italic |
| markup.inline.raw.markdown | #609893ff | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown | #bf6473ff | — |
| string.other.link.title.markdown, string.other.link.description.markdown | #a0a6b0ff | — |
| punctuation.definition.string.markdown, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, meta.link.inline.markdown punctuation.definition.string | #6184bfff | — |
| punctuation.definition.metadata.markdown | #5fa497ff | — |
| beginning.punctuation.definition.list.markdown | #6184bfff | — |
| markup.inline.raw.string.markdown | #93ab5aff | — |
| variable.other.php, variable.other.property.php | #8e939fff | — |
| support.class.php | #bf9868ff | — |
| meta.function-call.php punctuation | #a0a6b0ff | — |
| variable.other.global.php | #93ab5aff | — |
| variable.other.global.php punctuation.definition.variable | #93ab5aff | — |
| constant.language.python | #bf4257ff | — |
| variable.parameter.function.python, meta.function-call.arguments.python | #617fbfff | — |
| meta.function-call.python, meta.function-call.generic.python | #8599a0ff | — |
| punctuation.python | #a0a6b0ff | — |
| entity.name.function.decorator.python | #93ab5aff | — |
| source.python variable.language.special | #6a81aaff | — |
| keyword.control | #956dafff | italic |
| variable.scss, variable.sass, variable.parameter.url.scss, variable.parameter.url.sass | #93ab5aff | — |
| source.css.scss meta.at-rule variable, source.css.sass meta.at-rule variable | #617fbfff | — |
| source.css.scss meta.at-rule variable, source.css.sass meta.at-rule variable | #8e939fff | — |
| meta.attribute-selector.scss entity.other.attribute-name.attribute, meta.attribute-selector.sass entity.other.attribute-name.attribute | #b96951ff | — |
| entity.name.tag.scss, entity.name.tag.sass | #5fa497ff | — |
| keyword.other.unit.scss, keyword.other.unit.sass | #bfb06fff | — |
| variable.other.readwrite.alias.ts, variable.other.readwrite.alias.tsx, variable.other.readwrite.ts, variable.other.readwrite.tsx, variable.other.object.ts, variable.other.object.tsx, variable.object.property.ts, variable.object.property.tsx, variable.other.ts, variable.other.tsx, variable.tsx, variable.ts | #a0a6b0ff | — |
| entity.name.type.ts, entity.name.type.tsx | #bf9868ff | — |
| support.class.node.ts, support.class.node.tsx | #617fbfff | — |
| meta.type.parameters.ts entity.name.type, meta.type.parameters.tsx entity.name.type | #475e71ff | — |
| meta.import.ts punctuation.definition.block, meta.import.tsx punctuation.definition.block, meta.export.ts punctuation.definition.block, meta.export.tsx punctuation.definition.block | #a0a6b0ff | — |
| meta.decorator punctuation.decorator.ts, meta.decorator punctuation.decorator.tsx | #617fbfff | — |
| meta.tag.js meta.jsx.children.tsx | #617fbfff | — |
| entity.name.tag.yaml | #5fa497ff | — |
| variable.other.readwrite.js, variable.parameter | #a1a4a8ff | — |
| support.class.component.js, support.class.component.tsx | #b96951ff | |
| meta.jsx.children, meta.jsx.children.js, meta.jsx.children.tsx | #a0a6b0ff | — |
| meta.class entity.name.type.class.tsx | #bf9868ff | — |
| entity.name.type.tsx, entity.name.type.module.tsx | #bf9868ff | — |
| meta.class.ts meta.var.expr.ts storage.type.ts, meta.class.tsx meta.var.expr.tsx storage.type.tsx | #956dafff | — |
| meta.method.declaration storage.type.ts, meta.method.declaration storage.type.tsx | #617fbfff | — |
| meta.property-list.css meta.property-value.css variable.other.less, meta.property-list.scss variable.scss, meta.property-list.sass variable.sass, 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.definintion.string, punctuation, variable.other.readwrite.js, storage.type, source.css, string.quoted | — |
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}!`;
}