Monolivia Theme for C#
Publisher: Yann PapouinThemes in package: 1
Oblivion color theme from Monodevelop
Oblivion color theme from Monodevelop
Full workbench mockup using this variant's colors and tokenColors.
Loading...
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| — | #F8F8F8 | — |
| comment | #AEAEAE | |
| constant | #D8FA3C | |
| entity | #FF7F2D | |
| keyword | #FBDE2D | |
| storage | #FBDE2D | |
| string, meta.verbatim | #F4DA00 | |
| support | #8DA6CE | |
| variable | — | |
| invalid.deprecated | #AB2A1D | italic |
| invalid.illegal | #F8F8F8 | — |
| entity.other.inherited-class | #FF6400 | italic |
| string constant.other.placeholder | #FF6400 | |
| meta.function-call.py | #BECDE6 | |
| meta.tag, meta.tag entity | #7F90AA | — |
| entity.name.section | #FFFFFF | |
| keyword.type.variant | #D5E0F3 | — |
| source.ocaml keyword.operator.symbol | #F8F8F8 | — |
| source.ocaml keyword.operator.symbol.infix | #8DA6CE | |
| source.ocaml keyword.operator.symbol.prefix | #8DA6CE | |
| source.ocaml keyword.operator.symbol.infix.floating-point | — | underline |
| source.ocaml keyword.operator.symbol.prefix.floating-point | — | underline |
| source.ocaml constant.numeric.floating-point | — | underline |
| text.tex.latex meta.function.environment | — | — |
| text.tex.latex meta.function.environment meta.function.environment | — | — |
| text.tex.latex support.function | #FBDE2D | |
| source.plist string.unquoted, source.plist keyword.operator | #FFFFFF | — |
| source.cs meta.preprocessor.cs keyword | #699ACF | bold italic |
| source.cs meta.preprocessor.cs punctuation | #699ACF | bold italic |
| source.cs meta.preprocessor.cs entity | #699ACF | — |
| source.cs meta.preprocessor.cs string | #699ACF | — |
| source.cs keyword.other.using.cs | #B274AA | bold |
| source.cs keyword.other.namespace.cs | #B274AA | bold |
| source.cs entity.name.type.namespace.cs | #FFFFFF | — |
| source.cs keyword.other.class.cs | #B274AA | bold |
| source.cs entity.name.type.class.cs | #82E421 | — |
| source.cs keyword.other.enum.cs | #B274AA | bold |
| source.cs entity.name.type.enum.cs | #82E421 | — |
| source.cs storage.modifier.cs | #B274AA | bold |
| source.cs storage.type.cs | #82E421 | — |
| source.cs keyword.type.cs | #B274AA | bold |
| source.cs keyword.other.get.cs | #B274AA | bold |
| source.cs keyword.other.set.cs | #B274AA | bold |
| source.cs entity.name.variable.field.cs | #D3D7CE | italic |
| entity.name.variable.local.cs | #D3D7CE | — |
| source.cs variable.other.object.property.cs | #D3D7CE | italic |
| source.cs variable.other.readwrite.cs | #D3D7CE | italic |
| source.cs entity.name.variable.enum-member.cs | #c2d0eb | — |
| source.cs variable.other.object.cs | #D3D7CE | — |
| source.cs entity.name.variable.parameter.cs | #BBD799 | — |
| source.cs keyword.control.flow.return.cs | #B274AA | bold |
| source.cs keyword.other.new.cs | #B274AA | bold |
| source.cs keyword.other.this.cs | #B274AA | bold |
| source.cs keyword.other.base.cs | #B274AA | bold |
| source.cs keyword.other.var.cs | #B274AA | bold |
| source.cs constant.language.null.cs | #D1456F | bold |
| source.cs constant.language.boolean | #D35015 | bold |
| source.cs keyword.control | #FFFFFF | bold |
| source.cs entity.name.function | #FFFFFF | — |
| source.cs keyword.operator | #FFFFFF | — |
| source.cs comment.line.double-slash.cs | #666764 | — |
| source.cs comment.block.documentation.cs | #888a85 | — |
| source.cs comment.block.cs | #a2a49e | — |
| string.quoted.double.cs | #F4DA00 | — |
| string.quoted.single.cs | #F48E00 | bold |
| entity.name.class.static.cs | #07cf28 | — |
| entity.name.function.cs | #d4c883 | — |
| punctuation.separator.decimal.cs | #efffa9 | — |
| keyword.numeric.type.cs | #efffa9 | — |
| keyword.numeric.exponent.cs | #efffa9 | — |
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}!`;
}