mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 17:50:45 +00:00
Add tweakcn custom theme import
Adds a browser-local custom tweakcn theme slot while preserving the existing built-in themes.
Includes:
- tweakcn share-link import, validation, persistence, and custom theme rendering
- Custom option in Appearance and Quick Settings
- responsive/config toolbar and chat tool-card polish from follow-up review
- security hardening for bounded fetches, CSS token validation, redirect handling, and fail-closed unreadable payloads
Verification:
- OPENCLAW_LOCAL_CHECK=0 pnpm check:changed
- GitHub CI clean on 6ff13a1b33
This commit is contained in:
@@ -188,13 +188,13 @@
|
||||
}
|
||||
|
||||
/* Scrollbar - visible on light backgrounds */
|
||||
:root[data-theme="light"]::-webkit-scrollbar-thumb,
|
||||
:root[data-theme="light"] ::-webkit-scrollbar-thumb {
|
||||
:root[data-theme-mode="light"]::-webkit-scrollbar-thumb,
|
||||
:root[data-theme-mode="light"] ::-webkit-scrollbar-thumb {
|
||||
background: rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
:root[data-theme="light"]::-webkit-scrollbar-thumb:hover,
|
||||
:root[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
|
||||
:root[data-theme-mode="light"]::-webkit-scrollbar-thumb:hover,
|
||||
:root[data-theme-mode="light"] ::-webkit-scrollbar-thumb:hover {
|
||||
background: rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user