Added tailwind look option.

This commit is contained in:
2026-05-09 20:23:34 +02:00
parent 2699efc773
commit a28e6d5f11
3 changed files with 85 additions and 16 deletions
+4 -5
View File
@@ -19,18 +19,17 @@ To run the server from the command line:
```bash
python3 ok-server.py
python3 ok-server.py --look basic
python3 ok-server.py --bind 127.0.0.1 --port 8080 --look bootstrap
python3 ok-server.py --bind 127.0.0.1 --port 8080 --look tailwind
```
`--look` accepts `basic`, `nice`, or `bootstrap`.
`--look` accepts `basic`, `nice`, `bootstrap`, or `tailwind`.
You can override the look per request with the `look` query parameter, for example:
or
`http://localhost:8080/?look=tailwind`
```bash
node ok-server.mjs
node ok-server.mjs --look basic
node ok-server.mjs --bind 127.0.0.1 --port 8080 --look bootstrap
node ok-server.mjs --bind 127.0.0.1 --port 8080 --look tailwind
```
Connect to the server using a web browser or a tool like `curl`: