diff --git a/devplacepy/avatar.py b/devplacepy/avatar.py index ba0471fe..aa931fda 100644 --- a/devplacepy/avatar.py +++ b/devplacepy/avatar.py @@ -28,6 +28,6 @@ def generate_avatar_svg(seed: str) -> str: initial = seed[:1].upper() if seed else "?" return ( '' - f'' - f'{initial}' + f'' + f'{initial}' ) diff --git a/devplacepy/static/apple-touch-icon.png b/devplacepy/static/apple-touch-icon.png index 8d4cc517..1ebb9c79 100644 Binary files a/devplacepy/static/apple-touch-icon.png and b/devplacepy/static/apple-touch-icon.png differ diff --git a/devplacepy/static/css/base.css b/devplacepy/static/css/base.css index acf2c1d4..390d5f9e 100644 --- a/devplacepy/static/css/base.css +++ b/devplacepy/static/css/base.css @@ -446,7 +446,7 @@ img { .btn-primary { background: var(--accent-gradient); color: var(--on-accent); - box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.35); + box-shadow: 0 2px 12px rgba(var(--accent-rgb), 0.3); } .btn-primary:hover { diff --git a/devplacepy/static/css/variables.css b/devplacepy/static/css/variables.css index 81530ce7..49e08fb6 100644 --- a/devplacepy/static/css/variables.css +++ b/devplacepy/static/css/variables.css @@ -1,42 +1,42 @@ /* retoor */ :root { - --bg-primary: #0a0a0f; - --bg-secondary: #111118; - --bg-card: #111118; - --bg-card-hover: #1a1a24; - --bg-input: #0a0a0f; - --bg-modal: #111118; + --bg-primary: #271b5b; + --bg-secondary: #1a1736; + --bg-card: #13112a; + --bg-card-hover: #1a1736; + --bg-input: #1a1736; + --bg-modal: #13112a; - --accent: #22c55e; - --accent-rgb: 34, 197, 94; - --accent-hover: #16a34a; - --accent-light: rgba(34, 197, 94, 0.12); - --accent-2: #4ade80; - --accent-gradient: linear-gradient(135deg, #22c55e, #16a34a); - --on-accent: #052e16; + --accent: #b73f1e; + --accent-rgb: 183, 63, 30; + --accent-hover: #af3050; + --accent-light: rgba(183, 63, 30, 0.14); + --accent-2: #af3050; + --accent-gradient: linear-gradient(135deg, #b73f1e, #af3050, #8f3b71); + --on-accent: #fff; - --text-primary: #c8c8d0; - --text-secondary: #8b8b9e; - --text-muted: #6b6b80; + --text-primary: #e9e4ff; + --text-secondary: #c8c3e5; + --text-muted: #9b93c9; - --border: #222233; - --border-light: #2e2e40; + --border: #11101f; + --border-light: #2f2a55; - --success: #22c55e; - --warning: #eab308; - --danger: #ef4444; + --success: #34d399; + --warning: #fbbf24; + --danger: #f87171; --info: #60a5fa; - --radius: 4px; - --radius-input: 4px; - --radius-lg: 6px; - --radius-xl: 8px; + --radius: 8px; + --radius-input: 8px; + --radius-lg: 12px; + --radius-xl: 16px; - --shadow-sm: 0 0 0 1px rgba(34, 34, 51, 0.8); - --shadow: 0 4px 20px rgba(0, 0, 0, 0.5); - --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6); - --glow-accent: 0 0 0 1px rgba(var(--accent-rgb), 0.35); + --shadow-sm: 0 2px 15px -3px rgba(0, 0, 0, 0.07), 0 10px 20px -2px rgba(0, 0, 0, 0.04); + --shadow: 0 4px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); + --shadow-lg: 0 10px 40px -10px rgba(0, 0, 0, 0.15), 0 2px 10px -2px rgba(0, 0, 0, 0.05); + --glow-accent: 0 6px 24px rgba(183, 63, 30, 0.45); --white: #fff; --overlay-dark: rgba(0, 0, 0, 0.7); @@ -49,8 +49,8 @@ --space-xl: 1.5rem; --space-2xl: 2rem; - --font-sans: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace; - --font-mono: "JetBrains Mono", "SF Mono", Monaco, "Cascadia Code", monospace; + --font-sans: "Trebuchet MS", "Segoe UI", Tahoma, Verdana, sans-serif; + --font-mono: "SF Mono", Monaco, "Cascadia Code", monospace; --nav-height: 56px; --sidebar-width: 240px; @@ -77,5 +77,5 @@ --topic-fun: #ffab00; --topic-politics: #00bcd4; - --bg-gradient: linear-gradient(135deg, #0a0a0f 0%, #111118 50%, #0a0a0f 100%); + --bg-gradient: linear-gradient(135deg, #271b5b 0%, #1d1545 50%, #271b5b 100%); } diff --git a/devplacepy/static/icon-192.png b/devplacepy/static/icon-192.png index 1be46753..6d86ddf0 100644 Binary files a/devplacepy/static/icon-192.png and b/devplacepy/static/icon-192.png differ diff --git a/devplacepy/static/icon-512.png b/devplacepy/static/icon-512.png index 92a6604c..bc1ef2ad 100644 Binary files a/devplacepy/static/icon-512.png and b/devplacepy/static/icon-512.png differ diff --git a/devplacepy/static/icon-maskable-512.png b/devplacepy/static/icon-maskable-512.png index 92a6604c..bc1ef2ad 100644 Binary files a/devplacepy/static/icon-maskable-512.png and b/devplacepy/static/icon-maskable-512.png differ diff --git a/devplacepy/static/js/StatisticsCharts.js b/devplacepy/static/js/StatisticsCharts.js index dedf006a..eeb7eb02 100644 --- a/devplacepy/static/js/StatisticsCharts.js +++ b/devplacepy/static/js/StatisticsCharts.js @@ -1,14 +1,14 @@ // retoor const CHART_COLORS = [ - "#22c55e", - "#7c4dff", - "#00bfa5", - "#448aff", + "#b73f1e", + "#8f3b71", + "#34d399", + "#3a4b70", "#ffab00", - "#ff5252", - "#42a5f5", - "#4ade80", + "#f87171", + "#61477c", + "#af3050", ]; export class StatisticsCharts { diff --git a/devplacepy/static/js/components/AppChat.js b/devplacepy/static/js/components/AppChat.js index 16d3bcf7..0967cdd1 100644 --- a/devplacepy/static/js/components/AppChat.js +++ b/devplacepy/static/js/components/AppChat.js @@ -24,15 +24,15 @@ const SEARCH_DEBOUNCE_MS = 200; const AUTO_GROW_MAX_HEIGHT_PX = 160; const LIGHT_THEME_OVERRIDES = { - "--bg-primary": "#f1f5f9", + "--bg-primary": "#f5f3fa", "--bg-secondary": "#ffffff", "--bg-card": "#ffffff", - "--bg-card-hover": "#e2e8f0", - "--text-primary": "#0f172a", - "--text-secondary": "#475569", - "--text-muted": "#64748b", - "--border": "#cbd5e1", - "--border-light": "#e2e8f0", + "--bg-card-hover": "#f0edf7", + "--text-primary": "#1a1030", + "--text-secondary": "#4a3f5c", + "--text-muted": "#8b7fa0", + "--border": "rgba(0, 0, 0, 0.1)", + "--border-light": "rgba(0, 0, 0, 0.16)", }; export class AppChat extends Component { diff --git a/devplacepy/static/manifest.json b/devplacepy/static/manifest.json index f6481efd..117b22bd 100644 --- a/devplacepy/static/manifest.json +++ b/devplacepy/static/manifest.json @@ -9,8 +9,8 @@ "orientation": "any", "lang": "en", "dir": "ltr", - "background_color": "#0a0a0f", - "theme_color": "#0a0a0f", + "background_color": "#271b5b", + "theme_color": "#271b5b", "icons": [ { "src": "/static/icon-192.png", diff --git a/devplacepy/static/offline.html b/devplacepy/static/offline.html index 8d152fe8..3625d7af 100644 --- a/devplacepy/static/offline.html +++ b/devplacepy/static/offline.html @@ -7,11 +7,11 @@ Offline - DevPlace