summaryrefslogtreecommitdiff
path: root/src/abi.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/abi.zig')
-rw-r--r--src/abi.zig9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/abi.zig b/src/abi.zig
index cf7b838..0cce939 100644
--- a/src/abi.zig
+++ b/src/abi.zig
@@ -57,10 +57,11 @@ pub const Color = extern struct {
}
};
-/// The face a text is set in: the Go family, bundled with the native host.
-/// Mono is for data and code, sans for what is said about it. The web host
-/// has one face, the page's `monospace`.
-pub const Face = enum(u8) { mono, mono_bold, mono_italic, sans, sans_medium, sans_bold };
+/// The face a text is set in: the Go family, and JetBrains Mono (`code`)
+/// for programs, all bundled with the native host. Mono is for data, sans
+/// for what is said about it. The web host has one face, the page's
+/// `monospace`.
+pub const Face = enum(u8) { mono, mono_bold, mono_italic, sans, sans_medium, sans_bold, code, code_bold, code_italic };
/// How 2D drawing combines with what is already there (`Command.blend`).
/// Both are fixed-function on both hosts and match: `alpha` is source