Kurdish Theme
Publisher: miladkermanji8639Themes in package: 1
A modern, attractive VS Code theme inspired by your custom settings.
A modern, attractive VS Code theme inspired by your custom settings.
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, text | #b0b0b0 | — |
| support.type.property-name.css, support.type.property-name.scss, support.type.property-name.sass, support.type.property-name.less, support.type.property-name.stylus, support.type.property-name.postcss | #9CDCFE | — |
| support.constant.property-value.css, support.constant.property-value.scss, support.constant.property-value.sass, support.constant.property-value.less, support.constant.property-value.stylus, support.constant.property-value.postcss | #CE9178 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.other.attribute-name.class.scss, entity.other.attribute-name.id.scss, entity.other.attribute-name.class.sass, entity.other.attribute-name.id.sass | #D7BA7D | bold |
| constant.other.color.rgb-value.hex.css, constant.other.color.rgb-value.hex.scss, constant.other.color.rgb-value.hex.sass | #FF6B6B | — |
| support.function.gradient.css, meta.function.gradient.css, support.function.gradient.scss, support.function.gradient.sass | #61AFEF | italic |
| support.function.misc.css, meta.function.color.css, support.function.misc.scss, support.function.misc.sass | #7EDDBB | italic |
| variable.argument.css, meta.function.variable.css, support.function.var.css, variable.argument.scss, variable.argument.sass | #FFDFAE | — |
| support.function.transform.css, support.function.transform.scss, support.function.transform.sass | #61AFEF | italic |
| constant.numeric.css, constant.numeric.scss, constant.numeric.sass | #E5C07B | — |
| meta.property-list.css, meta.property-list.scss, meta.property-list.sass | #98C379 | — |
| variable.other.php | #D19A66 | — |
| entity.name.function.php, meta.function.php | #61AFEF | italic |
| entity.name.type.class.php, support.class.php, entity.other.inherited-class.php | #C678DD | bold |
| keyword.control.php, keyword.other.use.php, meta.use.php, storage.type.class.php, storage.modifier.extends.php, storage.modifier.php | #E06C75 | bold |
| string.quoted.single.php, string.quoted.double.php | #98C379 | — |
| constant.numeric.php | #E5C07B | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #FF6B6B | bold |
| entity.name.type.namespace.php, meta.namespace.php | #C678DD | bold |
| variable.language.this.php | #ffb86b | bold |
| variable.other.property.php | #baff7e | — |
| entity.name.function.js, entity.name.function.javascript | #6ee7ff | italic |
| variable.other.readwrite.js, variable.other.readwrite.javascript | #FFDFAE | — |
| string.quoted.double.js, string.quoted.single.js, string.quoted.double.javascript, string.quoted.single.javascript | #98C379 | — |
| constant.numeric.js, constant.numeric.javascript | #baff7e | — |
| variable.language.js, variable.language.javascript, support.class.builtin.js, support.class.builtin.javascript | #ffb86b | bold |
| variable.parameter.js, variable.parameter.function.js, variable Kinguage parameter.javascript | #7edfff | — |
| variable.other.object.js, variable.other.object.javascript | #ffb86b | bold |
| variable.other.property.js, variable.other.property.javascript | #baff7e | — |
| meta.object-literal.key.js, meta.object-literal.key.javascript | #ff7edb | bold |
| entity.name.tag.html, entity.name.tag.blade | #61AFEF | bold |
| entity.other.attribute-name.html, entity.other.attribute-name.blade | #D19A66 | italic |
| string.quoted.double.html, string.quoted.single.html, string.quoted.double.blade, string.quoted.single.blade | #98C379 | — |
| keyword.control.directive.blade, keyword.blade, meta.directive.blade | #C678DD | bold |
| variable.css, variable.other.css, variable.scss, variable.other.scss, variable.sass, variable.other.sass, variable.less, variable.other.less | #FFDFAE | — |
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}!`;
}