Kinda Monokai Dark
Publisher: Brais CaoThemes in package: 1
A custom theme based on Monokai Dark with brighter font colors and darker backgrounds
A custom theme based on Monokai Dark with brighter font colors and darker backgrounds
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 |
|---|---|---|
| comment, punctuation.definition.comment | #8C8C8C | italic |
| string | #FFEE99 | — |
| constant.numeric | #FF80F4 | — |
| constant.language | #FF80F4 | — |
| constant.character, constant.other | #FF80F4 | — |
| keyword | #F92672 | italic |
| storage | #F92672 | |
| storage.type | #66D9EF | italic |
| variable.other.property.ts | #cc99ff | — |
| entity.name.class, entity.name.type | #A6E22E | underline |
| entity.other.inherited-class | #A6E22E | italic underline |
| entity.name.function | #A6E22E | |
| variable.parameter | #FD971F | italic |
| entity.name.tag | #F91672 | |
| entity.other.attribute-name | #A6E22E | |
| support.function | #66d9EF | |
| support.constant | #1ae177 | |
| support.class | #1ae177 | italic |
| support.other.variable | #c891ff | italic |
| support.other.namespace, entity.name.type.namespace | #FFB2F9 | — |
| support.type.object.module | #1ae177 | — |
| entity.name.type.alias | #1ae177 | italic underline |
| entity.name.type.interface | — | italic underline |
| support.other.namespace.use-as.php | #66D9EF | — |
| variable.language.namespace.php | #D66990 | — |
| punctuation.separator.inheritance.php | #F92672 | — |
| support.function.misc.css, support.constant.property-value.css, support.constant.font-name.css | #FFEE99 | — |
| meta.tag.template.value.twig, meta.tag.template.block.twig | #CD5AC5 | — |
| keyword.control.twig | #E05D8C | — |
| variable.other.twig | #E5A5E0 | — |
| variable.other.property.twig | #FFE1FC | — |
| constant.language.twig | #FFD2A6 | — |
| constant.numeric.twig | #FFD0FB | — |
| support.function.twig | #90E7F7 | — |
| meta.function-call.other.twig | #FAB85A | — |
| meta.function-call.twig | #FAB85A | — |
| invalid | #F8F8F0 | |
| invalid.deprecated | #F8F8F0 | — |
| meta.diff, meta.diff.header | #E0EDDD | bold |
| markup.deleted | #D3201F | |
| markup.changed | #BF3904 | |
| markup.inserted | #60cf30 | — |
| meta.diff, meta.diff.range | #3bc0f0 | — |
| markup.heading.markdown, markup.heading.1.markdown, markup.heading.2.markdown | #A6E22E | — |
| markup.bold.markdown | #F8F8F2 | bold |
| markup.italic.markdown | #F8F8F2 | italic |
| punctuation.definition.bold.markdown, punctuation.definition.italic.markdown, punctuation.definition.raw.markdown | #D3201F | — |
| markup.list.unnumbered.markdown | #FF80F4 | — |
| markup.list.numbered.markdown | #FF80F4 | — |
| markup.raw.block.markdown, markup.raw.inline.markdown | #FFEE99 | — |
| markup.quote.markdown, punctuation.definition.blockquote.markdown | #6C71C4 | — |
| meta.separator.markdown | #FF80F4 | — |
| meta.image.inline.markdown, markup.underline.link.markdown | #8C8C8C | italic |
| string.other.link.title.markdown, string.other.link.description.markdown | #A6E22E | — |
| punctuation.definition.link.markdown | #8C8C8C | — |
| punctuation.definition.metadata.markdown | #8C8C8C | — |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.constant.markdown | #8C8C8C | — |
| variable.other.property | #ffffff | — |
| variable | #ffffff | — |
| punctuation.section.embedded | #FD971F | italic |
| variable.language | #ff8fdd | italic |
| punctuation.definition.template-expression | #d7d2ff | — |
| string.template, punctuation.definition.string.template | #FFEE99 | — |
| source.js meta, source.ts meta | #d7d2ff | — |
| support | #1ae177 | italic |
| support.function | #f92672 | — |
| source.json support | #66D9EF | — |
| source.css variable, source.stylus variable | #FD971F | — |
| source.css support, source.stylus support | #66D9EF | — |
| punctuation | #e1efff | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #FFEE99 | — |
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}!`;
}