loong Solarized Dark C/C++
Publisher: yinloongaThemes in package: 2
Based on Solarized Dark, adapted for C/C++ UI
Based on Solarized Dark, adapted for C/C++ UI
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 |
|---|---|---|
| source.python | #34A853 | — |
| support.type.python | #cb4b16 | — |
| meta.member.access.python | #61AFEF | — |
| meta.function-call.arguments.python | #34A853 | italic |
| comment.block, comment.block.documentation, punctuation.definition.comment.begin, punctuation.definition.comment.end, string.quoted.docstring.multi.python, string.quoted.docstring.raw.multi.python | #8B95A5 | italic |
| comment.line, comment.line.double-slash, comment.line.number-sign | #8B95A5 | — |
| variable.parameter.function-call.python | #9A8CF7 | |
| meta.function-call.generic.python | #B07D1A | — |
| constant.numeric.float.python, constant.numeric.integer.python, constant.numeric.dec.python, constant.numeric.binary.python, constant.numeric.exponent.decimal.python, keyword.other.unit.exponent.decimal.cpp, keyword.other.unit.binary.python, keyword.operator.minus.exponent.decimal.python, keyword.other.unit.suffix.floating-point.python, constant.numeric.decimal.point.cpp | #CFCFC2 | |
| punctuation.definition.parameters.begin.python, punctuation.definition.parameters.end.python, punctuation.definition.arguments.begin.python, punctuation.definition.arguments.end.python, punctuation.definition.list.begin.python, punctuation.definition.list.end.python, punctuation.definition.dict.begin.python, punctuation.definition.dict.end.python, keyword.operator.assignment.python, punctuation.separator.period.python, string.quoted.single.python, keyword.operator.comparison.python, punctuation.separator.colon.python, punctuation.separator.comma.python, punctuation.parenthesis.begin.python, punctuation.parenthesis.end.python, punctuation.separator.element.python, punctuation.separator.arguments.python, punctuation.definition.decorator.python | #CFCFC2 | |
| constant.other.caps.python | #8FAE00 | underline |
| meta.attribute.python | #61AFEF | |
| keyword.control.flow.python, keyword.control.import.python, keyword.operator.logical.python, keyword.control.conditional.python, keyword.control.loop.python, keyword.control.exception.python, keyword.control.return.python, storage.type.function.python, storage.type.class.python | #EA1D2C | |
| support.function.magic.python | #DEA628 | italic |
| storage.type.function.lambda.python | #DEA628 | bold |
| meta.item-access.arguments.python | #2aa198 | — |
| constant.language.python | #2aa198 | — |
| meta.function.decorator.python | #dea628 | — |
| log.error | #af1f1f | bold |
| meta.structure.dictionary.json string.quoted.double.json | #CFCFC2 | — |
| meta.diff, meta.diff.header | #75715E | — |
| markup.deleted | #F92672 | — |
| markup.inserted | #A6E22E | — |
| markup.changed | #E6DB74 | — |
| constant.numeric.line-number.find-in-files - match | #AE81FFA0 | — |
| entity.name.filename.find-in-files | #E6DB74 | — |
| markup.quote | #F92672 | — |
| 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 | italic |
| 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 | — | italic |
| markup.list.unnumbered.markdown, markup.list.numbered.markdown | #f8f8f2 | — |
| punctuation.definition.list.begin.markdown | #A6E22E | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
| keyword.operator.assignment.shell, constant.character.escape.line-continuation.shell, punctuation.definition.subshell.single.shell | #FF5733 | bold |
| support.function.builtin.shell | #DEA628 | bold |
| variable.other.normal.shell | #009688 | bold |
| variable.other.assignment.shell | #8BC34A | — |
| string.quoted.single.shell, string.quoted.double.shell, string.unquoted.shell, string.unquoted.argument.shell | #9A8CF7 | — |
| entity.name.command.shell, storage.modifier.export.shell | #CB4B16 | — |
| constant.other.option | #4FB7C5 | — |
| support.type.property-name.json.comments | #CB4B16 | — |
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}!`;
}