Familiar Java Themes
Publisher: 0dinDThemes in package: 6
Familiar color themes inspired by Java IDEs like Eclipse and IntelliJ IDEA.
Familiar color themes inspired by Java IDEs like Eclipse and IntelliJ IDEA.
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.tag.xml, punctuation.separator.key-value.java-properties | #808080 | — |
| keyword.other.documentation.javadoc.java | #9A8C7C | bold |
| source.json comment | #3F5FBF | — |
| support.type.property-name.json | #BED6FF | — |
| entity.other.attribute-name.localname.xml, entity.other.attribute-name.xml, variable.language.documentroot.xml | #A7EC21 | — |
| entity.name.tag.localname.xml, entity.name.tag.xml, keyword.other.doctype.xml | #03A8D8 | bold |
| constant.character.entity.xml | #DD2867 | — |
| meta.tag.preprocessor.xml punctuation.definition.tag.xml | #0394BE | — |
| entity.name.tag.yaml, source.yaml constant.language, markup.heading.markdown, markup.inline.raw.string.markdown, markup.fenced_code.block.markdown, source.editorconfig keyword.other.definition, source.editorconfig constant.language.boolean | #569CD6 | — |
| markup.italic.markdown | — | italic |
| markup.bold.markdown | — | bold |
| markup.bold.markdown markup.italic.markdown | — | bold italic |
| string.unquoted.plain.out.yaml, string.quoted.double.yaml, string.quoted.single.yaml, source.editorconfig constant.language | #CE9178 | — |
| source.yaml constant.numeric, source.editorconfig constant.numeric | #B5CEA8 | — |
| markup.heading.markdown | — | bold |
| meta.embedded.block, variable.language.wildcard.java | #D9E8F7 | — |
| markup.quote.markdown | #265691 | — |
| entity.name.type.class.java, entity.name.type.enum.java, entity.other.inherited-class.java, storage.type.java, variable.other.object.java, storage.type.generic.java, storage.type.object.array.java, punctuation.separator.java, storage.modifier.package.java, storage.modifier.import.java | #1290C3 | — |
| constant.other.enum.java | #66E1F8 | italic bold |
| punctuation.definition.annotation.java, storage.type.annotation.java | #A0A0A0 | italic |
| variable.other.definition.java | #F2F200 | — |
| variable.parameter.java | #79ABFF | — |
| entity.name.function.java | #A7EC21 | — |
| storage.modifier.java, storage.modifier.extends.java, storage.modifier.super.java, storage.modifier.implements.java, storage.type.primitive.java, storage.type.primitive.array.java, constant.language.java, keyword.other.import.java, keyword.other.package.java, keyword.control.java, keyword.control.new.java, keyword.control.try.java, keyword.control.catch.java, keyword.control.finally.java, keyword.control.throw.java, keyword.operator.instanceof.java, variable.language.java, variable.language.this.java, variable.other.object.property.java, punctuation.terminator.java, constant.character.escape, support.constant.java-properties | #CC6C1D | — |
| constant.numeric | #6897BB | — |
| constant.numeric.json | #D25242 | — |
| constant.language.json | #03A8D8 | — |
| string.quoted.double, string.quoted.single, string.unquoted.java-properties | #17C6A3 | — |
| string.quoted.double.json | #FFC600 | italic bold |
| string.quoted.double.xml | — | italic |
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}!`;
}