Surfer Theme Suit
Publisher: SurferThemes in package: 6
Simple flat light theme
Simple flat light 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 |
|---|---|---|
| constant.character.escape, text.html constant.character.entity.named | #CDE1E6 | — |
| variable, variable.parameter, support.variable, variable.language, support.constant, meta.definition.variable entity.name.function, meta.function-call.arguments | #CDE1E6 | — |
| meta.embedded, source.groovy.embedded, meta.template.expression | #CDE1E6 | — |
| punctuation.definition.entity.html | #CDE1E6 | — |
| source.cs entity.name.type.namespace | #CDE1E6 | — |
| meta.jsx.children, SXNested | #CDE1E6 | — |
| source.cpp meta.block variable.other | #CDE1E6 | — |
| source.php support.other.namespace, source.php meta.use support.class | #CDE1E6 | — |
| markup.fenced_code.block | #CDE1E690 | — |
| markup.fenced_code.block.markdown punctuation.definition.markdown | #A6DE80 | — |
| markup.inline.raw.string.markdown | #A6DE80 | — |
| markup.inserted | #A6DE80 | — |
| 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 | #A6DE80 | — |
| string | #A6DE80 | — |
| keyword, modifier, variable.language.this, support.type.object, constant.language | #89DDFF | — |
| punctuation | #89DDFF | — |
| template.expression.begin, template.expression.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #89DDFF | — |
| constant.language.json | #89DDFF | — |
| meta.tag, punctuation.definition.tag | #89DDFF | — |
| markup.heading | #89DDFF | — |
| text.html.markdown beginning.punctuation.definition.list | #89DDFF | — |
| entity.name.section.group-title.ini | #89DDFF | — |
| constant.keyword | #89DDFF | italic |
| keyword.control | #89DDFF | italic |
| markup.quote | #89DDFF | italic |
| punctuation, constant.other.symbol | #89DDFF | — |
| constant.language.boolean | #FF9CAC | — |
| punctuation.definition.quote | #FF9CAC | — |
| 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 | #FF9CAC | — |
| constant.numeric | #F7706C | — |
| keyword.other | #F7706C | — |
| entity.other.attribute-name.id | #F7706C | — |
| constant.character.format.placeholder.other.python | #F7706C | — |
| 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 | #F7706C | — |
| entity.name.function, support.function | #5FA8F4 | — |
| meta.function entity.name.function | #5FA8F4 | — |
| source.cs meta.method-call meta.method, source.cs entity.name.function | #5FA8F4 | — |
| source.python meta.function-call.python, meta.function-call.arguments | #5FA8F4 | — |
| entity.name.function.call | #5FA8F4 | — |
| entity.name.function | #5FA8F4 | — |
| 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 | #5FA8F4 | — |
| storage.type, storage.modifier, storage.control | #C792EA | — |
| entity.other.attribute-name | #C792EA | — |
| meta.structure.dictionary.json support.type.property-name.json | #C792EA | — |
| 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 | — |
| support.module, support.node | #F07178 | italic |
| support.type, constant.other.key | #EDC478 | — |
| entity.name.type, entity.other.inherited-class, entity.other | #EDC478 | — |
| entity.name, entity.name.type.class, support.type, support.class, meta.use | #EDC478 | — |
| entity.other.attribute-name.class | #EDC478 | — |
| source.css entity.name.tag | #EDC478 | — |
| source.cs meta.class.identifier storage.type | #EDC478 | — |
| source.cs storage.type | #EDC478 | — |
| source.cs meta.method.return-type | #EDC478 | — |
| support.class.component | #EDC478 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #EDC478 | — |
| comment | #4A4A4A | italic |
| comment punctuation.definition.comment, string.quoted.docstring | #4A4A4A | italic |
| source.cs meta.preprocessor | #4A4A4A | — |
| variable.object.property, meta.field.declaration entity.name.function | #F07178 | — |
| meta.definition.method entity.name.function | #F07178 | — |
| entity.name.tag.yaml | #F07178 | — |
| meta.object-literal.key, meta.object-literal.key string, support.type.property-name.json | #F07178 | — |
| entity.name.tag | #F07178 | — |
| text.html.markdown meta.link.inline, meta.link.reference | #F07178 | — |
| markup.italic | #F07178 | italic |
| markup.bold | #F07178 | bold |
| markup.bold markup.italic, markup.italic markup.bold | #F07178 | italic bold |
| keyword.other.definition.ini | #F07178 | — |
| source.cs meta.method.identifier entity.name.function | #F07178 | — |
| source.python meta.member.access.python | #F07178 | — |
| meta.block | #F07178 | — |
| constant.other.placeholder | #F07178 | — |
| markup.deleted | #F07178 | — |
| markup.underline | — | underline |
| variable.parameter | — | italic |
| variable.parameter.function.language.special.self.python | #F07178 | italic |
| 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 | — |
| 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 | #916B53 | — |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| support.type.property-name.css | #B2CCD6 | — |
| 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}!`;
}