Saudi Culture Themes
Publisher: farisThemes in package: 6
Saudi Culture Themes is a VS Code and Cursor theme pack inspired by Saudi heritage
Saudi Culture Themes is a VS Code and Cursor theme pack inspired by Saudi heritage
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 | #6F4A32 | italic |
| string, string.quoted, string.template | #00843D | — |
| constant.numeric, constant.language, constant.character, constant.other | #F88000 | — |
| keyword, storage, storage.type, storage.modifier | #D62828 | — |
| keyword.operator, punctuation, meta.brace, meta.delimiter | #1B1416 | — |
| entity.name.function, support.function, meta.function-call, variable.function | #0057B8 | — |
| entity.name.type, entity.name.class, support.type, support.class, entity.other.inherited-class | #00843D | — |
| variable, variable.parameter, meta.definition.variable | #1B1416 | — |
| variable.other.property, support.variable.property, meta.property-name | #9D6B56 | — |
| entity.name.function.decorator, meta.decorator, storage.type.annotation, entity.other.attribute-name | #A89063 | — |
| entity.name.tag, support.class.component | #D62828 | — |
| entity.other.attribute-name.html, entity.other.attribute-name.xml | #F88000 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.name.tag.css | #00843D | — |
| support.type.property-name.css, support.type.vendored.property-name.css | #0057B8 | — |
| string.regexp, constant.character.escape | #F88000 | — |
| markup.heading, entity.name.section.markdown | #D62828 | bold |
| markup.underline.link, string.other.link | #0057B8 | — |
| markup.italic | #9D6B56 | italic |
| markup.bold | #1B1416 | bold |
| support.type.property-name.json, support.type.property-name.json.comments | #9D6B56 | — |
| invalid, invalid.illegal | #FFFFF8 | — |
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}!`;
}