Dartpad Colorful
Publisher: Arddy CodeThemes in package: 1
Awesome dartpad theme a combination of dartpad, gogh, onedarkpro, and palenight
Awesome dartpad theme a combination of dartpad, gogh, onedarkpro, and palenight
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 |
|---|---|---|
| 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 | #FF5A77 | — |
| variable.other.generic-type.haskell | #C186E8 | — |
| storage.type.haskell | #F48748 | — |
| support.variable.magic.python | #FF5A77 | — |
| punctuation.separator.period.python,punctuation.separator.element.python,punctuation.parenthesis.begin.python,punctuation.parenthesis.end.python | #EFEDEE | — |
| variable.parameter.function.language.special.self.python | #FFCB6B | — |
| storage.modifier.lifetime.rust | #EFEDEE | — |
| support.function.std.rust | #69ADEC | — |
| entity.name.lifetime.rust | #FFCB6B | — |
| variable.language.rust | #FF5A77 | — |
| support.constant.edge | #C186E8 | — |
| constant.other.character-class.regexp | #FF5A77 | — |
| keyword.operator.quantifier.regexp | #F48748 | — |
| punctuation.definition.string.begin,punctuation.definition.string.end | #A3E87D | — |
| variable.parameter.function | #EFEDEE | — |
| comment markup.link | #65697DD5 | — |
| markup.changed.diff | #FFCB6B | — |
| meta.diff.header.from-file,meta.diff.header.to-file,punctuation.definition.from-file.diff,punctuation.definition.to-file.diff | #69ADEC | — |
| markup.inserted.diff | #A3E87D | — |
| markup.deleted.diff | #FF5A77 | — |
| meta.function.c,meta.function.cpp | #FF5A77 | — |
| punctuation.section.block.begin.bracket.curly.cpp,punctuation.section.block.end.bracket.curly.cpp,punctuation.terminator.statement.c,punctuation.section.block.begin.bracket.curly.c,punctuation.section.block.end.bracket.curly.c,punctuation.section.parens.begin.bracket.round.c,punctuation.section.parens.end.bracket.round.c,punctuation.section.parameters.begin.bracket.round.c,punctuation.section.parameters.end.bracket.round.c | #EFEDEE | — |
| punctuation.separator.key-value | #EFEDEE | — |
| keyword.operator.expression.import | #69ADEC | — |
| support.constant.math | #FFCB6B | — |
| support.constant.property.math | #F48748 | — |
| variable.other.constant | #FFCB6B | — |
| storage.type.annotation.java, storage.type.object.array.java | #FFCB6B | — |
| source.java | #FF5A77 | — |
| punctuation.section.block.begin.java,punctuation.section.block.end.java,punctuation.definition.method-parameters.begin.java,punctuation.definition.method-parameters.end.java,meta.method.identifier.java,punctuation.section.method.begin.java,punctuation.section.method.end.java,punctuation.terminator.java,punctuation.section.class.begin.java,punctuation.section.class.end.java,punctuation.section.inner-class.begin.java,punctuation.section.inner-class.end.java,meta.method-call.java,punctuation.section.class.begin.bracket.curly.java,punctuation.section.class.end.bracket.curly.java,punctuation.section.method.begin.bracket.curly.java,punctuation.section.method.end.bracket.curly.java,punctuation.separator.period.java,punctuation.bracket.angle.java,punctuation.definition.annotation.java,meta.method.body.java | #EFEDEE | — |
| meta.method.java | #69ADEC | — |
| storage.modifier.import.java,storage.type.java,storage.type.generic.java | #FFCB6B | — |
| keyword.operator.instanceof.java | #C186E8 | — |
| meta.definition.variable.name.java | #FF5A77 | — |
| keyword.operator.logical | #82AAFF | — |
| keyword.operator.bitwise | #82AAFF | — |
| keyword.operator.channel | #82AAFF | — |
| support.constant.property-value.scss,support.constant.property-value.css | #F48748 | — |
| keyword.operator.css,keyword.operator.scss,keyword.operator.less | #82AAFF | — |
| support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss | #F48748 | — |
| punctuation.separator.list.comma.css | #EFEDEE | — |
| support.constant.color.w3c-standard-color-name.css | #F48748 | — |
| support.type.vendored.property-name.css | #82AAFF | — |
| support.module.node,support.type.object.module,support.module.node | #FFCB6B | — |
| entity.name.type.module | #FFCB6B | — |
| variable.other.readwrite,meta.object-literal.key,support.variable.property,support.variable.object.process,support.variable.object.node | #FF5A77 | — |
| support.constant.json | #F48748 | — |
| keyword.operator.expression.instanceof, keyword.operator.new, keyword.operator.ternary, keyword.operator.optional, keyword.operator.expression.keyof | #C186E8 | — |
| support.type.object.console | #FF5A77 | — |
| support.variable.property.process | #F48748 | — |
| entity.name.function,support.function.console | #69ADEC | — |
| keyword.operator.misc.rust | #EFEDEE | — |
| keyword.operator.sigil.rust | #C186E8 | — |
| keyword.operator.delete | #C186E8 | — |
| support.type.object.dom | #82AAFF | — |
| support.variable.dom,support.variable.property.dom | #FF5A77 | — |
| keyword.operator.arithmetic,keyword.operator.comparison,keyword.operator.decrement,keyword.operator.increment,keyword.operator.relational | #82AAFF | — |
| 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 | #C186E8 | — |
| punctuation.separator.delimiter | #EFEDEE | — |
| punctuation.separator.c,punctuation.separator.cpp | #C186E8 | — |
| support.type.posix-reserved.c,support.type.posix-reserved.cpp | #82AAFF | — |
| keyword.operator.sizeof.c,keyword.operator.sizeof.cpp | #C186E8 | — |
| variable.parameter.function.language.python | #F48748 | — |
| support.type.python | #82AAFF | — |
| keyword.operator.logical.python | #C186E8 | — |
| variable.parameter.function.python | #F48748 | — |
| punctuation.definition.arguments.begin.python,punctuation.definition.arguments.end.python,punctuation.separator.arguments.python,punctuation.definition.list.begin.python,punctuation.definition.list.end.python | #EFEDEE | — |
| meta.function-call.generic.python | #69ADEC | — |
| constant.character.format.placeholder.other.python | #F48748 | — |
| keyword.operator | #EFEDEE | — |
| keyword.operator.assignment.compound | #C186E8 | — |
| keyword.operator.assignment.compound.js,keyword.operator.assignment.compound.ts | #82AAFF | — |
| keyword | #C186E8 | — |
| entity.name.namespace | #FFCB6B | — |
| variable | #FF5A77 | — |
| variable.c | #EFEDEE | — |
| variable.language | #FFCB6B | — |
| token.variable.parameter.java | #EFEDEE | — |
| import.storage.java | #FFCB6B | — |
| token.package.keyword | #C186E8 | — |
| token.package | #EFEDEE | — |
| entity.name.function, meta.require, support.function.any-method, variable.function | #69ADEC | — |
| entity.name.type.namespace | #FFCB6B | — |
| support.class, entity.name.type.class | #FFCB6B | — |
| entity.name.class.identifier.namespace.type | #FFCB6B | — |
| entity.name.class, variable.other.class.js, variable.other.class.ts | #FFCB6B | — |
| variable.other.class.php | #FF5A77 | — |
| entity.name.type | #FFCB6B | — |
| keyword.control | #C186E8 | — |
| control.elements, keyword.operator.less | #F48748 | — |
| keyword.other.special-method | #69ADEC | — |
| storage | #C186E8 | — |
| token.storage | #C186E8 | — |
| 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 | #C186E8 | — |
| token.storage.type.java | #FFCB6B | — |
| support.function | #82AAFF | — |
| support.type.property-name | #EFEDEE | — |
| support.constant.property-value | #EFEDEE | — |
| support.constant.font-name | #F48748 | — |
| meta.tag | #EFEDEE | — |
| string | #A3E87D | — |
| entity.other.inherited-class | #FFCB6B | — |
| constant.other.symbol | #82AAFF | — |
| constant.numeric | #F48748 | — |
| constant | #F48748 | — |
| punctuation.definition.constant | #F48748 | — |
| entity.name.tag | #FF5A77 | — |
| entity.other.attribute-name | #959DCB | — |
| entity.other.attribute-name.id | #69ADEC | normal |
| entity.other.attribute-name.class.css | #959DCB | normal |
| meta.selector | #C186E8 | — |
| markup.heading | #FF5A77 | — |
| markup.heading punctuation.definition.heading, entity.name.section | #69ADEC | — |
| keyword.other.unit | #FF5A77 | — |
| markup.bold,todo.bold | #F48748 | — |
| punctuation.definition.bold | #FFCB6B | — |
| markup.italic, punctuation.definition.italic,todo.emphasis | #C186E8 | — |
| emphasis md | #C186E8 | — |
| entity.name.section.markdown | #FF5A77 | — |
| punctuation.definition.heading.markdown | #FF5A77 | — |
| punctuation.definition.list.begin.markdown | #FF5A77 | — |
| markup.heading.setext | #EFEDEE | — |
| punctuation.definition.bold.markdown | #F48748 | — |
| markup.inline.raw.markdown | #A3E87D | — |
| markup.inline.raw.string.markdown | #A3E87D | — |
| punctuation.definition.list.markdown | #FF5A77 | — |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown | #FF5A77 | — |
| beginning.punctuation.definition.list.markdown | #FF5A77 | — |
| punctuation.definition.metadata.markdown | #FF5A77 | — |
| markup.underline.link.markdown,markup.underline.link.image.markdown | #C186E8 | — |
| string.other.link.title.markdown,string.other.link.description.markdown | #69ADEC | — |
| string.regexp | #82AAFF | — |
| constant.character.escape | #82AAFF | — |
| punctuation.section.embedded, variable.interpolation | #FF5A77 | — |
| punctuation.section.embedded.begin,punctuation.section.embedded.end | #C186E8 | — |
| invalid.illegal | #FFFFFF | — |
| invalid.illegal.bad-ampersand.html | #EFEDEE | — |
| invalid.broken | #FFFFFF | — |
| invalid.deprecated | #FFFFFF | — |
| invalid.unimplemented | #FFFFFF | — |
| source.json meta.structure.dictionary.json > string.quoted.json | #FF5A77 | — |
| source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string | #FF5A77 | — |
| 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 | #A3E87D | — |
| source.json meta.structure.dictionary.json > constant.language.json,source.json meta.structure.array.json > constant.language.json | #82AAFF | — |
| support.type.property-name.json | #FF5A77 | — |
| support.type.property-name.json punctuation | #FF5A77 | — |
| text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade | #C186E8 | — |
| text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade | #C186E8 | — |
| support.other.namespace.use.php,support.other.namespace.use-as.php,support.other.namespace.php,entity.other.alias.php,meta.interface.php | #FFCB6B | — |
| keyword.operator.error-control.php | #C186E8 | — |
| keyword.operator.type.php | #C186E8 | — |
| punctuation.section.array.begin.php | #EFEDEE | — |
| punctuation.section.array.end.php | #EFEDEE | — |
| invalid.illegal.non-null-typehinted.php | #F44747 | — |
| storage.type.php,meta.other.type.phpdoc.php,keyword.other.type.php,keyword.other.array.phpdoc.php | #FFCB6B | — |
| meta.function-call.php,meta.function-call.object.php,meta.function-call.static.php | #69ADEC | — |
| punctuation.definition.parameters.begin.bracket.round.php,punctuation.definition.parameters.end.bracket.round.php,punctuation.separator.delimiter.php,punctuation.section.scope.begin.php,punctuation.section.scope.end.php,punctuation.terminator.expression.php,punctuation.definition.arguments.begin.bracket.round.php,punctuation.definition.arguments.end.bracket.round.php,punctuation.definition.storage-type.begin.bracket.round.php,punctuation.definition.storage-type.end.bracket.round.php,punctuation.definition.array.begin.bracket.round.php,punctuation.definition.array.end.bracket.round.php,punctuation.definition.begin.bracket.round.php,punctuation.definition.end.bracket.round.php,punctuation.definition.begin.bracket.curly.php,punctuation.definition.end.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php,punctuation.definition.section.switch-block.start.bracket.curly.php,punctuation.definition.section.switch-block.begin.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php | #EFEDEE | — |
| support.constant.core.rust | #F48748 | — |
| support.constant.ext.php,support.constant.std.php,support.constant.core.php,support.constant.parser-token.php | #F48748 | — |
| entity.name.goto-label.php,support.other.php | #69ADEC | — |
| keyword.operator.logical.php,keyword.operator.bitwise.php,keyword.operator.arithmetic.php | #82AAFF | — |
| keyword.operator.regexp.php | #C186E8 | — |
| keyword.operator.comparison.php | #82AAFF | — |
| keyword.operator.heredoc.php,keyword.operator.nowdoc.php | #C186E8 | — |
| meta.function.decorator.python | #69ADEC | — |
| support.token.decorator.python,meta.function.decorator.identifier.python | #82AAFF | — |
| function.parameter | #EFEDEE | — |
| function.brace | #EFEDEE | — |
| function.parameter.ruby, function.parameter.cs | #EFEDEE | — |
| constant.language.symbol.ruby | #82AAFF | — |
| rgb-value | #82AAFF | — |
| inline-color-decoration rgb-value | #F48748 | — |
| less rgb-value | #F48748 | — |
| selector.sass | #FF5A77 | — |
| support.type.primitive.ts,support.type.builtin.ts,support.type.primitive.tsx,support.type.builtin.tsx | #FFCB6B | — |
| block.scope.end,block.scope.begin | #EFEDEE | — |
| storage.type.cs | #FFCB6B | — |
| entity.name.variable.local.cs | #FF5A77 | — |
| token.info-token | #69ADEC | — |
| token.warn-token | #F48748 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #C186E8 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #C186E8 | — |
| meta.template.expression | #EFEDEE | — |
| keyword.operator.module | #C186E8 | — |
| support.type.type.flowtype | #69ADEC | — |
| support.type.primitive | #FFCB6B | — |
| meta.property.object | #FF5A77 | — |
| variable.parameter.function.js | #FF5A77 | — |
| keyword.other.template.begin | #A3E87D | — |
| keyword.other.template.end | #A3E87D | — |
| keyword.other.substitution.begin | #A3E87D | — |
| keyword.other.substitution.end | #A3E87D | — |
| keyword.operator.assignment | #82AAFF | — |
| keyword.operator.assignment.go | #FFCB6B | — |
| keyword.operator.arithmetic.go, keyword.operator.address.go | #C186E8 | — |
| entity.name.package.go | #FFCB6B | — |
| support.type.prelude.elm | #82AAFF | — |
| support.constant.elm | #F48748 | — |
| punctuation.quasi.element | #C186E8 | — |
| constant.character.entity | #FF5A77 | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class | #82AAFF | — |
| entity.global.clojure | #FFCB6B | — |
| meta.symbol.clojure | #FF5A77 | — |
| constant.keyword.clojure | #82AAFF | — |
| meta.arguments.coffee, variable.parameter.function.coffee | #FF5A77 | — |
| source.ini | #A3E87D | — |
| meta.scope.prerequisites.makefile | #FF5A77 | — |
| source.makefile | #FFCB6B | — |
| storage.modifier.import.groovy | #FFCB6B | — |
| meta.method.groovy | #69ADEC | — |
| meta.definition.variable.name.groovy | #FF5A77 | — |
| meta.definition.class.inherited.classes.groovy | #A3E87D | — |
| support.variable.semantic.hlsl | #FFCB6B | — |
| 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 | #C186E8 | — |
| text.variable, text.bracketed | #FF5A77 | — |
| support.type.swift, support.type.vb.asp | #FFCB6B | — |
| entity.name.function.xi | #FFCB6B | — |
| entity.name.class.xi | #82AAFF | — |
| constant.character.character-class.regexp.xi | #FF5A77 | — |
| constant.regexp.xi | #C186E8 | — |
| keyword.control.xi | #82AAFF | — |
| invalid.xi | #EFEDEE | — |
| beginning.punctuation.definition.quote.markdown.xi | #A3E87D | — |
| beginning.punctuation.definition.list.markdown.xi | #65697DD5 | — |
| constant.character.xi | #69ADEC | — |
| accent.xi | #69ADEC | — |
| wikiword.xi | #F48748 | — |
| constant.other.color.rgb-value.xi | #FFFFFF | — |
| punctuation.definition.tag.xi | #65697DD5 | — |
| entity.name.label.cs, entity.name.scope-resolution.function.call, entity.name.scope-resolution.function.definition | #FFCB6B | — |
| entity.name.label.cs, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #FF5A77 | — |
| meta.brace.square | #EFEDEE | — |
| comment, punctuation.definition.comment | #65697DD5 | italic |
| markup.quote.markdown | #65697DD5 | — |
| punctuation.definition.block.sequence.item.yaml | #EFEDEE | — |
| constant.language.symbol.elixir | #82AAFF | — |
| entity.other.attribute-name.js,entity.other.attribute-name.ts,entity.other.attribute-name.jsx,entity.other.attribute-name.tsx,variable.parameter,variable.language.super | — | italic |
| comment.line.double-slash,comment.block.documentation | — | italic |
| keyword.control.import.python,keyword.control.flow.python | — | italic |
| markup.italic.markdown | — | italic |
| comment | #808080 | — |
| punctuation.definition.comment | #808080 | — |
| punctuation.definition.string.end.php, punctuation.definition.string.begin.php, punctuation.definition.string.begin.html, punctuation.definition.string.end.html | #AFD4E2 | — |
| variable.other.property.php | #3AB7C9 | italic |
| entity.other.attribute-name.js.jsx, entity.other.attribute-name.tsx | #BB9AF7 | — |
| string.quoted.double.html, string.quoted.single.php, string.quoted.single.js.jsx, string.quoted.double.js.jsx, string.quoted.single.tsx, string.quoted.double.tsx, punctuation.definition.string.begin.tsx, punctuation.definition.string.end.tsx, string.regexp.single-quoted.php, punctuation.definition.string.begin.php, punctuation.definition.string.end.php, punctuation.definition.string.begin.js, punctuation.definition.string.end.js, string.quoted.single.js, string.quoted.double.php, string.template.js, string.template.js.jsx, string.template.tsx, string.quoted.single.ts, string.quoted.double.ts, string.interpolated.single.dart, string.interpolated.double.dart, string.quoted.single.ts, string.quoted.double.ts, string.quoted.double.vue, string.quoted.single.vue, string.template.ts, punctuation.definition.string.begin.ts, punctuation.definition.string.end.ts, punctuation.definition.string.begin.vue, punctuation.definition.string.end.vue, string.interpolated.single.dart, string.interpolated.double.dart | #35BB9A | — |
| string | #35BB9A | — |
| variable | #FF5A77 | italic |
| enumMember | #82AAFF | italic |
| variable.other.property | #89DDFF | — |
| annotation | #FF5A77 | — |
| variable.other.php, entity.name.tag.html, entity.name.tag.js.jsx, variable.other.readwrite.alias.tsx, variable.parameter.tsx, variable.other.readwrite.alias.js.jsx, variable.parameter.js.jsx, variable.other.object.tsx | #F7768E | — |
| entity.other.attribute-name.html, invalid.deprecated.entity.other.attribute-name.html, source.php, meta.function-call.php, punctuation.terminator.statement.php | #FFCB6B | — |
| variable.other.readwrite.js.jsx, variable.other.constant.js.jsx, variable.other.constant.object.jsx | #ECE35C | italic |
| keyword.blade, punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php, entity.name.function.blade, constant.language.php | #C678DD | italic |
| meta.jsx.children.js.jsx, meta.jsx.children.tsx | #AAB1C0 | — |
| storage.modifier.php, variable.other.readwrite.js, entity.name.function.js | — | italic |
| entity.name.function.php | — | — |
| storage.type.function.php, storage.type.class.php | #5AD4E6 | italic |
| variable.other.property.php | #3AB7C9 | — |
| keyword.operator.key.php, keyword.operator.arithmetic.php, keyword.operator.comparison.php, keyword.operator.class.php | #C678DD | bold |
| keyword.control.return.php | #C678DD | italic bold |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | — | italic |
| punctuation.separator.key-value, punctuation.definition.tag.html, punctuation.definition.tag.begin, punctuation.definition.tag.end, meta.tag, keyword.operator.assignment.js.jsx | #00DEFF | bold |
| variable.parameter.function, keyword.control.operator, variable.other.property, variable.other.object.property, support.constant.meta.property-value, support.constant, keyword.other.special-method, support.function, support.variable.property, keyword.other.new, variable.assignment.coffee, constant.language.symbol.hashkey.ruby, entity.name.tag.yaml, entity.other.attribute-name.handlebars, keyword.operator | #89DDFF | — |
| invalid.deprecated.html, entity.name.tag.tsx | #F7768E | — |
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}!`;
}