💄 style(templates): enforce dark mode with Tailwind config
- add script to force class-based dark mode for reliable toggle functionality
🔧 chore(docker): remove version from docker-compose file
- eliminate version declaration for streamlined configuration
This commit is contained in:
parent
5b676d2a2c
commit
271e32eb2c
2 changed files with 4 additions and 1 deletions
|
|
@ -8,6 +8,10 @@
|
|||
<link rel="manifest" href="/manifest.webmanifest" />
|
||||
|
||||
<!-- Tailwind via CDN for quick styling (sufficient for an MVP) -->
|
||||
<script>
|
||||
// Force class-based dark mode so the toggle works reliably.
|
||||
tailwind = { config: { darkMode: "class" } };
|
||||
</script>
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
|
||||
<link rel="stylesheet" href="/static/style.css" />
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
version: "3.9"
|
||||
services:
|
||||
fleetledger:
|
||||
build: .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue