restructure theme css
This commit is contained in:
@@ -1269,6 +1269,14 @@ var defaultThemeCSS string
|
||||
//go:embed tw_preflight.css
|
||||
var defaultPreflightCSS string
|
||||
|
||||
// kjolThemeCSS is the shared kjol extension layer — the semantic design tokens
|
||||
// (surface/line/ink/...), the class-based dark variant, the chart palette and the
|
||||
// :root icon vars. It sits between Tailwind's defaults and an app's brand, and is
|
||||
// prepended to the app entry stylesheet by CompileApp / CompileAppFiles.
|
||||
//
|
||||
//go:embed kjol_theme.css
|
||||
var kjolThemeCSS string
|
||||
|
||||
func parseThemeOptions(params string) ThemeOptions {
|
||||
o := themeNone
|
||||
for _, f := range strings.Fields(params) {
|
||||
|
||||
Reference in New Issue
Block a user