From 64cb98db3c012a2a75b8d7b15a0355d52055b666 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Thu, 16 May 2024 13:08:27 +0200 Subject: [PATCH] wezterm: colors --- .config/wezterm/colors/shelman-light.toml | 5 ++-- .config/wezterm/wezterm.lua | 29 +++++++++++++++++++++-- 2 files changed, 30 insertions(+), 4 deletions(-) diff --git a/.config/wezterm/colors/shelman-light.toml b/.config/wezterm/colors/shelman-light.toml index 04b0e87..744360f 100644 --- a/.config/wezterm/colors/shelman-light.toml +++ b/.config/wezterm/colors/shelman-light.toml @@ -11,7 +11,7 @@ ansi = [ "#00669e", "#7d009e", "#008a9e", - "#f0f0f0", + "#f7f7f7", ] brights = [ @@ -26,7 +26,8 @@ brights = [ ] background = "#fefeff" -foreground = "#2c363c" +# foreground = "#2c363c" +foreground = "#000000" cursor_bg = "#aa0000" cursor_fg = "#ffffff" cursor_border = "#ffffff" diff --git a/.config/wezterm/wezterm.lua b/.config/wezterm/wezterm.lua index d6565b0..3a53a9d 100644 --- a/.config/wezterm/wezterm.lua +++ b/.config/wezterm/wezterm.lua @@ -33,6 +33,7 @@ end return { color_scheme = scheme_for_appearance(wezterm.gui.get_appearance()), font = font_for_appearance(wezterm.gui.get_appearance()), + font_rules = { { italic = true, @@ -40,7 +41,30 @@ return { reverse = false, font = wezterm.font("IosevkaShelman Nerd Font", { weight = "ExtraLight", italic = true }), -- font = wezterm.font("Iosevka Term Curly Slab", { weight = "Thin", italic = true }), + + -- font = wezterm.font({ -- Normal text + -- -- family = "Monaspace Radon", + -- family = "Monaspace Argon", + -- harfbuzz_features = { + -- "calt", + -- "liga", + -- "dlig", + -- "ss01", + -- "ss02", + -- "ss03", + -- "ss04", + -- "ss05", + -- "ss06", + -- "ss07", + -- "ss08", + -- }, + -- weight = "Regular", + -- -- weight = "ExtraLight", + -- stretch = "Normal", + -- style = "Normal", + -- }), }, + { italic = true, intensity = "Normal", @@ -48,8 +72,9 @@ return { font = wezterm.font("IosevkaShelman Nerd Font", { weight = "Light", italic = true }), }, }, - front_end = "WebGpu", - webgpu_power_preference = "HighPerformance", + -- front_end = "WebGpu", + -- webgpu_power_preference = "HighPerformance", + front_end = "OpenGL", warn_about_missing_glyphs = false, bold_brightens_ansi_colors = false, -- allow_square_glyphs_to_overflow_width = "Never",