theme-stayfresh
Publisher: Piotrek FracekThemes in package: 5
Just nice fresh theme
Just nice fresh theme
Full workbench mockup using this variant's colors and tokenColors.
Loading...
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| — | #ffffff | — |
| string | #D8FF85 | — |
| meta.brace.square, punctuation.definition.binding-pattern | #ACB8EB | — |
| meta.template.expression, support.variable.property.dom, support.class.builtin, support.constant.math | #ffffff | — |
| constant.numeric | #FDCF4E | — |
| constant.language | #FDFD45 | — |
| constant.language.boolean.true, constant.language.boolean.false | #FDCF4E | — |
| constant.language.undefined, constant.language.null | #FDCF4E | — |
| constant.character, constant.other, constant.id.tag.jade | #C59FFB | — |
| keyword | #FF5DBF | — |
| storage | #FF5DBF | — |
| storage.type | #FF5DBF | — |
| entity.name.class | #2FF3DC | — |
| entity.other.inherited-class | #2FF3DC | underline |
| entity.name.function | #2FF3DC | — |
| variable.parameter | #FDFD45 | — |
| entity.name.tag | #FF5DBF | — |
| entity.other.attribute-name | #2FF3DC | — |
| support.function | #FF5DBF | — |
| support.constant | #FF5DBF | — |
| support.type, support.class | #FF5DBF | — |
| invalid | #ffffff | — |
| invalid.deprecated | #ffffff | — |
| meta.diff, meta.diff.header | #ACB8EB | — |
| markup.deleted | #FF5DBF | — |
| markup.inserted | #2FF3DC | — |
| markup.changed | #FDFD45 | — |
| constant.numeric.line-number.find-in-files - match | #FF5DBF | — |
| entity.name.filename.find-in-files | #FDFD45 | — |
| meta.object-literal.key.js | #ffffff | italic |
| punctuation.definition.tag.html, constant.name.attribute.tag.jade, punctuation.definition.tag.xml, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html | #ACB8EB | — |
| punctuation.accessor, punctuation.definition.block, punctuation.separator.key-value, punctuation.terminator.statement, punctuation.separator.comma, punctuation.terminator, meta.brace.round, punctuation.definition.parameters.begin, punctuation.definition.parameters.end, punctuation.definition.template-expression | #ACB8EB | — |
| entity.name.function, meta.require, support.function.any-method, meta.function-call, support.function, keyword.other.special-method, meta.block-level, meta.function-call.method.with-arguments variable.function | #2FF3DC | — |
| support.variable.object.node.js | #C59FFB | — |
| comment, comment.line.double-slash, punctuation.definition.comment | #246BC4 | — |
| source.css, keyword.operator.combinator.css, keyword.operator.less | #ffffff | — |
| entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element | #D8FF85 | — |
| entity.other.attribute-name.class | #FDFD45 | — |
| entity.other.attribute-name.id | #C59FFB | — |
| meta.property-name.css, keyword.other.unit, support.type.property-name | #ACB8EB | — |
| support.function.name.sass, meta.property-list.css.sass, meta.function.include.sass | #ffffff | — |
| constant.numeric.css, constant.numeric.scss, constant.numeric.sass, string.quoted.double.css.sass, support.constant.property-value.css, constant.other.rgb-value.css, support.constant.property-value.scss | #ffffff | bold |
| variable.scss, meta.variable-usage.sass, meta.variable-declaration.sass, variable.other.sass | #FDCF4E | — |
| entity.name.section.markdown, punctuation.definition.heading.markdown, markup.heading | #FF5DBF | — |
| beginning.punctuation.definition.list.markdown | #FDCF4E | — |
| punctuation.definition.markdown | #C59FFB | — |
| markup.bold.markdown | #ffffff | bold |
| meta.separator.markdown, markup.raw.block.markdown, markup.raw.inline.markdown | #ACB8EB | — |
| storage.type.class.jsdoc | #CD94D9 | — |
| entity.name.type.instance.jsdoc | #B6AEF1 | — |
| variable.other.jsdoc | #CCD4A9 | — |
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}!`;
}