diff --git a/web/index.html b/web/index.html index 8b9951f..45d294e 100644 --- a/web/index.html +++ b/web/index.html @@ -1,13 +1,16 @@ - + - + - Discord Soundboard - - -
+ Soundboard + + + + + +
diff --git a/web/src/styles.css b/web/src/styles.css index 3d63c5a..e7d03f0 100644 --- a/web/src/styles.css +++ b/web/src/styles.css @@ -1,3 +1,5 @@ +@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap'); + :root { color-scheme: dark; } * { box-sizing: border-box; } [data-theme="dark"] body, @@ -19,21 +21,19 @@ body { radial-gradient(1200px 800px at 110% 10%, rgba(99,102,241,.16), transparent 60%), linear-gradient(180deg, #f5f7fb 0%, #eef2f7 100%); color: #0f172a; + font-family: Inter, ui-sans-serif, system-ui, Segoe UI, Roboto, Helvetica, Arial; } [data-theme="light"] .controls.glass, -[data-theme="light"] .tabs.glass, +[data-theme="light"] .tabs.glass { background: #ffffff; border: 1px solid #e8e8ed; box-shadow: 0 8px 24px rgba(0,0,0,.06); } [data-theme="light"] .select-trigger, [data-theme="light"] .control input, -[data-theme="light"] .control select, -[data-theme="light"] .sound { - background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.7)); - color: #0f172a; - border-color: rgba(0,0,0,.08); - box-shadow: 0 8px 24px rgba(15,23,42,.08), inset 0 1px 0 rgba(255,255,255,1); -} +[data-theme="light"] .control select { background: #f2f2f6; border: 1px solid #dcdce1; color: #1d1d1f; box-shadow: none; } +[data-theme="light"] .control input::placeholder { color: #6e6e73; } +[data-theme="light"] .sound { background: #ffffff; border: 1px solid #e8e8ed; color: #1d1d1f; box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease; } +[data-theme="light"] .sound:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.1); border-color: #007aff; } [data-theme="light"] .select-menu { background: #ffffff; color: #0f172a; } [data-theme="light"] .select-item:hover { background: rgba(15,23,42,.06); } -[data-theme="light"] .tab { color: #0f172a; border-color: rgba(0,0,0,.1); background: rgba(255,255,255,.95); } +[data-theme="light"] .tab { color: #1d1d1f; background: #e8e8ed; border: 1px solid transparent; } [data-theme="light"] .tab:hover { background: rgba(15,23,42,.06); } [data-theme="light"] .tab.active { background: linear-gradient(135deg, rgba(59,130,246,.25), rgba(99,102,241,.25)); } [data-theme="light"] .badge { background: rgba(15,23,42,.06); border-color: rgba(15,23,42,.1); color: #0f172a; }