Solarized Dark Vim
Publisher: hkmixThemes in package: 1
A more accurate, minimal Solarized Dark theme designed to look like it does in vim.
A more accurate, minimal Solarized Dark theme designed to look like it does in vim.
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 entity.name.tag, comment keyword.other, comment punctuation.definition.string, comment string, comment, fenced_code.block.language, keyword.other.documentation.javadoc, keyword.other.phpdoc, markup.inline.raw, markup.raw, punctuation.definition.comment, punctuation.definition.markdown, punctuation.definition.raw, storage.type.class.jsdoc | #586e75 | — |
| invalid, invalid.illegal | #dc322f | — |
| keyword.operator.borrow.and.rust, keyword.operator.sigil, keyword.type.cs, markup.heading, punctuation.definition.heading, source.gdscript entity.other.inherited-class, source.gdscript support.class.library, source.go storage.type, storage.modifier, storage.type.built-in, storage.type.core, storage.type.primitive, support.function.be.latex, support.type.built-in, support.type.primitive, text.tex support.function.section | #b58900 | — |
| entity.name.tag, keyword.control, keyword.language, keyword.operator.cast, keyword.operator.delete, keyword.operator.expansion, keyword.operator.expression, keyword.operator.logical.python, keyword.operator.new, keyword.operator.question.rust, keyword.operator.sizeof, keyword.operator.wordlike, keyword.other, source.cmake keyword, source.go keyword, source.lua storage.modifier, source.php storage.modifier, source.shell support.function.builtin, storage.modifier.visibility, storage.type, support.function.verb.latex, text.tex support.function, variable.language | #859900 | — |
| constant.language.import-export-all, keyword.operator, meta.embedded.line, punctuation.definition.variable.php, source, source.ini keyword.other.definition, source.java storage.modifier.import, source.java storage.modifier.package, source.java storage.type.generic, source.java storage.type.object.array, source.python variable.language.special, source.yaml string, storage.modifier.pointer, storage.modifier.reference, storage.type.cs, storage.type.function.arrow, storage.type.java, support.constant.core.rust, support.type.property-name, text, variable.language.rust, variable.language.self, variable.language.this, variable.language.wildcard | #839496 | — |
| constant.character, constant.escape, constant.language, constant.numeric, keyword.other.unit, punctuation.definition.string, punctuation.quoted.docstring, storage.type.string, string, string.quoted, support.constant, text.tex support.class.math | #2aa198 | — |
| entity.name.function.decorator, meta.function.decorator.python, punctuation.definition.annotation, punctuation.definition.decorator, punctuation.definition.list.begin.markdown, punctuation.definition.quote.begin, punctuation.definition.template-expression, storage.type.annotation, support.type.builtin, support.type.sys-types, support.variable.property, text.tex keyword.control.table, variable.language.special | #268bd2 | — |
| constant.character.entity, constant.character.escape, constant.character.format.placeholder.other, entity.name.function.preprocessor, entity.name.section.group-title, keyword.control.directive, meta.attribute, meta.preprocessor.conditional, meta.preprocessor.cs, meta.preprocessor.pragma, punctuation.definition.directive, punctuation.definition.entity, punctuation.definition.variable, punctuation.separator.continuation, source.c constant.other.placeholder, source.rust support.function.std, storage.modifier.lifetime, string.regexp.quoted.single, support.function.core.rust, variable.other.bracket, variable.other.normal, variable.other.positional, variable.other.special | #cb4b16 | — |
| keyword.other.documentation.javadoc, markup.bold | — | bold |
| markup.italic | — | italic |
| token.info-token | #268bd2 | — |
| token.warn-token | #b58900 | — |
| token.error-token | #dc322f | — |
| token.debug-token | #6c71c4 | — |
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}!`;
}