From 98877caafbce3788df722292b39a6d98754b1c7e Mon Sep 17 00:00:00 2001 From: Himanshu Sardana Date: Sat, 28 Mar 2026 00:29:05 +0000 Subject: fix: read default theme from config file --- cmd/build.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cmd/build.go') diff --git a/cmd/build.go b/cmd/build.go index 3877721..298a17b 100644 --- a/cmd/build.go +++ b/cmd/build.go @@ -6,11 +6,16 @@ import ( "os" "github.com/HimanshuSardana/kite/internal/build" + "github.com/HimanshuSardana/kite/pkg/config" ) func runBuild(args []string) { themeName := DefaultTheme + if cfg, err := config.Load("config.yaml"); err == nil && cfg.DefaultTheme != "" { + themeName = cfg.DefaultTheme + } + if len(args) > 2 { themeName = args[2] } -- cgit v1.3.1