Skip to content

Commit 7f0057b

Browse files
committed
feat: support for dark mode in chromad
- Upgraded Bulma. - Default to monokai if browser is in dark mode, monokailight if not.
1 parent d87cb47 commit 7f0057b

File tree

6 files changed

+21582
-10605
lines changed

6 files changed

+21582
-10605
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ tokentype_string.go: types.go
1515
.PHONY: chromad
1616
chromad: build/chromad
1717

18-
build/chromad: $(find . -name '*.go' -o -name '*.html' -o '*.css' -o '*.js')
18+
build/chromad: $(shell find cmd/chromad -name '*.go' -o -name '*.html' -o -name '*.css' -o -name '*.js')
1919
rm -rf build
2020
esbuild --bundle cmd/chromad/static/index.js --minify --outfile=cmd/chromad/static/index.min.js
2121
esbuild --bundle cmd/chromad/static/index.css --minify --outfile=cmd/chromad/static/index.min.css

cmd/chromad/reflex.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
-sr '.*' -- \
2-
go run .
2+
go run . --csrf-key=asdf

0 commit comments

Comments
 (0)