Arrakis Theme
Publisher: AnvellThemes in package: 2
Harmonic and flow inducing color scheme which is gentle for your eyes.
Harmonic and flow inducing color scheme which is gentle for 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 |
|---|---|---|
| keyword.operator.arithmetic, keyword.operator.comparison, keyword.operator.decrement, keyword.operator.increment, keyword.operator.logical, keyword.operator.math.rust, keyword.operator.relational | #92c8d5 | — |
| entity.name.type.lifetime.rust | #cbc0b1 | — |
| keyword.operator.question.rust | #939293 | — |
| keyword.operator.borrow.and.rust | #b5b4b3 | — |
| 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 | #c6cbcc | — |
| variable.other.generic-type.haskell | #d17b8d | — |
| storage.type.haskell | #ecc77c | — |
| support.variable.magic.python | #c6cbcc | — |
| punctuation.separator.period.python, punctuation.separator.element.python, punctuation.parenthesis.begin.python, punctuation.parenthesis.end.python | #c6cbcc | — |
| variable.parameter.function.language.special.self.python | #d19577 | — |
| storage.modifier.lifetime.rust | #c6cbcc | — |
| support.function.std.rust | #d4d4d4 | — |
| entity.name.lifetime.rust | #d19577 | — |
| variable.language.rust | #c6cbcc | — |
| meta.attribute.rust | #d19577 | — |
| keyword.other.rust, keyword.other.fn.rust, keyword.declaration.struct.rust, entity.name.function.macro.rules.rust | #d17b8d | — |
| entity.name.function.rust, meta.function-call.rust, entity.name.function.macro.rust | #92c8d5 | — |
| constant.language.bool, constant.language.boolean, support.constant.edge, constant.language.json | #d17b8d | — |
| constant.other.character-class.regexp | #c6cbcc | — |
| keyword.operator.quantifier.regexp | #ecc77c | — |
| punctuation.definition.string.begin,punctuation.definition.string.end | #95d1be | — |
| variable.parameter.function | #c6cbcc | — |
| comment markup.link | #7f848e | — |
| markup.changed.diff | #d19577 | — |
| meta.diff.header.from-file,meta.diff.header.to-file,punctuation.definition.from-file.diff,punctuation.definition.to-file.diff | #d4d4d4 | — |
| markup.inserted.diff | #95d1be | — |
| markup.deleted.diff | #c6cbcc | — |
| meta.function.c,meta.function.cpp | #c6cbcc | — |
| punctuation.separator.key-value | #c6cbcc | — |
| keyword.operator.expression.import | #d4d4d4 | — |
| support.constant.math | #d19577 | — |
| support.constant.property.math | #ecc77c | — |
| variable.other.constant | #d19577 | — |
| storage.type.annotation.java, storage.type.object.array.java | #d19577 | — |
| source.java | #c6cbcc | — |
| 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 | #c6cbcc | — |
| meta.method.java | #d4d4d4 | — |
| storage.modifier.import.java,storage.type.java,storage.type.generic.java | #d19577 | — |
| keyword.operator.instanceof.java | #d17b8d | — |
| meta.definition.variable.name.java | #c6cbcc | — |
| keyword.other.kotlin, constant.language.kotlin | #d17b8d | — |
| keyword.operator.logical | #92c8d5 | — |
| keyword.operator.bitwise | #92c8d5 | — |
| keyword.operator.channel | #92c8d5 | — |
| support.constant.property-value.scss,support.constant.property-value.css | #ecc77c | — |
| keyword.operator.css,keyword.operator.scss,keyword.operator.less | #92c8d5 | — |
| support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss | #ecc77c | — |
| punctuation.separator.list.comma.css | #c6cbcc | — |
| support.constant.color.w3c-standard-color-name.css | #ecc77c | — |
| support.type.vendored.property-name.css | #92c8d5 | — |
| support.module.node,support.type.object.module,support.module.node | #d19577 | — |
| entity.name.type.module | #d19577 | — |
| variable.other.readwrite,meta.object-literal.key,support.variable.property,support.variable.object.process,support.variable.object.node | #c6cbcc | — |
| support.constant.json | #ecc77c | — |
| keyword.operator.expression.instanceof, keyword.operator.new, keyword.operator.ternary, keyword.operator.optional, keyword.operator.expression.keyof | #d17b8d | — |
| support.type.object.console | #c6cbcc | — |
| support.variable.property.process | #ecc77c | — |
| entity.name.function,support.function.console | #d4d4d4 | — |
| keyword.operator.misc.rust | #c6cbcc | — |
| keyword.operator.sigil.rust | #d17b8d | — |
| keyword.operator.delete | #d17b8d | — |
| support.type.object.dom | #92c8d5 | — |
| support.variable.dom,support.variable.property.dom | #c6cbcc | — |
| punctuation | #939293 | — |
| support.type.posix-reserved.c,support.type.posix-reserved.cpp | #92c8d5 | — |
| keyword.operator.sizeof.c,keyword.operator.sizeof.cpp | #d17b8d | — |
| variable.parameter.function.language.python | #ecc77c | — |
| support.type.python | #92c8d5 | — |
| punctuation.definition.arguments.begin.python,punctuation.definition.arguments.end.python,punctuation.separator.arguments.python,punctuation.definition.list.begin.python,punctuation.definition.list.end.python | #c6cbcc | — |
| constant.character.format.placeholder.other.python | #ecc77c | — |
| keyword.operator.assignment.compound | #92c8d5 | — |
| keyword.operator.assignment.compound.js,keyword.operator.assignment.compound.ts | #92c8d5 | — |
| entity.name.namespace | #d19577 | — |
| variable | #c6cbcc | — |
| variable.language | #d19577 | — |
| token.variable.parameter.java | #c6cbcc | — |
| import.storage.java | #d19577 | — |
| token.package.keyword | #d17b8d | — |
| token.package | #c6cbcc | — |
| entity.name.function, meta.require, support.function.any-method, variable.function | #d4d4d4 | — |
| entity.name.type.namespace | #d19577 | — |
| support.class, entity.name.type.class | #d19577 | — |
| entity.name.class.identifier.namespace.type | #d19577 | — |
| entity.name.class, variable.other.class.js, variable.other.class.ts | #d19577 | — |
| entity.name.type | #d19577 | — |
| keyword.control | #d17b8d | — |
| control.elements, keyword.operator.less | #ecc77c | — |
| keyword.other.special-method | #d4d4d4 | — |
| storage | #d17b8d | — |
| token.storage | #d17b8d | — |
| 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 | #d17b8d | — |
| token.storage.type.java | #d19577 | — |
| support.function | #92c8d5 | — |
| support.type.property-name | #c6cbcc | — |
| support.constant.property-value | #c6cbcc | — |
| support.constant.font-name | #ecc77c | — |
| meta.tag | #c6cbcc | — |
| string | #95d1be | — |
| entity.other.inherited-class | #d19577 | — |
| constant.other.symbol | #92c8d5 | — |
| constant.numeric | #ecc77c | — |
| constant | #c6cbcc | — |
| punctuation.definition.constant | #ecc77c | — |
| entity.name.tag | #c6cbcc | — |
| entity.other.attribute-name | #ecc77c | — |
| entity.other.attribute-name.id | #d4d4d4 | — |
| entity.other.attribute-name.class.css | #ecc77c | — |
| meta.selector | #d17b8d | — |
| markup.heading | #c6cbcc | — |
| markup.heading punctuation.definition.heading, entity.name.section | #d4d4d4 | — |
| keyword.other.unit | #c6cbcc | — |
| markup.bold,todo.bold | #ecc77c | — |
| punctuation.definition.bold | #d19577 | — |
| markup.italic, punctuation.definition.italic,todo.emphasis | #d17b8d | — |
| emphasis md | #d17b8d | — |
| entity.name.section.markdown | #c6cbcc | — |
| punctuation.definition.heading.markdown | #c6cbcc | — |
| punctuation.definition.list.begin.markdown | #c6cbcc | — |
| markup.heading.setext | #c6cbcc | — |
| punctuation.definition.bold.markdown | #ecc77c | — |
| markup.inline.raw.markdown | #95d1be | — |
| markup.inline.raw.string.markdown | #95d1be | — |
| punctuation.definition.list.markdown | #c6cbcc | — |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown | #c6cbcc | — |
| beginning.punctuation.definition.list.markdown | #c6cbcc | — |
| punctuation.definition.metadata.markdown | #c6cbcc | — |
| markup.underline.link.markdown,markup.underline.link.image.markdown | #d17b8d | — |
| string.other.link.title.markdown,string.other.link.description.markdown | #d4d4d4 | — |
| string.regexp | #92c8d5 | — |
| constant.character.escape | #92c8d5 | — |
| punctuation.section.embedded, variable.interpolation | #c6cbcc | — |
| punctuation.section.embedded.begin,punctuation.section.embedded.end | #d17b8d | — |
| invalid.illegal | #ffffff | — |
| invalid.illegal.bad-ampersand.html | #c6cbcc | — |
| invalid.broken | #ffffff | — |
| invalid.deprecated | #ffffff | — |
| invalid.unimplemented | #ffffff | — |
| source.json meta.structure.dictionary.json > string.quoted.json | #c6cbcc | — |
| source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string | #c6cbcc | — |
| 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 | #95d1be | — |
| source.json meta.structure.dictionary.json > constant.language.json,source.json meta.structure.array.json > constant.language.json | #92c8d5 | — |
| meta.function.decorator.python | #d4d4d4 | — |
| support.token.decorator.python,meta.function.decorator.identifier.python | #92c8d5 | — |
| function.parameter | #c6cbcc | — |
| function.brace | #c6cbcc | — |
| function.parameter.ruby, function.parameter.cs | #c6cbcc | — |
| constant.language.symbol.ruby | #92c8d5 | — |
| rgb-value | #92c8d5 | — |
| inline-color-decoration rgb-value | #ecc77c | — |
| less rgb-value | #ecc77c | — |
| selector.sass | #c6cbcc | — |
| support.type.primitive.ts,support.type.builtin.ts,support.type.primitive.tsx,support.type.builtin.tsx | #d19577 | — |
| block.scope.end,block.scope.begin | #c6cbcc | — |
| storage.type.cs | #d19577 | — |
| entity.name.variable.local.cs | #c6cbcc | — |
| token.info-token | #d4d4d4 | — |
| token.warn-token | #ecc77c | — |
| token.error-token | #f44747 | — |
| token.debug-token | #d17b8d | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #d17b8d | — |
| meta.template.expression | #c6cbcc | — |
| keyword.operator.module | #d17b8d | — |
| support.type.type.flowtype | #d4d4d4 | — |
| support.type.primitive | #d19577 | — |
| meta.property.object | #c6cbcc | — |
| variable.parameter.function.js | #c6cbcc | — |
| keyword.other.template.begin | #95d1be | — |
| keyword.other.template.end | #95d1be | — |
| keyword.other.substitution.begin | #95d1be | — |
| keyword.other.substitution.end | #95d1be | — |
| keyword.operator.assignment | #92c8d5 | — |
| keyword.operator.arithmetic.go, keyword.operator.address.go, keyword.operator.assignment.go | #92c8d5 | — |
| entity.name.package.go, source.go | #d19577 | — |
| keyword.type.go,keyword.function.go | #d17b8d | — |
| punctuation.quasi.element | #d17b8d | — |
| constant.character.entity | #c6cbcc | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class | #92c8d5 | — |
| entity.global.clojure | #d19577 | — |
| meta.symbol.clojure | #c6cbcc | — |
| constant.keyword.clojure | #92c8d5 | — |
| source.ini | #95d1be | — |
| meta.scope.prerequisites.makefile | #c6cbcc | — |
| source.makefile | #d19577 | — |
| storage.modifier.import.groovy | #d19577 | — |
| meta.method.groovy | #d4d4d4 | — |
| meta.definition.variable.name.groovy | #c6cbcc | — |
| meta.definition.class.inherited.classes.groovy | #95d1be | — |
| support.variable.semantic.hlsl | #d19577 | — |
| 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 | #d17b8d | — |
| text.variable, text.bracketed | #c6cbcc | — |
| support.type.swift, support.type.vb.asp | #d19577 | — |
| entity.name.label.cs, entity.name.scope-resolution.function.call, entity.name.scope-resolution.function.definition | #d19577 | — |
| entity.name.label.cs, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #c6cbcc | — |
| meta.brace.square | #c6cbcc | — |
| comment, punctuation.definition.comment | #7d7b74 | — |
| markup.quote.markdown | #7f848e | — |
| punctuation.definition.block.sequence.item.yaml | #c6cbcc | — |
| constant.language.symbol.elixir | #92c8d5 | — |
| markup.italic.markdown | — | italic |
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}!`;
}