Skip to content

Commit fab4b15

Browse files
committed
no need to read base.css
1 parent 7f3ee03 commit fab4b15

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tailwind.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import {readFileSync} from 'node:fs';
22
import {parse} from 'css-variables-parser';
33

44
const colors = Object.keys(parse([
5-
readFileSync(new URL('web_src/css/base.css', import.meta.url), 'utf8'),
65
readFileSync(new URL('web_src/css/themes/theme-gitea-light.css', import.meta.url), 'utf8'),
76
readFileSync(new URL('web_src/css/themes/theme-gitea-dark.css', import.meta.url), 'utf8'),
87
].join('\n'), {})).filter((prop) => prop.startsWith('color-')).map((prop) => prop.substring(6));

0 commit comments

Comments
 (0)