Monokai Dark Soda Modified
Publisher: DengSirThemes in package: 1
Monokai Dark Soda Modified
Monokai Dark Soda Modified
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 |
|---|---|---|
| — | #d4d4d4ff | — |
| comment, string.quoted.docstring, constant.regexp.hotdoc | #8C8C8C | italic |
| string | #FFEE99 | — |
| constant.numeric | #FF80F4 | — |
| constant.language | #FF80F4 | — |
| constant.character, constant.other | #FF80F4 | — |
| variable | — | — |
| keyword | #F92672 | — |
| keyword.operator | #80ffff | — |
| keyword.operator.logical | #8080c0 | — |
| keyword.codetag | #FF0000 | italic bold underline |
| storage | #ff80ff | — |
| storage.type | #66D9EF | — |
| entity.name.class, entity.name.type.class | #A6E22E | underline |
| entity.other.inherited-class | #A6E22E | italic underline |
| entity.name.function | #A6E22E | — |
| variable.parameter | #FD971F | — |
| entity.name.tag | #F92672 | — |
| entity.other.attribute-name | #A6E22E | — |
| support.function | #66D9EF | — |
| support.constant | #66D9EF | — |
| support.type, support.class | #66D9EF | — |
| support.other.variable | — | — |
| support.other.namespace, entity.name.type.namespace | #FFB2F9 | — |
| 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 | #FF000080 | bold |
| text source | — | — |
| 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 | — |
| entity.name.function.decorator.python, meta.function.decorator.python | #b1bc52 | — |
| meta.function-call.generic | #51a8ff | — |
| variable.language.special | #8080ff | — |
| meta.function-call.arguments | #d4d4d4ff | — |
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}!`;
}