WebStorm New UI Theme
Publisher: eenareeThemes in package: 4
A theme that looks similar to WebStorm New UI
A theme that looks similar to WebStorm New 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 |
|---|---|---|
| comment | #8c8c8c | italic |
| storage.type.class.jsdoc | #080808 | italic underline |
| meta.attribute-selector string.unquoted.attribute-value, meta.property-value variable.argument.css, keyword, keyword.operator.new, keyword.operator.expression, storage, support.type, support.constant.parity.css, constant.language, constant.other.scss, constant.other.color.rgb-value, variable.language, variable.key.dotenv, variable.parameter.keyframe-list.css, variable.parameter.misc.css, entity.name.tag, entity.name.command, entity.other.attribute-name.id, entity.other.attribute-name.id punctuation.definition.entity, entity.other.attribute-name.class, entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element, entity.other.attribute-name.css, entity.other.attribute-name.scss, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.parent-selector-suffix punctuation.definition.entity, entity.other.attribute-name.placeholder.css, entity.other.attribute-name.placeholder.css punctuation.definition.entity, entity.other.keyframe-offset, constant.character.escape, punctuation.definition.markdown, punctuation.definition.raw.markdown, punctuation.definition.bold.markdown, punctuation.definition.italic.markdown, punctuation.definition.list.begin.markdown, punctuation.definition.quote.begin.markdown, source.css entity.name.function, source.css support.constant.language-range, source.css support.function | #0133b3 | |
| punctuation.definition.heading.markdown | #0133b3 | italic |
| entity.name.type.module, entity.name.constant, variable.other.object, variable.other.property, variable.other.object.property, variable.other.constant.property, variable.other.enummember, variable.scss, meta.object-literal.key, meta.definition.property, support.type.property-name.json, support.variable.property, fenced_code | #861194 | |
| markup.heading | #861194 | italic |
| source.css support.constant, string, markup.inline.raw, markup.quote, punctuation.definition.string, punctuation.definition.metadata.markdown, punctuation.separator.key-value.html, property.value.dotenv, keyword.other.unit, constant.other.character-class.set.regexp, constant.other.character-class.range.regexp, meta.at-rule.each keyword.control.operator, meta.attribute-selector, meta.tag.attributes keyword.operator.assignment | #077d18 | — |
| keyword.control.at-rule.mixin.scss, entity.name.type.parameter, meta.type.parameters entity.name.type, meta.type.infer entity.name.type, variable.other.constant, variable.other.readwrite, support.type.object.module | #238f8f | — |
| source.vue punctuation.attribute-shorthand, meta.property-list variable.css, entity.other.attribute-name, support.type.property-name, support.type.vendored.property-name, constant.other.character-class.regexp | #174ad4 | — |
| constant.numeric, keyword.operator.quantifier.regexp, string.regexp punctuation.definition.string, string.regexp keyword.other | #1750eb | — |
| meta.embedded, meta.at-rule.media keyword.control.operator, meta.at-rule.for keyword.control.operator, meta.tag.metadata.doctype.html entity.name.tag, variable.interpolation, variable.other.jsdoc, entity.name.type, entity.name.function.tagged-template, constant.language.import-export-all, string variable, source.yaml string.unquoted, source.yaml constant.language.boolean, keyword.generator.asterisk, keyword.operator, keyword.other.unit.percentage, keyword.other.back-reference.regexp, punctuation.accessor, punctuation.definition.entity, punctuation.separator.key-value, punctuation.definition.template-expression, punctuation.definition.attribute-selector, punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, storage.type.function.arrow | #080808 | — |
| string.other.link, constant.other.reference.link, punctuation.definition.link.title.begin.markdown, punctuation.definition.link.title.end.markdown, punctuation.definition.link.description.begin.markdown, punctuation.definition.link.description.end.markdown | #016dcc | underline |
| string.other.link.description.title.markdown | #016dcc | |
| entity.name.function | #006279 | |
| markup.underline.link | #006279 | italic |
| punctuation.decorator, meta.decorator entity.name.function | #9e880d | — |
| support.class.component | #ad6339 | — |
| invalid | #f50000 | — |
| markup.italic | — | italic |
| markup.bold | — | bold |
| markup.strikethrough | — | strikethrough |
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}!`;
}