PhpStorm Dark (Unofficial)
Publisher: MajinThemes in package: 1
Port of PhpStorm 2025 Dark (parent: Darcula) for VS Code/Cursor. Not affiliated with JetBrains.
Port of PhpStorm 2025 Dark (parent: Darcula) for VS Code/Cursor. Not affiliated with JetBrains.
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.line | #7A7E85 | italic |
| comment.block.documentation, comment.block.jsdoc, comment.block.phpdoc | #5F826B | italic |
| comment.block.documentation entity.other.attribute-name, comment.block.documentation keyword, keyword.other.phpdoc, storage.type.class.phpdoc | #67A37C | — |
| string, string.quoted, string.template | #6AAB73 | — |
| constant.character.escape, string.escape | #CF8E6D | — |
| invalid.illegal.escape | #F75464 | underline |
| constant.numeric, constant.language.boolean, constant.language.null | #2AACB8 | — |
| constant.other, variable.other.constant | #C77DBB | italic |
| keyword, storage, storage.type, storage.modifier | #CF8E6D | — |
| entity.name.function, support.function, meta.function-call, meta.function-call entity.name.function, variable.function | #56A8F5 | — |
| entity.name.type, entity.name.class, support.class, support.type, support.class.builtin, entity.other.inherited-class, meta.use support.class, meta.namespace support.class, meta.use entity.name.type | #DFE1E5 | — |
| variable.other.php, variable.parameter.php, variable.other.global.php, variable.other.member.php, variable.language.this.php, punctuation.definition.variable.php | #C77DBB | — |
| variable.other.member, meta.property.object, support.variable.property | #C77DBB | — |
| entity.name.tag, meta.tag, punctuation.definition.tag | #D5B778 | — |
| support.class.component, entity.name.tag.custom | #2FBAA3 | — |
| entity.other.attribute-name | #BCBEC4 | — |
| constant.character.entity, punctuation.definition.entity | #56A8F5 | — |
| support.type.property-name.css, support.type.vendored.property-name.css | #BCBEC4 | — |
| support.constant.color.w3c-standard-color-name.css | #56A8F5 | — |
| variable.parameter.url, variable.parameter.url.css, string.quoted.url.css | #5C92FF | — |
| keyword.other.important | #CF8E6D | bold |
| string.regexp | #42C3D4 | — |
| constant.other.character-class.set.regexp | #B2AE60 | bold |
| constant.character.escape.regexp | #CF8E6D | — |
| keyword.operator.quantifier.regexp, punctuation.definition.group.regexp, punctuation.section.regexp | #BCBEC4 | — |
| invalid.deprecated.escape.regexp | #6F7587 | italic |
| markup.underline.link, markup.underline.link.image, meta.link.inline | #56A8F5 | — |
| storage.type.annotation, meta.annotation, entity.name.tag.yaml | #B3AE60 | — |
| variable.other.property, variable.other.property.php, variable.other.member, variable.other.member.php, support.variable.property, support.variable.property.php, meta.property, meta.property.object, meta.property.object.php | #C77DBB | — |
| keyword.other.phpdoc, storage.type.phpdoc, entity.name.tag.phpdoc, entity.name.tag.documentation, comment.block.documentation keyword, comment.block.documentation storage, support.type.throws.phpdoc, punctuation.definition.keyword.phpdoc | #67A37C | — |
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}!`;
}