Coolest Dark
Publisher: Mutombo Jean-VincentThemes in package: 1
The coolest dark theme for Dart and Flutter based on One Dark Pro and Bear Theme
The coolest dark theme for Dart and Flutter based on One Dark Pro and Bear Theme
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 |
|---|---|---|
| emphasis | — | italic |
| strong | — | bold |
| header | #000080 | — |
| comment | #707C74 | italic |
| constant.language | #40c4ff | — |
| constant.numeric | #986DB2 | — |
| constant.regexp | #646695 | — |
| entity.name.tag | #E03C8A | — |
| entity.name.tag.css | #E03C8A | — |
| entity.other.attribute-name | #E6844F | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss | #E03C8A | — |
| entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name.pseudo-class.css | #6796e6 | — |
| invalid | #f44747 | — |
| markup.underline | — | underline |
| markup.bold | #40c4ff | bold |
| markup.heading | #E03C8A | bold |
| markup.italic | — | italic |
| markup.inserted | #b5cea8 | — |
| markup.deleted | #ce9178 | — |
| markup.changed | #40c4ff | — |
| beginning.punctuation.definition.quote.markdown | #608b4e | — |
| beginning.punctuation.definition.list.markdown | #6796e6 | — |
| markup.inline.raw | #E6844F | — |
| meta.selector | #d7ba7d | — |
| punctuation.definition.tag | #808080 | — |
| meta.preprocessor | #40c4ff | — |
| meta.preprocessor.string | #ce9178 | — |
| meta.preprocessor.numeric | #b5cea8 | — |
| meta.diff.header | #40c4ff | — |
| storage | #40c4ff | — |
| storage.type | #E03C8A | — |
| storage.modifier | #00aeff | — |
| string | #66A866 | — |
| string.tag | #ce9178 | — |
| string.value | #ce9178 | — |
| string.regexp | #d16969 | — |
| punctuation.definition.template-expression.begin.js, punctuation.definition.template-expression.begin.ts, punctuation.definition.template-expression.end.ts, punctuation.definition.template-expression.end.js | #40c4ff | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less | #E6844F | — |
| keyword | #E03C8A | — |
| keyword.operator | #B9B3B3 | — |
| keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof | #40c4ff | — |
| keyword.other.unit | #E03C8A | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #40c4ff | — |
| support.function.git-rebase | #9cdcfe | — |
| constant.sha.git-rebase | #b5cea8 | — |
| keyword.other.import.dart | #ff4081 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #d4d4d4 | — |
| variable.language | #E03C8A | italic |
| entity.name.function, support.function, support.constant.handlebars | #ce7dfd | — |
| meta.return-type, support.type, entity.name.type, entity.name.class, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy | #40c4ff | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class | #4EC9B0 | — |
| keyword.control | #40c4ff | |
| keyword.control.import | #ff4081 | |
| keyword.operator.assignment | #bcb28d | — |
| meta.definition.variable.name, support.variable | #bcb28d | — |
| meta.object-literal.key, meta.object-literal.key entity.name.function | #E6844F | — |
| entity.other.attribute-name, meta.tag.attributes | #fb8c00 | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #bcb28d | — |
| variable, entity.name.type, entity.other.inherited-class, keyword.operator, keyword.operator.arithmetic | #E6844F | — |
| support.class.dart | #ec6c45 | — |
| keyword.declaration.dart | #ff2b72 | italic bold |
| string, string.regexp, keyword.operator | #66A866 | — |
| keyword.control | #40c4ff | — |
| entity.name.type.module.js, entity.name.type.module.js.jsx, entity.other.inherited-class.js, entity.other.inherited-class.js.jsx | — | italic |
| keyword.operator.new | #49f59f | italic |
| constant.numeric | #DDA52D | — |
| markup.underline.link.markdown | #40c4ff | — |
| meta.separator.markdown, punctuation.definition.list.begin.markdown | #DDA52D | — |
| keyword.operator.accessor.js, keyword.operator.assignment.js | #bcb28d | — |
| meta.function-call.generic.python, meta.function-call.python, keyword.operator.logical.python, constant.other.caps.python, entity.other.inherited-class.python | #40c4ff | — |
| meta.function-call.arguments.python, meta.item-access.python, punctuation.definition.decorator.python, variable.language.special.self.python | #E6844F | — |
| storage.type.function.python, storage.type.class.python, keyword.control.flow.python | #E03C8A | — |
| storage.type.annotation.dart | #00e676 | italic |
| punctuation.separator.arguments.python, punctuation.separator.element.python, punctuation.separator.period.python, keyword.operator.assignment.python, keyword.operator.python, meta.attribute.python | #bcb28d | — |
| meta.structure.dictionary.key.python | #9cdcfe | — |
| string.quoted.docstring.multi.python | #707C74 | — |
| punctuation.definition.string.begin.python, punctuation.definition.string.end.python | #66A866 | — |
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}!`;
}