theme

package
v0.74.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package theme resolves and applies themes with precedence (project-specific > global > default), supporting both built-in and community color schemes with user overrides.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyResolved

func ApplyResolved(r ResolvedTheme)

ApplyResolved applies a resolved theme to the styles system.

Types

type ResolvedTheme

type ResolvedTheme struct {
	BaseName      string
	CommunityName string
	Overrides     map[string]interface{}
}

ResolvedTheme represents a fully-determined theme configuration.

func ResolveTheme

func ResolveTheme(cfg *config.Config, projectPath string) ResolvedTheme

ResolveTheme determines the effective theme for a project path. Priority: project.Theme > global UI.Theme > "default".

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL