Dreamweaver Dark Theme
Publisher: Gaga-DevThemes in package: 3
Dreamweaver Dark Theme. Focused on color scheme for PHP, JS, HTML and CSS at the moment.
Dreamweaver Dark Theme. Focused on color scheme for PHP, JS, HTML and CSS at the moment.
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.comment | #777777 | italic |
| variable.parameter, variable, string constant.other.placeholder | #a26ec5 | — |
| constant.other.color | #E4B067 | — |
| invalid, invalid.illegal | #FF5370 | — |
| keyword.control, keyword, storage.type, storage.modifier, storage.type.function.php, meta.function.php, support.function.construct.output.php, meta.embedded.block.php, entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter, entity.other.attribute-name, keyword.operator.logical.php | #5494FB | — |
| variable.function, keyword.other.special-method | #E4B067 | — |
| meta.block variable.other | #f07178 | — |
| support.other.variable, string.other.link | #f07178 | — |
| constant.numeric, support.constant.media.css, constant.character, constant.escape, keyword.other.unit.ms.css, keyword.other.unit, keyword.other | #5ab856 | — |
| support.constant, string, constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #E4B067 | |
| support.type, support.class, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #FFCB6B | — |
| support.type | #0095cf | — |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name, support.type.vendored.property-name.css | #a26ec5 | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #FF5370 | — |
| variable.language | #FF5370 | italic |
| entity.name.method.js | #fbfdff | italic |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #82AAFF | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #5ab856 | italic |
| entity.other.attribute-name.class, constant.numeric.css, keyword.other.unit.percentage.css, keyword.other.unit.px.css | #5ab856 | — |
| source.sass keyword.control | #b10c0c | — |
| markup.inserted | #C3E88D | — |
| markup.deleted | #FF5370 | — |
| markup.changed | #C792EA | — |
| string.regexp | #89DDFF | — |
| *url*, *link*, *uri* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #82AAFF | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #FF5370 | italic |
| source.json meta.structure.dictionary.json support.type.property-name.json | #003ad8 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #003ad8 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #FF5370 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #C17E70 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #82AAFF | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #f07178 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #C792EA | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #C3E88D | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #EEFFFF | — |
| text.html.markdown markup.inline.raw.markdown | #C792EA | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #65737E | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #C3E88D | — |
| markup.italic | #f07178 | italic |
| markup.bold, markup.bold string | #f07178 | bold |
| markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string | #f07178 | bold |
| markup.underline | #F78C6C | underline |
| string.other.link.title.markdown | #82AAFF | — |
| string.other.link.description.title.markdown | #C792EA | — |
| constant.other.reference.link.markdown | #FFCB6B | — |
| markup.raw.block | #C792EA | — |
| markup.raw.block.fenced.markdown | #00000050 | — |
| punctuation.definition.fenced.markdown | #00000050 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #EEFFFF | — |
| variable.language.fenced.markdown | #65737E | — |
| markup.table | #EEFFFF | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
| punctuation.definition.tag.begin.html, meta.tag.metadata.doctype.html, entity.name.tag.open.php, support.class.component.open.php, support.function.construct.php | #3485fb | — |
| punctuation.definition.tag.end.html, meta.tag.structure.head.start.html, entity.name.tag.close.php, support.class.component.close.php, string.json.comments, source.json.comments, support.type.property-name.json, string.json, meta.structure.dictionary.json, source.json, keyword.other.use.php, support.function.construct.php, meta.function-call.php, source.json.comments, meta.embedded.block.php, text.html.php, keyword.control.import.include.php, keyword.other.new.php | #5d95ff | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php, meta.embedded.block.php, keyword.other.important.css, punctuation.section.embedded.end.php, keyword.control.at-rule.media.css | #e8685c | — |
| support.other.namespace.php, support.function.filter.php, support.class.php, text.html.php, variable, support.class.builtin.php, meta.structure.dictionary.json.comments, source.json punctuation.separator.array.json.comments, source.json.comments, punctuation.definition.dictionary.end.json.comments, punctuation.definition.dictionary.begin.json.comments, meta.function-call.php entity.name.function.php, variable.parameter.keyframe-list.css, support.function.misc.css | #d6d6d6 | — |
| punctuation.definition.variable.php, variable.other.php, meta.function.php entity.name.function.php, meta.function.php, string.quoted.double.html, meta.attribute.src.html, meta.tag.metadata.script.start.html, meta.embedded.block.html, variable.other.global.safer.php, meta.object-literal.key.js, meta.object.member.js, meta.objectliteral.js, variable.other.property.js, variable.language.this.php, entity.name.type.class.php, support.function.constructor.php, variable.other.global.php, punctuation.separator.delimiter.php, support.type.property-name.json.comments, source.json meta.structure.dictionary.json support.type.property-name.json, source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json, source.js entity.name.function | #b293f0 | — |
| meta.tag.metadata.script.start.html, punctuation.section.array.begin.php, punctuation.section.array.end.php, variable.other.object.js, meta.function-call.php, entity.name.function, meta.function-call, meta.tag, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution, meta.embedded.line.php, punctuation.separator.delimiter.php, meta.attribute.src.html, meta.embedded.line.php, text.html.php, support.function.mbstring.php, meta.embedded.block.php, text.html.php, keyword.other.type.php, entity.other.inherited-class.php, keyword, constant.other.php, support.class.exception.php, keyword.operator.class.php, source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json, meta.structure.dictionary.json, variable.other.readwrite.js, punctuation.definition.arguments.begin.bracket.round.php, punctuation.definition.arguments.end.bracket.round.php, punctuation.terminator.expression.php, meta.block variable.other, meta.method-call.php, meta.property-value.css, meta.property-list.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-class.css punctuation.definition.entity.css, entity.other.attribute-name.pseudo-element.css, punctuation.separator.key-value.css, punctuation.separator.list.comma.css | #d6d6d6 | — |
| support.function.output.php, meta.function-call.php, support.function.string.php, support.function.mysql.php, entity.name.tag.html, support.function.network.php, support.function.session.php, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, entity.name.tag.css, entity.other.attribute-name.css | #1ba9cf | — |
| keyword.operator.key.php, support.function, keyword.operator.assignment.php, keyword.operator.comparison.php, entity.other.attribute-name.id.css punctuation.definition.entity.css, keyword.operator.logical.only.media.css, keyword.operator.logical.and.media.css | #15b8c9 | — |
| support.function.aggregate.sql, keyword.other.DML.II.sql, keyword.other.DML.sql, keyword.other.sql, support.constant, punctuation.definition.constant.css, constant.other.color.rgb-value.hex.css, string.quoted.double.css, source.css, string.quoted.single.sql, storage.modifier.sql, storage.type.sql, string.quoted.double.php, punctuation.definition.string.begin.php, punctuation.definition.string.end.php, string.quoted.single.php, keyword.otheD4B44Ar.alias.sql, string.quoted.other.backtick.sql, keyword.other.order.sql, constant.numeric.sql, support.function.expression.sql, constant.language, string.quoted.single.js, string.quoted.double.js, string.regexp.single-quoted.php, string.regexp.double-quoted.php, keyword.operator.star.sql, constant.character.escape, keyword.operator.comparison.sql, keyword.other.alias.sql, keyword.other.data-integrity.sql, keyword.other.DDL.create.II.sql | #e4b067 | — |
| support.constant | #ffffffc7 | — |
| entity.other.attribute-name.id.css, entity.other.attribute-name.html | #15B8C9 | — |
| keyword.control.at-rule.keyframes.css, keyword.control.at-rule.font-face.css | #fd6d75 | — |
| string.quoted.double.html, meta.tag.metadata.doctype.html, support.constant.property-value.css, string.quoted.double.html, support.function.transform.css, support.function.gradient.css, support.function.misc.css, support.function.url.css, variable.parameter.url.css | #e8b462 | — |
| storage.type.function.js, storage.type.js, keyword.control.conditional.js, variable.language | #17aec9 | — |
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}!`;
}