Cryptolor
Publisher: CryptokiThemes in package: 1
Cryptolor is a dark theme for Visual Studio Code.
Cryptolor is a dark theme for Visual Studio Code.
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 |
|---|---|---|
| — | #FFFFFF | — |
| comment | #0097A7 | — |
| constant.character | #EA80FC | — |
| constant.character.escape | #EA80FC | — |
| constant.language | #82B1FF | — |
| constant.numeric | #FFD740 | — |
| entity.name.class, entity.name.type.class | #69F0AE | — |
| entity.name.function | #84FFFF | — |
| entity.name.tag | #82B1FF | — |
| entity.other.attribute-name | #69F0AE | — |
| entity.other.inherited-class | #69F0AE | — |
| invalid.deprecated | #FFFFFF | — |
| invalid.illegal | #FFFFFF | — |
| keyword | #82B1FF | — |
| keyword.operator | #82B1FF | — |
| keyword.other.new | #82B1FF | — |
| markup.bold | — | — |
| markup.changed | #EA80FC | — |
| markup.deleted | #E9A6FF | — |
| markup.inserted | #69F0AE | — |
| meta.preprocessor | #67B4CC | — |
| punctuation | #FFFFFF | — |
| punctuation.definition.method-parameters, punctuation.definition.function-parameters, punctuation.definition.parameters | #FFFFFF | — |
| punctuation.definition.tag | #82B1FF | — |
| punctuation.definition.comment, punctuation.end.definition.comment, punctuation.start.definition.comment | #0097A7 | — |
| punctuation.section | #FFFFFF | — |
| punctuation.section.embedded.begin, punctuation.section.embedded.end | #82B1FF | — |
| punctuation.terminator | #82B1FF | — |
| punctuation.definition.variable | #82B1FF | — |
| storage | #82B1FF | — |
| string | #69F0AE | — |
| string.regexp | #EA80FC | — |
| support.class | #69F0AE | — |
| support.constant | #82B1FF | — |
| support.function | #84FFFF | — |
| support.function.construct | #82B1FF | — |
| support.type | #69F0AE | — |
| support.type.exception | #69F0AE | — |
| variable.other.readwrite.tsx | #f8feff | — |
| variable.language | #82B1FF | — |
| variable.parameter | #f8feff | — |
| punctuation.separator.pointer-access.c | #82B1FF | — |
| source.c meta.preprocessor.include, source.c string.quoted.other.lt-gt.include | #69F0AE | — |
| source.cpp keyword.control.directive.conditional, source.cpp punctuation.definition.directive, source.c keyword.control.directive.conditional, source.c punctuation.definition.directive | #67B4CC | — |
| source.css constant.other.color.rgb-value | #E9A6FF | — |
| source.css meta.property-value | #84FFFF | — |
| source.css punctuation.definition.keyword | #82B1FF | — |
| source.diff meta.diff.range.context | #69F0AE | — |
| source.diff meta.diff.header.from-file | #69F0AE | — |
| source.diff punctuation.definition.from-file | #69F0AE | — |
| source.diff punctuation.definition.range | #69F0AE | — |
| source.diff punctuation.definition.separator | #82B1FF | — |
| source.java comment.block.documentation.javadoc punctuation.definition.entity.html | #82B1FF | — |
| source.java constant.other | #FFFFFF | — |
| source.java keyword.other.documentation | #69F0AE | — |
| source.java keyword.other.documentation.author.javadoc | #69F0AE | — |
| source.java keyword.other.documentation.directive, source.java keyword.other.documentation.custom | #69F0AE | — |
| source.java keyword.other.documentation.see.javadoc | #69F0AE | — |
| source.java meta.method-call meta.method | #84FFFF | — |
| source.java meta.tag.template.link.javadoc, source.java string.other.link.title.javadoc | #69F0AE | — |
| source.java meta.tag.template.value.javadoc | #84FFFF | — |
| source.java punctuation.definition.keyword.javadoc | #69F0AE | — |
| source.java punctuation.definition.tag.begin.javadoc, source.java punctuation.definition.tag.end.javadoc | #0097A7 | — |
| source.java storage.modifier.import | #69F0AE | — |
| source.java storage.modifier.package | #69F0AE | — |
| source.java storage.type | #69F0AE | — |
| source.java storage.type.annotation | #EA80FC | — |
| source.java storage.type.generic | #69F0AE | — |
| source.java storage.type.primitive | #82B1FF | — |
| source.js punctuation.decorator, source.js meta.decorator variable.other.readwrite, source.js meta.decorator entity.name.function | #EA80FC | — |
| source.js meta.object-literal.key | #84FFFF | — |
| source.js storage.type.class.jsdoc | #69F0AE | — |
| source.js support.type.primitive | #82B1FF | — |
| source.js meta.var.expr variable.other.object | #69F0AE | — |
| source.js variable.other.readwrite.alias | #69F0AE | — |
| text.html.basic constant.character.entity.html | #EA80FC | — |
| text.html.basic constant.other.inline-data | #EA80FC | italic |
| text.html.basic meta.tag.sgml.doctype | #67B4CC | — |
| text.html.basic punctuation.definition.entity | #82B1FF | — |
| source.properties entity.name.section.group-title.ini | #84FFFF | — |
| source.properties punctuation.separator.key-value.ini | #82B1FF | — |
| text.html.markdown markup.fenced_code.block, text.html.markdown markup.fenced_code.block punctuation.definition | #69F0AE | — |
| markup.heading | #84FFFF | — |
| text.html.markdown markup.inline.raw, text.html.markdown markup.inline.raw punctuation.definition.raw | #69F0AE | — |
| text.html.markdown markup.italic | — | — |
| text.html.markdown beginning.punctuation.definition.list | #82B1FF | — |
| text.html.markdown beginning.punctuation.definition.quote | #69F0AE | — |
| text.html.markdown markup.quote | #0097A7 | — |
| text.html.markdown punctuation.definition.heading | #82B1FF | — |
| text.html.markdown punctuation.definition.constant, text.html.markdown punctuation.definition.string | #82B1FF | — |
| text.html.markdown constant.other.reference.link, text.html.markdown string.other.link.description, text.html.markdown string.other.link.title | #84FFFF | — |
| source.php meta.function-call, source.php meta.function-call.object | #84FFFF | — |
| source.python entity.name.function.decorator, source.python meta.function.decorator support.type | #EA80FC | — |
| source.python support.type | #84FFFF | — |
| source.css.scss punctuation.definition.interpolation.begin.bracket.curly, source.css.scss punctuation.definition.interpolation.end.bracket.curly | #82B1FF | — |
| source.css.scss variable.interpolation | #FFFFFF | — |
| text.xml entity.name.tag.namespace | #69F0AE | — |
| text.xml keyword.other.doctype | #67B4CC | — |
| text.xml meta.tag.preprocessor entity.name.tag | #67B4CC | — |
| text.xml string.unquoted.cdata, text.xml string.unquoted.cdata punctuation.definition.string | #EA80FC | — |
| source.yaml entity.name.tag | #82B1FF | — |
| source.yaml string | #69F0AE | — |
| source.yaml constant.language | #EA80FC | — |
| source.yaml constant.numeric | #FFD740 | — |
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}!`;
}