ThemeO
Publisher: th7moThemes in package: 1
A UI theme for VSCode based on the new dark theme of intellij
A UI theme for VSCode based on the new dark theme of intellij
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 markup.link, markup.quote.markdown, comment, punctuation.definition.comment, comment.block.javadoc.java, comment.line.double-slash.java, comment.line.double-slash.rust, comment.line.documentation.rust | #5d5f63 | — |
| keyword.other.important.css, keyword.other.important.scss | #FA5762 | — |
| keyword.operator.namespace.rust, keyword.operator.access.dot.rust, keyword.operator.key-value.rust, keyword.operator.type.annotation.tsx, keyword.operator.comparison.ts, punctuation.bracket.square.java, punctuation.section.embedded, variable.interpolation, source.json meta.structure.dictionary.json > string.quoted.json, source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string, support.type.property-name.json punctuation, support.other.namespace.use.php,support.other.namespace.use-as.php,support.other.namespace.php,entity.other.alias.php,meta.interface.php, storage.type.php,meta.other.type.phpdoc.php,keyword.other.type.php,keyword.other.array.phpdoc.php, keyword.operator.comparison.php, selector.sass, storage.type.cs, entity.name.variable.local.cs, support.type.primitive, punctuation.definition.metadata.markdown, beginning.punctuation.definition.list.markdown, variable.parameter.function.js, meta.property.object, keyword.operator.assignment.go, keyword.operator.assignment, constant.character.entity, entity.name.package.go, meta.scope.prerequisites.makefile, source.makefile, keyword.operator.bitwise, storage.modifier.import.groovy, meta.definition.variable.name.groovy, support.variable.semantic.hlsl, text.variable, text.bracketed, support.type.swift, support.type.vb.asp, entity.name.label.cs, entity.name.scope-resolution.function.call, entity.name.scope-resolution.function.definition, entity.name.label.cs, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown, meta.arguments.coffee, variable.parameter.function.coffee, entity.global.clojure, meta.symbol.clojure, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown, punctuation.definition.list.markdown, punctuation.definition.list.begin.markdown, entity.name.section.markdown, punctuation.definition.bold, keyword.other.unit, markup.heading, constant.language.import-export-all.js, entity.other.inherited-class, token.storage.type.java, storage, entity.name.type, variable.other.class.php, entity.name.class, variable.other.class.js, variable.other.class.ts, entity.name.type.namespace, support.class, entity.name.type.class, entity.name.class.identifier.namespace.type, import.storage.java, variable.language, variable, entity.name.namespace, keyword.operator.assignment.c,keyword.operator.comparison.c,keyword.operator.c,keyword.operator.increment.c,keyword.operator.decrement.c,keyword.operator.bitwise.shift.c,keyword.operator.assignment.cpp,keyword.operator.comparison.cpp,keyword.operator.cpp,keyword.operator.increment.cpp,keyword.operator.decrement.cpp,keyword.operator.bitwise.shift.cpp, keyword.operator.arithmetic,keyword.operator.comparison,keyword.operator.decrement,keyword.operator.increment,keyword.operator.relational, support.variable.dom,support.variable.property.dom, support.type.object.console, support.module.node,support.type.object.module,support.module.node, entity.name.type.module, variable.other.readwrite,meta.object-literal.key,support.variable.property,support.variable.object.process,support.variable.object.node, storage.modifier.import.java,storage.type.generic.java, meta.definition.variable.name.java, punctuation.separator.java, source.java, keyword.operator.assignment.java, keyword.operator.arithmetic.java, keyword.operator.comparison.java, variable.other.constant, support.constant.math, meta.function.c,meta.function.cpp, markup.deleted.diff, markup.changed.diff, entity.name.lifetime.rust, variable.language.rust, constant.other.character-class.regexp, support.variable.magic.python, punctuation.definition.delayed.unison,punctuation.definition.list.begin.unison,punctuation.definition.list.end.unison,punctuation.definition.ability.begin.unison,punctuation.definition.ability.end.unison,punctuation.operator.assignment.as.unison,punctuation.separator.pipe.unison,punctuation.separator.delimiter.unison,punctuation.definition.hash.unison, keyword.operator.assignment.python, keyword.operator.assignment.js, entity.name.function.operator.member.cpp, meta.method.java, keyword.operator.arithmetic.ts, keyword.operator.type.annotation.ts | #CED0D6 | |
| punctuation.section.embedded.begin,punctuation.section.embedded.end, source.json meta.structure.dictionary.json > constant.language.json,source.json meta.structure.array.json > constant.language.json, text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade, text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade, keyword.operator.error-control.php, keyword.operator.type.php, keyword.operator.regexp.php, keyword.operator.heredoc.php,keyword.operator.nowdoc.php, constant.language.symbol.ruby, rgb-value, token.debug-token, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded, keyword.operator.module, support.type.prelude.elm, punctuation.quasi.element, entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class, constant.keyword.clojure, support.type.texture.hlsl, support.type.sampler.hlsl, support.type.object.hlsl, support.type.object.rw.hlsl, support.type.fx.hlsl, support.type.object.hlsl, constant.language.symbol.elixir, support.type.primitive.ts,support.type.builtin.ts,support.type.primitive.tsx,support.type.builtin.tsx, string.regexp, markup.underline.link.markdown,markup.underline.link.image.markdown, emphasis md, markup.italic, punctuation.definition.italic,todo.emphasis, meta.selector, entity.other.attribute-name.attribute.scss, entity.name.tag, constant, constant.other.symbol, support.function, keyword.operator.expression.delete,keyword.operator.expression.in,keyword.operator.expression.of,keyword.operator.expression.instanceof,keyword.operator.new,keyword.operator.expression.typeof,keyword.operator.expression.void, token.storage, token.package.keyword, support.type.posix-reserved.c,support.type.posix-reserved.cpp, punctuation.separator.c,punctuation.separator.cpp, support.type.object.dom, keyword.operator.delete, keyword.operator.sigil.rust, keyword.operator.expression.instanceof, keyword.operator.expression.keyof, support.type.vendored.property-name.css, keyword.operator.css,keyword.operator.scss,keyword.operator.less, keyword.operator.channel, keyword.operator.instanceof.java, support.constant.edge, variable.other.generic-type.haskell, support.token.decorator.python,meta.function.decorator.identifier.python, keyword.control.import.ts, keyword.control.from.ts, storage.type.ts, variable.language.this.java, variable.language.this.ts, keyword.operator.logical.java, keyword.control.ternary.java, keyword.operator.logical.ts, keyword.other.import.java, keyword.other.package.java, keyword, keyword.var.go, storage.type.ts, storage.type.class.ts, keyword.control.default.ts, storage.type.interface.ts, entity.other.attribute-name.class.css, storage.type.tsx, storage.type.interface.tsx, storage.type.tsx, storage.type.jsx, storage.type.interface.jsx, storage.type.jsx, meta.object-literal.key.tsx, meta.object-literal.key.jsx, storage.type.function.tsx, storage.type.function.jsx, storage.modifier.async.tsx, storage.modifier.async.jsx, entity.other.attribute-name.tsx | #749ded | |
| support.function.builtin, storage.type.class.js, storage.type.js, constant.character.escape, storage.type.function.python, storage.modifier.java, keyword.operator.new.js, storage.type.function.js, keyword.other.kotlin, keyword.function.go, keyword.operator.sizeof.c,keyword.operator.sizeof.cpp, keyword.control.loop.js, keyword.control.flow.python, keyword.control.c, keyword.control.java, keyword.operator.new.ts, keyword.other.using.directive.cpp, keyword.control.directive.include.cpp, keyword.control, variable.parameter.function.language.special.self.python, keyword.operator.optional.ts, variable.language.special.self.python, keyword.other.rust, keyword.other.crate.rust, keyword.other.fn.rust, variable.language.self.rust, storage.modifier.mut.rust, keyword.other.declaration-specifier.swift, storage.type.class.swift, storage.type.struct.cpp, punctuation.definition.heading.markdown, markup.bold.markdown, punctuation.definition.bold.markdown, storage.type.function.ts, storage.modifier.async.ts, storage.type.rust | #749ded | |
| storage.type.java, entity.name.type.class.java, constant.language.java, storage.type.built-in.primitive.c, constant.language.c, storage.type.primitive.java, storage.type.built-in.primitive.cpp, entity.name.type, constant.language.null.js, constant.language.null.ts, constant.language.undefined.ts, constant.language.boolean.false.ts, constant.language.boolean.true.ts, constant.language.boolean.false.js, constant.language.boolean.true.ts, constant.language.python, entity.name.type.interface.ts, support.type.primitive, constant.language.bool.rust, support.type.swift, support.type.primitive.ts,support.type.builtin.ts,support.type.primitive.tsx,support.type.builtin.tsx, constant.language.boolean.true.js, constant.language.boolean.false.js, constant.language.boolean.true.ts, constant.language.boolean.false.ts, constant.numeric, entity.other.attribute-name.class.css, constant.language.json | #91A7BF | |
| support.function.builtin, support.function.builtin.python, support.function.builtin.go, support.type.python, support.function.magic.python, entity.name.function, meta.require, support.function.any-method, variable.function, keyword.other.special-method, meta.function.decorator.python, entity.name.goto-label.php,support.other.php, meta.function-call.php,meta.function-call.object.php,meta.function-call.static.php, meta.method.groovy, punctuation.definition.annotation.java, meta.function-call.generic.python, support.function.std.rust, storage.type.annotation.java, storage.type.object.array.java, entity.name.function,support.function.console, support.type.type.flowtype, token.info-token | #debc7e | |
| entity.other.attribute-name.html.vue, entity.other.attribute-name.html, punctuation.support.type.property-name.end.json.comments, punctuation.support.type.property-name.begin.json.comments, punctuation.support.type.property-name.begin.json, punctuation.support.type.property-name.end.json, support.type.property-name.json, variable.other.constant, variable.other.constant.property, variable.other.object.property.ts, variable.other.property.ts, meta.attribute-selector.css, meta.attribute-selector.scss, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name.css, entity.other.attribute-name.scss, meta.object-literal.key.js, variable.object.property.ts, meta.object-literal.key.ts, support.type.property-name.css, entity.other.attribute-name.js | #B1D0D4 | |
| string, keyword.other.unit.px.css, punctuation.definition.string.begin,punctuation.definition.string.end, markup.inserted.diff, markup.inline.raw.markdown, markup.inline.raw.string.markdown, source.json meta.structure.dictionary.json > value.json > string.quoted.json,source.json meta.structure.array.json > value.json > string.quoted.json,source.json meta.structure.dictionary.json > value.json > string.quoted.json > punctuation,source.json meta.structure.array.json > value.json > string.quoted.json > punctuation, keyword.other.template.begin, keyword.other.template.end, keyword.other.substitution.begin, keyword.other.substitution.end, source.ini, meta.definition.class.inherited.classes.groovy, keyword.other.unit | #7ec482 | |
| token.error-token | #f44747 | — |
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}!`;
}