Chrome DevTools Theme
Publisher: goodbyteThemes in package: 3
Chrome DevTools Color Theme
Chrome DevTools Color Theme
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 |
|---|---|---|
| meta.tag.metadata.doctype.html entity.name.tag, meta.tag.metadata.doctype.html entity.other.attribute-name, meta.tag.metadata.doctype.html punctuation, meta.tag.metadata.doctype.html string, meta.tag.metadata.doctype.html, meta.tag.preprocessor.xml entity.name.tag, meta.tag.preprocessor.xml entity.other.attribute-name, meta.tag.preprocessor.xml punctuation, meta.tag.preprocessor.xml string, meta.tag.preprocessor.xml | #8F8F8F | — |
| markup.changed, markup.heading, markup.underline.link, meta.diff.header, punctuation.definition.list.begin.markdown, punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php, entity.name.tag, entity.other.keyframe-offset, entity.other.attribute-name.class, entity.name.type, entity.other.inherited-class, support.type, entity.name.function, variable | #7CACF8 | — |
| support.constant.media, support.type.property-name, support.type.vendored.property-name, meta.definition.variable variable.scss, meta.parameters entity.name.function, meta.parameters variable.language, variable.parameter, meta.definition.method entity.name.function, meta.definition.property entity.name.function, meta.function-call entity.name.function, meta.object-literal.key, punctuation.decorator, support.variable.property, variable.object.property, variable.other.enummember, variable.other.object.property, variable.other.property | #FACC15 | — |
| constant, markup.inserted, meta.preprocessor.numeric, punctuation.definition.quote.begin.markdown, storage.type.numeric, constant.numeric.css, entity.other.attribute-name.id, keyword.other.unit, meta.property-list meta.property-value, meta.property-list support.constant, meta.property-value constant.other, support.constant.property-value, support.function.url.css, variable.parameter.misc.css | #C4EED0 | — |
| entity.other.attribute-name | #A8C7FA | — |
| entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element | #0B57D0 | — |
| markup.inline.raw, meta.preprocessor.string, string, string.regexp constant, string.regexp constant.other, string.regexp keyword, string.regexp keyword.operator | #FE8D59 | — |
| keyword.control.at-rule, support.function, keyword, keyword.operator.expression, keyword.operator.new, storage, support.type.object.module, variable.language | #BF67FF | — |
| meta.embedded, entity.name.tag.wildcard, meta.property-list variable, punctuation.definition.entity, punctuation.section.function, punctuation.separator, keyword.operator, meta.function-call variable.other.object, punctuation.definition.template-expression, storage.type.function.arrow, variable.other.object | #D4D4D4 | — |
| meta.tag.metadata.doctype.html entity.name.tag, meta.tag.metadata.doctype.html entity.other.attribute-name, meta.tag.metadata.doctype.html punctuation, meta.tag.metadata.doctype.html string, meta.tag.metadata.doctype.html, meta.tag.preprocessor.xml entity.name.tag, meta.tag.preprocessor.xml entity.other.attribute-name, meta.tag.preprocessor.xml punctuation, meta.tag.preprocessor.xml string, meta.tag.preprocessor.xml | #8F8F8F | — |
| markup.changed, markup.heading, markup.underline.link, meta.diff.header, punctuation.definition.list.begin.markdown, punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php, entity.name.tag, entity.other.keyframe-offset, entity.other.attribute-name.class, entity.name.type, entity.other.inherited-class, support.type, entity.name.function, variable | #7CACF8 | — |
| support.constant.media, support.type.property-name, support.type.vendored.property-name, meta.definition.variable variable.scss, meta.parameters entity.name.function, meta.parameters variable.language, variable.parameter, meta.definition.method entity.name.function, meta.definition.property entity.name.function, meta.function-call entity.name.function, meta.object-literal.key, punctuation.decorator, support.variable.property, variable.object.property, variable.other.enummember, variable.other.object.property, variable.other.property | #FACC15 | — |
| constant, markup.inserted, meta.preprocessor.numeric, punctuation.definition.quote.begin.markdown, storage.type.numeric, constant.numeric.css, entity.other.attribute-name.id, keyword.other.unit, meta.property-list meta.property-value, meta.property-list support.constant, meta.property-value constant.other, support.constant.property-value, support.function.url.css, variable.parameter.misc.css | #C4EED0 | — |
| entity.other.attribute-name | #A8C7FA | — |
| entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element | #0B57D0 | — |
| markup.inline.raw, meta.preprocessor.string, string, string.regexp constant, string.regexp constant.other, string.regexp keyword, string.regexp keyword.operator | #FE8D59 | — |
| keyword.control.at-rule, support.function, keyword, keyword.operator.expression, keyword.operator.new, storage, support.type.object.module, variable.language | #BF67FF | — |
| meta.embedded, entity.name.tag.wildcard, meta.property-list variable, punctuation.definition.entity, punctuation.section.function, punctuation.separator, keyword.operator, meta.function-call variable.other.object, punctuation.definition.template-expression, storage.type.function.arrow, variable.other.object | #D4D4D4 | — |
| emphasis, markup.italic | — | italic |
| header | #000080 | — |
| comment | #ABABAB | — |
| invalid | #F44747 | — |
| markup.underline | — | underline |
| strong, markup.bold, markup.heading | — | 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}!`;
}