Purple Orange
Publisher: Jhonattan W. SantosThemes in package: 1
A purple orange theme to chilling your eyes
A purple orange theme to chilling your eyes
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 |
|---|---|---|
| meta.tag, string | #ffd654 | — |
| meta.diff, meta.diff.header | #496250 | — |
| meta.link.reference.def.restructuredtext, string.other.link.description, string.other.link.title | #00ff4d | — |
| emphasis | — | italic |
| strong | — | bold |
| invalid | #FF6268 | strikethrough |
| invalid.deprecated | #ffd654 | underline italic |
| header | #00ff4d | — |
| source.ini, source.ignore, source | #B6A2E1 | — |
| markup.inserted | #00ff4d | — |
| markup.deleted | #FF6268 | — |
| markup.changed | #56A7FB | — |
| markup.error | #FF6268 | — |
| markup.underline | — | underline |
| markup.bold | #FF9640 | bold |
| markup.heading | #ffb300 | bold |
| markup.italic | #B6A2E1 | italic |
| markup.inline.raw, markup.raw.restructuredtext | #ffb300 | — |
| markup.underline.link, markup.underline.link.image, markup.quote | #56A7FB | — |
| beginning.punctuation.definition.list.markdown, beginning.punctuation.definition.quote.markdown, punctuation.definition.link.restructuredtext | #945AFF | — |
| meta.separator.markdown | #ffb300 | — |
| fenced_code.block.language, markup.raw.inner.restructuredtext, markup.fenced_code.block.markdown punctuation.definition.markdown | #24C916 | — |
| markup.heading.markdown punctuation.definition.string.begin, markup.heading.markdown punctuation.definition.string.end | #FF9640 | — |
| entity.name.filename | #BA672E | — |
| entity.name.directive.restructuredtext | #BA672E | italic |
| entity.name.class, entity.name.type.class, entity.other.inherited-class, entity.name.fragment.graphql, variable.fragment.graphql | #945AFF | — |
| entity.name.tag | #b596ff | — |
| entity.other.attribute-name.parent-selector | #b596ff | — |
| entity.other.attribute-name, meta.object-literal.key.js | #945AFF | — |
| entity.name.function, meta.function-call.generic, meta.function-call.object, meta.function-call.php, meta.function-call.static, meta.method-call.java meta.method, meta.method.groovy, support.function.any-method.lua, keyword.operator.function.infix | #ffb300 | — |
| entity.name.variable.parameter, meta.selector.css, meta.at-rule.function variable, meta.at-rule.mixin variable, meta.function.arguments variable.other.php, meta.selectionset.graphql meta.arguments.graphql variable.arguments.graphql | #b3ff00 | — |
| entity.other.attribute-name.class.css | #ffb300 | — |
| support | #B899FF | — |
| entity.name.function.target.makefile, entity.name.section.toml, entity.name.tag.yaml, variable.other.key.toml | #ffb300 | — |
| entity.name.type | #BB9EFF | — |
| entity.name.type.module, entity.name.type.type-parameter, meta.indexer.mappedtype.declaration entity.name.type, meta.type.parameters entity.name.type | #DA8AFF | — |
| entity.other.attribute-name, meta.object-literal.key.js, entity.other.attribute-name.pseudo-class.css | #ff8500 | — |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name | #945AFF | — |
| keyword.primitive-datatypes.swift, keyword.type.cs, meta.protocol-list.objc, meta.return-type.objc, source.go storage.type, source.groovy storage.type, source.java storage.type, source.powershell entity.other.attribute-name, storage.class.std.rust, storage.type.attribute.swift, storage.type.c, storage.type.core.rust, storage.type.cs, storage.type.groovy, storage.type.objc, storage.type.php, storage.type.haskell, storage.type.ocaml | #945AFF | — |
| storage.modifier | #00ff4d | — |
| punctuation.definition.constant.restructuredtext | #00ff4d | — |
| storage.type.generic.java | #ffb300 | — |
| comment, punctuation.definition.comment, unused.comment, wildcard.comment | #496250 | — |
| comment keyword.codetag.notation, comment.block.documentation keyword, comment.block.documentation storage.type.class | #bfa4ff | — |
| constant | #00ff4d | — |
| constant.other.color, constant.other.key.perl | #A27AFF | — |
| constant.character.escape, constant.character.string.escape, constant.regexp, constant.language | #00ff4d | — |
| constant.other.date, constant.other.timestamp | #bcff1e | — |
| constant.language.empty-list.haskell, constant.other.symbol.hashkey, constant.other.symbol.hashkey.ruby | #B6A2E1 | — |
| keyword.operator.other.powershell, keyword.other.statement-separator.powershell | #00ff51 | — |
| keyword.operator.dereference.java, keyword.operator.navigation.groovy | #00ff51 | — |
| keyword.operator | #00ff51 | — |
| keyword.other.unit | #b596ff | — |
| keyword.control, keyword.other.template, keyword.other.substitution | #A077FF | — |
| keyword.expressions-and-types.swift, keyword.other.this | #00ff4d | — |
| keyword.control.import, keyword.control.from | #C698F0 | — |
| keyword.control.new, keyword.operator.new, keyword.other.important.css | #945AFF | — |
| meta.attribute-selector.scss | #E5FFA8 | — |
| keyword.control.flow, keyword.control.loop, keyword.control.conditional, keyword.operator.logical, keyword.operator.relational, keyword.operator.comparison, keyword.operator.ternary | #DD8FFF | — |
| entity.name.tag.css, entity.name.tag.less, entity.name.tag.custom.css | #b596ff | |
| entity.name.tag.wildcard.css, entity.name.tag.wildcard.less, entity.name.tag.wildcard.scss, entity.name.tag.wildcard.sass | #D399FF | — |
| support.constant.property-value.css, constant.numeric.css | #B6A2E1 | |
| keyword.control.at-rule.apply.tailwind | #C698F0 | — |
| keyword.control.at-rule.tailwind.tailwind | #A077FF | — |
| keyword.control.at-rule.layer.tailwind | #DD8FFF | — |
| meta.selector | #E5FFA8 | — |
| keyword.primitive-datatypes.swift, keyword.type.cs, meta.protocol-list.objc, meta.return-type.objc, source.powershell entity.other.attribute-name | #ff8500 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end, punctuation.support.type.property-name.begin, punctuation.support.type.property-name.end | #DBE5C2 | — |
| string.quoted.docstring.multi, string.quoted.docstring.multi.python punctuation.definition.string.begin, string.quoted.docstring.multi.python punctuation.definition.string.end, string.quoted.docstring.multi.python constant.character.escape | #ffb300 | — |
| punctuation.definition.keyword.css, punctuation.section.property-list.begin.bracket.curly.css, punctuation.section.property-list.end.bracket.curly.css | #DBE5C2 | — |
| punctuation.definition.attribute-selector.end.bracket.square.scss, punctuation.definition.attribute-selector.begin.bracket.square.scss | #B6A2E1 | — |
| punctuation, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded | #D399FF | — |
| punctuation.definition.constant.ruby, entity.other.attribute-name.placeholder punctuation, entity.other.attribute-name.pseudo-class punctuation, entity.other.attribute-name.pseudo-element punctuation, meta.group.double.toml, meta.brace.square, meta.group.toml, meta.object-binding-pattern-variable punctuation.destructuring, punctuation.colon.graphql, punctuation.definition.block.scalar.folded.yaml, punctuation.definition.block.scalar.literal.yaml, punctuation.definition.block.sequence.item.yaml, punctuation.definition.entity.other.inherited-class, punctuation.function.swift, punctuation.separator.dictionary.key-value, punctuation.separator.hash, punctuation.separator.inheritance, punctuation.separator.key-value, punctuation.separator.key-value.mapping.yaml, punctuation.separator.namespace, punctuation.separator.pointer-access, punctuation.separator.slice, string.unquoted.heredoc punctuation.definition.string, support.other.chomping-indicator.yaml, punctuation.separator.annotation | #FBFBF9 | — |
| meta.brace.round, meta.function-call punctuation, punctuation.definition.arguments.begin, punctuation.definition.arguments.end, punctuation.definition.entity.begin, punctuation.definition.entity.end, punctuation.definition.tag.cs, punctuation.definition.type.begin, punctuation.definition.type.end, punctuation.section.scope.begin, punctuation.section.scope.end, string.template meta.brace, string.template punctuation.accessor | #FCFDFB | — |
| meta.string-contents.quoted.double punctuation.definition.variable, punctuation.definition.interpolation.begin, punctuation.definition.interpolation.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded.begin, punctuation.section.embedded.coffee, punctuation.section.embedded.end, punctuation.section.embedded.end source.php, punctuation.section.embedded.end source.ruby, punctuation.definition.variable.makefile | #E2EED3 | — |
| meta.scope.for-loop.shell punctuation.definition.string.begin, meta.scope.for-loop.shell punctuation.definition.string.end, meta.scope.for-loop.shell string, punctuation.section.embedded.begin.tsx, punctuation.section.embedded.end.tsx, punctuation.section.embedded.begin.jsx, punctuation.section.embedded.end.jsx, punctuation.separator.list.comma.css | #FFFFFF | — |
| punctuation.definition.directive.restructuredtext | #00ff4d | — |
| punctuation.separator.inheritance.php | #DBE5C2 | — |
| variable | #c655ff | — |
| variable.other.alias.yaml | #c655ff | underline |
| variable.language, variable.language punctuation.definition.variable.php, variable.other.readwrite.instance.ruby, variable.parameter.function.language.special | #c655ff | — |
| variable.other.object | #A27AFF | — |
| variable.other.readwrite | #b95dff | — |
| meta.import variable.other.readwrite, meta.import variable.other.readwrite.alias, meta.export variable.other.readwrite.alias, meta.object-binding-pattern-variable variable.object.property, meta.variable.assignment.destructured.object.coffee variable, variable.other.constant | #b95dff | — |
| meta.selectionset.graphql meta.arguments variable | #945AFF | — |
| variable.graphql, support.variable | #c655ff | — |
| support.variable.property, support.variable.property.js, variable.object.property, variable.other.object.property, keyword.operation.graphql | #EDAFF8 | — |
| source.shell variable.other | #00ff4d | — |
| support.function.magic, variable.other.predefined, storage.modifier.async | #FF9640 | — |
| support.function, support.type.property-name | #ff7b16 | — |
| storage, meta.implementation storage.type.objc, meta.interface-or-protocol storage.type.objc, source.groovy storage.type.def | #BFA3FF | — |
| string.regexp, constant.other.character-class.set.regexp, constant.character.escape.backslash.regexp | #BA672E | — |
| punctuation.definition.group.capture.regexp | #C25C6E | — |
| string.regexp punctuation.definition.string.begin, string.regexp punctuation.definition.string.end | #C25C6E | — |
| punctuation.definition.character-class.regexp | #EA8E4E | — |
| punctuation.definition.group.regexp | #9968FC | — |
| punctuation.definition.group.assertion.regexp, keyword.operator.negation.regexp | #C25C6E | — |
| meta.assertion.look-ahead.regexp | #9968FC | — |
| meta.scope.prerequisites.makefile | #EA8E4E | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #ffb300 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #945AFF | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #56A7FB | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #FF9640 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #FF6268 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #24C916 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #ffb300 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #945AFF | — |
| token.info-token | #56A7FB | — |
| token.warn-token | #FF9640 | — |
| token.error-token | #FF6268 | — |
| token.debug-token | #FF9640 | — |
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}!`;
}