Monokai Dark Soda ZJY
Publisher: junye zhangThemes in package: 1
A fork of Monokai Dark Soda with brighter UI text, soft gray-white selection, Cursor chat tweaks, and LSP-aware constant highlighting.
A fork of Monokai Dark Soda with brighter UI text, soft gray-white selection, Cursor chat tweaks, and LSP-aware constant highlighting.
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, constant.language, constant.character, constant.other, variable.other.constant, variable.other.enummember, variable.other.readonly, support.constant, entity.name.constant | #AE81FF | — |
| variable | — | |
| keyword | #F92672 | — |
| storage | #F92672 | |
| storage.type | #66D9EF | italic |
| entity.name.class | #A6E22E | underline |
| entity.other.inherited-class | #A6E22E | italic underline |
| entity.name.function | #A6E22E | |
| variable.parameter | #FD971F | italic |
| entity.name.tag | #F92672 | |
| entity.other.attribute-name | #A6E22E | |
| support.function | #66D9EF | |
| support.type, support.class | #66D9EF | italic |
| support.other.variable | — | |
| namespace, entity.name.namespace, entity.name.type.namespace, support.other.namespace, meta.namespace, meta.package, keyword.other.package, storage.modifier.package | #569CD6 | — |
| 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, constant.numeric.twig | #AE81FF | — |
| support.function.twig | #90E7F7 | — |
| meta.function-call.other.twig | #FAB85A | — |
| meta.function-call.twig | #FAB85A | — |
| invalid | #F8F8F0 | |
| invalid.deprecated | #F8F8F0 | — |
| 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 | #AE81FF | — |
| markup.list.numbered.markdown | #AE81FF | — |
| markup.raw.block.markdown, markup.raw.inline.markdown | #FFEE99 | — |
| markup.quote.markdown, punctuation.definition.blockquote.markdown | #6C71C4 | — |
| meta.separator.markdown | #AE81FF | — |
| 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 | — |
| punctuation.definition.template-expression, punctuation.section.embedded | #F92672 | — |
| meta.template.expression | #F8F8F2 | — |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
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}!`;
}