Minimal Fedu
Publisher: DjThemes in package: 1
Chilled palette and easy to read code coloring for the whole editor.
Chilled palette and easy to read code coloring for the whole editor.
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, comment punctuation | #5D6971 | — |
| comment.block.preprocessor | #5D6971 | |
| string, meta.property-value.string, support.constant.property-value.string | #fcb650 | — |
| constant.numeric, meta.property-value.numeric, support.constant.property-value.numeric, meta.property-value.color, support.constant.property-value.color | #fcb650 | — |
| constant.language | #87BCD1 | — |
| constant.character, constant.other | #678CB1 | — |
| keyword, meta.property-value.keyword, support.constant.property-value.keyword | #97CCF1 | — |
| storage | #678CB1 | — |
| storage.type | #678CB1 | — |
| entity.name.class | #FAFAFA | — |
| entity.other.inherited-class | #FAFAFA | — |
| entity.name.function | #E0E2E4 | — |
| variable.parameter | #E0E2E4 | — |
| entity.name.tag | #FAFAFA | |
| entity.other.attribute-name | #E0E2E4 | — |
| support.function | #E0E2E4 | |
| support.constant | #E0E2E4 | — |
| support.type, support.class | #E0E2E4 | — |
| invalid | #f8f8f0 | |
| invalid.deprecated | #f8f8f0 | — |
| meta.structure.dictionary.json string.quoted.double.json | #B0A17D | — |
| meta.diff, meta.diff.header | #75715E | — |
| markup.deleted | #A6E22E | — |
| markup.inserted | #F85931 | — |
| markup.changed | #E6DB74 | — |
| entity.name.filename.find-in-files | #E6DB74 | — |
| keyword.other | #E0E2E4 | — |
| meta.property-value, support.constant.property-value | #BFBCB6 | — |
| meta.structure.dictionary.json string.quoted.double.json | #678CB1 | — |
| meta.structure.dictionary.value.json string.quoted.double.json | #F0F0F0 | — |
| entity.name, entity.other.attribute-name, entity.other.attribute-name.html, support.type.property-name, entity.name.tag.table | #9DA9B1 | normal |
| meta.property-value punctuation.separator.key-value | #7D8991 | — |
| keyword.other.use, keyword.other.function.use, keyword.other.namespace, keyword.other.new, keyword.other.special-method, keyword.other.unit, keyword.other.use-as | #FF8F2E | — |
| variable.parameter.function.coffee | #FFE32E | italic |
| entity.name.section.md, entity.name.type.md | #7D8991 | — |
| punctuation.definition.heading.md, entity.name.type.md | #7D8991 | — |
| markup.raw.inline.md, variable.md | #CFCCC6 | — |
| punctuation.definition.metadata.md, string.link.md | #B8A07D | — |
| markup.underline.link.md, markup.underline.link.image.md, meta.image.inline.mamdrkdown | #FF8F2E | italic |
| markup.raw.block.md | #00a8c6 | — |
| markup.deleted.git_gutter | #e61f44 | — |
| markup.inserted.git_gutter | #a7da1e | — |
| markup.changed.git_gutter | #f7b83d | — |
| entity.other.attribute-name.class.css | #CFCCC6 | — |
| punctuation, keyword.operator, delimiter.tag, punctuation.tag, tag.xml, tag.html | #FAFAFA | — |
| tag.xml, tag.html | #7D8991 | — |
| variable | #FAFAFA | — |
| variable.language.makefile, variable.other.makefile | #7D8991 | — |
| delimiter | #678CB1 | — |
| meta.property-name.css | #7D8991 | — |
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}!`;
}