From cc6d78a85e3115bbd72714072bf0dd4d2337d818 Mon Sep 17 00:00:00 2001 From: Lili Shi Date: Mon, 28 Jul 2025 12:23:31 -0700 Subject: [PATCH 1/4] refactor: update keyword font weight for Latte --- themes/Catppuccin Latte.xccolortheme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/Catppuccin Latte.xccolortheme b/themes/Catppuccin Latte.xccolortheme index dbe1936..33825e2 100644 --- a/themes/Catppuccin Latte.xccolortheme +++ b/themes/Catppuccin Latte.xccolortheme @@ -200,7 +200,7 @@ xcode.syntax.identifier.variable.system SFMono-Regular - 14.0 xcode.syntax.keyword - SFMono-Bold - 14.0 + SFMono-Semibold - 14.0 xcode.syntax.mark SFMono-Bold - 14.0 xcode.syntax.markup.code From 8342b47590b79c66a2395274ac1da4c3c1f83eff Mon Sep 17 00:00:00 2001 From: Lili Shi Date: Tue, 29 Jul 2025 12:12:33 -0700 Subject: [PATCH 2/4] fix xcode.tera --- xcode.tera | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xcode.tera b/xcode.tera index 0caf2a1..d5a1308 100644 --- a/xcode.tera +++ b/xcode.tera @@ -14,6 +14,10 @@ whiskers: {{ self::val(val=color.rgb.r) }} {{ self::val(val=color.rgb.g) }} {{ self::val(val=color.rgb.b) }} {{ self::val(val=color.opacity) }} {%- endmacro -%} +{%- macro keyword_font() -%} +{% if flavor.name == "Latte" %}SFMono-Semibold - 14.0{% else %}SFMono-Bold - 14.0{% endif %} +{%- endmacro -%} + @@ -216,7 +220,7 @@ whiskers: xcode.syntax.identifier.variable.system SFMono-Regular - 14.0 xcode.syntax.keyword - SFMono-Bold - 14.0 + {{ self::keyword_font() }} xcode.syntax.mark SFMono-Bold - 14.0 xcode.syntax.markup.code From 6a2c4a680f0cdd0ddf036403b25beb37496f31a2 Mon Sep 17 00:00:00 2001 From: Lili Date: Wed, 30 Jul 2025 10:06:37 -0700 Subject: [PATCH 3/4] Update xcode.tera Co-authored-by: uncenter --- xcode.tera | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcode.tera b/xcode.tera index d5a1308..7acebde 100644 --- a/xcode.tera +++ b/xcode.tera @@ -220,7 +220,7 @@ whiskers: xcode.syntax.identifier.variable.system SFMono-Regular - 14.0 xcode.syntax.keyword - {{ self::keyword_font() }} + SFMono-{% if flavor.light %}Semibold{% else %}Bold{% endif %} - 14.0 xcode.syntax.mark SFMono-Bold - 14.0 xcode.syntax.markup.code From 194a5b19895eb496d222835948ed41dfb0ed9e65 Mon Sep 17 00:00:00 2001 From: Lili Date: Wed, 30 Jul 2025 10:06:51 -0700 Subject: [PATCH 4/4] Update xcode.tera --- xcode.tera | 4 ---- 1 file changed, 4 deletions(-) diff --git a/xcode.tera b/xcode.tera index 7acebde..cca5057 100644 --- a/xcode.tera +++ b/xcode.tera @@ -14,10 +14,6 @@ whiskers: {{ self::val(val=color.rgb.r) }} {{ self::val(val=color.rgb.g) }} {{ self::val(val=color.rgb.b) }} {{ self::val(val=color.opacity) }} {%- endmacro -%} -{%- macro keyword_font() -%} -{% if flavor.name == "Latte" %}SFMono-Semibold - 14.0{% else %}SFMono-Bold - 14.0{% endif %} -{%- endmacro -%} -