Sharkdark
Publisher: SharkdarkThemes in package: 1
Sharkdark vscode theme
Sharkdark vscode 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 |
|---|---|---|
| string | #BFD084 | — |
| punctuation.definition.string | #BFD084 | — |
| constant.character.escape | #BFD084 | — |
| text.html constant.character.entity.named | #BFD084 | — |
| text.html.derivative | #E5E5E5 | — |
| punctuation.definition.entity.html | #BFD084 | — |
| template.expression.begin | #7AD9FB | — |
| template.expression.end | #7AD9FB | — |
| punctuation.definition.template-expression.begin | #7AD9FB | — |
| punctuation.definition.template-expression.end | #7AD9FB | — |
| constant | #7AD9FB | — |
| keyword | #A390FF | — |
| modifier | #A390FF | — |
| storage | #A390FF | — |
| punctuation.definition.block | #86897A | — |
| punctuation.definition.parameters | #86897A | — |
| meta.brace.round | #86897A | — |
| meta.jsx.children | #E5E5E5 | — |
| punctuation.accessor | #86897A | — |
| variable.other | #FFFFFF | — |
| variable.parameter | #FFFFFF | — |
| meta.embedded | #E5E5E5 | — |
| source.groovy.embedded | #E5E5E5 | — |
| meta.template.expression | #E5E5E5 | — |
| comment | #6F6F6F | — |
| docblock | #6F6F6F | — |
| meta.function-call | #CDF861 | — |
| meta.class entity.name.type.class | #FFFFFF | underline |
| meta.class entity.name.type.module | #CABEFF | — |
| meta.class meta.type.annotation, meta.class support.type.primitive, meta.interface support.type.primitive, meta.type.annotation support.type.primitive | #A390FF | — |
| meta.type.annotation entity.name.type | #CABEFF | — |
| variable.object.property | #FFFFFF | — |
| entity.name.function | #CDF861 | — |
| meta.definition.variable | #FFFFFF | — |
| modifier | #A390FF | — |
| variable.language.this | #A390FF | — |
| support.type.object | #A390FF | — |
| support.module | #7AD9FB | italic |
| support.node | #7AD9FB | italic |
| support.type.ts | #7AD9FB | — |
| entity.other.inherited-class | #7AD9FB | — |
| meta.interface entity.name.type.interface | #7AD9FB | — |
| keyword.operator | #B3E8B4 | — |
| storage.type.function.arrow | #B3E8B4 | — |
| variable.css | #7AD9FB | — |
| source.css | #CDF861 | — |
| entity.other.attribute-name | #CDF861 | — |
| entity.name.tag.css | #CDF861 | — |
| entity.other.attribute-name.id | #CDF861 | — |
| entity.other.attribute-name.class | #CDF861 | — |
| source.css meta.selector.css | #CDF861 | — |
| support.type.property-name.css | #FFFFFF | — |
| support.function.css | #A390FF | — |
| support.constant.css | #A390FF | — |
| keyword.css | #A390FF | — |
| constant.numeric.css | #A390FF | — |
| constant.other.color.css | #A390FF | — |
| punctuation.section | #86897A | — |
| punctuation.separator | #86897A | — |
| punctuation.definition.entity.css | #86897A | — |
| punctuation.terminator.rule.css | #E5E5E5 | — |
| source.css keyword.other.unit | #CABEFF | — |
| string.css | #CABEFF | — |
| punctuation.definition.string.css | #CABEFF | — |
| support.type.property-name | #FFFFFF | — |
| string.html | #CDF861 | — |
| punctuation.definition.tag | #86897A | — |
| entity.other.attribute-name | #CABEFF | — |
| entity.name.tag | #A390FF | — |
| entity.name.tag.wildcard | #CDF861 | — |
| markup.markdown | #FFFFFF | — |
| markup.heading.markdown | #B3E8B4 | — |
| punctuation.definition.bold.markdown | #B3E8B4 | — |
| meta.paragraph.markdown punctuation.definition.link.description | #B3E8B4 | — |
| punctuation.definition.raw.markdown | #B3E8B4 | — |
| meta.paragraph.markdown | #E5E5E5 | — |
| text.html.markdown meta.attribute | #CABEFF | — |
| entity.name.section | #FFFFFF | — |
| string.other | #FFFFFF | — |
| string.other.link | #FFFFFF | — |
| punctuation.definition.markdown | #B3E8B4 | — |
| punctuation.definition.string | #B3E8B4 | — |
| punctuation.definition.string.begin.shell | #B3E8B4 | — |
| markup.underline.link | #BFD084 | — |
| markup.inline.raw | #86897A | — |
| text.html.vue variable.other.readwrite | #A390FF | — |
| text.html.vue meta.object-literal.key | #FFFFFF | — |
| text.html.vue entity.name.tag.css | #A390FF | — |
| text.html.vue entity.other.attribute-name | #FFFFFF | — |
| text.html.vue constant.numeric.css | #7AD9FB | — |
| text.html.vue keyword.other.unit, text.html.vue support.constant.property-value, text.html.vue support.constant.color | #A390FF | — |
| string | #98C39E | — |
| punctuation.definition.string | #BFD084 | — |
| constant.character.escape | #BFD084 | — |
| text.html constant.character.entity.named | #BFD084 | — |
| text.html.derivative | #E5E5E5 | — |
| punctuation.definition.entity.html | #BFD084 | — |
| template.expression.begin | #7AD9FB | — |
| template.expression.end | #7AD9FB | — |
| punctuation.definition.template-expression.begin | #7AD9FB | — |
| punctuation.definition.template-expression.end | #7AD9FB | — |
| constant | #FFA07A | — |
| keyword | #A390FF | — |
| modifier | #A390FF | — |
| storage | #A390FF | — |
| punctuation.definition.block | #86897A | — |
| punctuation.definition.parameters | #86897A | — |
| meta.brace.round | #897A7B | — |
| meta.jsx.children | #E5E5E5 | — |
| punctuation.accessor | #86897A | — |
| variable.other | #FFFFFF | — |
| variable.other.property | #FF595E | — |
| variable.parameter | #FFFFFF | — |
| meta.embedded | #E5E5E5 | — |
| source.groovy.embedded | #E5E5E5 | — |
| meta.template.expression | #E5E5E5 | — |
| comment | #6F6F6F | — |
| docblock | #6F6F6F | — |
| meta.function-call | #CDF861 | — |
| meta.class entity.name.type.class | #FFFFFF | underline |
| meta.class entity.name.type.module | #CABEFF | — |
| meta.class meta.type.annotation, meta.class support.type.primitive, meta.interface support.type.primitive, meta.type.annotation support.type.primitive | #A390FF | — |
| meta.type.annotation entity.name.type | #CABEFF | — |
| variable.object.property | #FFFFFF | — |
| entity.name.function | #CDF861 | — |
| meta.definition.variable | #FFFFFF | — |
| modifier | #A390FF | — |
| variable.language.this | #A390FF | — |
| support.type.object | #A390FF | — |
| support.module | #7AD9FB | italic |
| support.node | #7AD9FB | italic |
| support.type.ts | #7AD9FB | — |
| support.class.component | #6277FD | — |
| entity.other.inherited-class | #7AD9FB | — |
| meta.interface entity.name.type.interface | #7AD9FB | — |
| keyword.operator | #FF595F | — |
| storage.type.function.arrow | #FF595F | — |
| variable.css | #7AD9FB | — |
| source.css | #CDF861 | — |
| entity.other.attribute-name | #CDF861 | — |
| entity.name.tag.css | #CDF861 | — |
| entity.other.attribute-name.id | #CDF861 | — |
| entity.other.attribute-name.class | #CDF861 | — |
| source.css meta.selector.css | #CDF861 | — |
| support.type.property-name.css | #FFFFFF | — |
| support.function.css | #A390FF | — |
| support.constant.css | #A390FF | — |
| keyword.css | #A390FF | — |
| constant.numeric.css | #A390FF | — |
| constant.other.color.css | #A390FF | — |
| punctuation.section | #86897A | — |
| punctuation.separator | #86897A | — |
| punctuation.definition.entity.css | #86897A | — |
| punctuation.terminator.rule.css | #E5E5E5 | — |
| source.css keyword.other.unit | #CABEFF | — |
| string.css | #CABEFF | — |
| punctuation.definition.string.css | #CABEFF | — |
| support.type.property-name | #FFFFFF | — |
| support.type.property-name.json | #FFFFFF | — |
| string.quoted.double.json | #CDF861 | — |
| string.quoted.double.json.comments | #CDF861 | — |
| punctuation.support.type.property-name | #FF595E | — |
| string.html | #CDF861 | — |
| punctuation.definition.tag | #86897A | — |
| entity.other.attribute-name | #CABEFF | — |
| entity.name.tag | #A390FF | — |
| entity.name.tag.wildcard | #CDF861 | — |
| markup.markdown | #FFFFFF | — |
| markup.heading.markdown | #B3E8B4 | — |
| punctuation.definition.bold.markdown | #B3E8B4 | — |
| meta.paragraph.markdown punctuation.definition.link.description | #B3E8B4 | — |
| punctuation.definition.raw.markdown | #B3E8B4 | — |
| meta.paragraph.markdown | #E5E5E5 | — |
| text.html.markdown meta.attribute | #CABEFF | — |
| entity.name.section | #FFFFFF | — |
| string.other | #FFFFFF | — |
| string.other.link | #FFFFFF | — |
| punctuation.definition.markdown | #B3E8B4 | — |
| punctuation.definition.string | #B3E8B4 | — |
| punctuation.definition.string.begin.shell | #B3E8B4 | — |
| markup.underline.link | #BFD084 | — |
| markup.inline.raw | #86897A | — |
| string.quoted.double.python, string.quoted.single.python, punctuation.definition.string.begin.python, punctuation.definition.string.end.python, string.quoted.docstring.multi.python | #6277FD | — |
| source.python, variable.other.property | #FF595E | — |
| source.python | #FF595E | — |
| meta.attribute.python, meta.member.access.python | #CDF861 | — |
| constant.other.caps.python | #FFFFFF | — |
| text.html.vue variable.other.readwrite | #A390FF | — |
| text.html.vue meta.object-literal.key | #FFFFFF | — |
| text.html.vue entity.name.tag.css | #A390FF | — |
| text.html.vue entity.other.attribute-name | #FFFFFF | — |
| text.html.vue constant.numeric.css | #7AD9FB | — |
| text.html.vue keyword.other.unit, text.html.vue support.constant.property-value, text.html.vue support.constant.color | #A390FF | — |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
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}!`;
}