mirror of
https://github.com/catppuccin/python.git
synced 2026-03-16 00:02:01 +08:00
feat: change prefix on pygments css file names
This commit is contained in:
parent
d415e110a0
commit
cfb2694be1
@ -52,12 +52,12 @@ def variable_css() -> str:
|
||||
def build_css() -> None:
|
||||
# build individual CSS files for each flavor
|
||||
for flavor in PALETTE:
|
||||
filename = f"ctp-{flavor.identifier}.css"
|
||||
filename = f"catppuccin-{flavor.identifier}.css"
|
||||
path = PYGMENTS_DIR / filename
|
||||
write(postprocess_css(flavor_css(flavor.identifier)), path)
|
||||
|
||||
# build a variable CSS file
|
||||
path = PYGMENTS_DIR / "ctp-variable.css"
|
||||
path = PYGMENTS_DIR / "catppuccin.variables.css"
|
||||
write(postprocess_css(variable_css()), path)
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user