RainbowDrops
Publisher: WithOutCatThemes in package: 2
做给自己用的配色,个人非常喜欢,是基于以前eclipse上一个叫做rainbowdrops的配色
做给自己用的配色,个人非常喜欢,是基于以前eclipse上一个叫做rainbowdrops的配色
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.embedded, source.groovy.embedded | #D9E8F7 | — |
| comment | #808080 | — |
| string, punctuation.definition.string, support.constant.property-value, string.quoted.double.shell, support.function.variable.quoted.single.elixir, storage.type.string | #17c6a3a6 | — |
| punctuation.definition.template-expression, punctuation.section.embedded | #F92672 | — |
| meta.template.expression | #D9E8F7 | — |
| constant.numeric, constant.language, constant.other, constant.character | #9876AA | — |
| variable, source.elixir.embedded.source, string source.groovy, string meta.embedded.line.ruby | #FFBF26 | — |
| support.other.variable | #ED7F48 | bold |
| meta.object-literal.key, meta.object.member, variable.other.property, variable.other.object.property, support.variable.property, variable.object.property, support.type.property-name, meta.property-name, entity.name.tag.yaml, constant.other.key, constant.other.object.key.js, string.unquoted.label.js, support.type.map.key, variable.graphql, keyword.operator | #D9E8F7 | — |
| keyword, keyword.operator.expression, keyword.operator.type.asserts, keyword.operator.new, keyword.other.special-method.elixir, meta.control.flow, meta.link, markup.quote, markup.changed, variable.interpolation, variable.language, storage, storage.type, entity.name.tag | #DD2867 | bold |
| entity.name.type, entity.name.class, entity.name.namespace, entity.name.scope-resolution, support.type, support.class, entity.other.inherited-class | #1290C3 | — |
| entity.name.function, meta.require, meta.function-call, meta.method-call, variable.function, support.function, support.function.any-method | #1EB540 | — |
| variable.parameter, entity.other.attribute-name | #79ABFF | |
| support.constant | #66D9EF | |
| invalid | #D9E8F7 | |
| invalid.deprecated | #D9E8F7 | — |
| meta.diff, meta.diff.header | #75715E | — |
| markup.deleted | #F92672 | — |
| markup.inserted | #A6E22E | — |
| markup.changed | #E6DB74 | — |
| constant.numeric.line-number.find-in-files - match | #9876AAA0 | — |
| entity.name.filename.find-in-files | #E6DB74 | — |
| markup.list | #E6DB74 | — |
| markup.bold, markup.italic | #66D9EF | — |
| markup.inline.raw | #FD971F | |
| markup.heading | #A6E22E | — |
| markup.heading.setext | #A6E22E | bold |
| markup.heading.markdown | — | bold |
| markup.quote.markdown | #75715E | |
| markup.bold.markdown | — | bold |
| string.other.link.title.markdown,string.other.link.description.markdown | #AE81FF | — |
| markup.underline.link.markdown,markup.underline.link.image.markdown | #E6DB74 | — |
| markup.italic.markdown | — | |
| markup.list.unnumbered.markdown, markup.list.numbered.markdown | #D9E8F7 | — |
| punctuation.definition.list.begin.markdown | #A6E22E | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
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}!`;
}