mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
14 lines
343 B
Python
Executable file
14 lines
343 B
Python
Executable file
#!/usr/bin/env python3
|
|
|
|
import _theme as theme
|
|
import os
|
|
|
|
with open(os.path.join(os.path.dirname(__file__), "prismjs-theme-src.css")) as f:
|
|
css_src = f.read()
|
|
|
|
for var_name, color in theme.css_variables.items():
|
|
css_src = css_src.replace(
|
|
"var(--{}{})".format(theme.css_variables_prefix, var_name), color
|
|
)
|
|
|
|
print(css_src)
|