feat: Implement dark mode theme and improve UI
- Add CSS variables for theming - Implement dark mode toggle functionality - Refactor styles for better organization and readability - Update navigation bar with theme toggle button - Enhance hero section with display-4 font size - Adjust card styles for consistent appearance - Improve alert and badge styling - Make hero server title bold and larger - Use Bootstrap 5 classes for consistent styling - Add prefetch for Bootstrap JS - Update `auth_enabled` default to false in server creation
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env -S v -n -w -gc none -cc gcc -d use_openssl -enable-globals -no-skip-unused run
|
||||
#!/usr/bin/env -S v -n -w -gc none -cc tcc -d use_openssl -enable-globals -no-skip-unused run
|
||||
|
||||
import incubaid.herolib.hero.heromodels
|
||||
import incubaid.herolib.hero.db
|
||||
|
||||
@@ -5,7 +5,7 @@ import incubaid.herolib.schemas.openrpc
|
||||
import os
|
||||
|
||||
// 1. Create a new server instance
|
||||
mut server := heroserver.new(port: 8080)!
|
||||
mut server := heroserver.new(port: 8080, auth_enabled: false)!
|
||||
|
||||
// 2. Create and register your OpenRPC handlers
|
||||
// These handlers must conform to the `openrpc.OpenRPCHandler` interface.
|
||||
|
||||
Reference in New Issue
Block a user