From f374a9af28494948a5a632bbd8054381087f3264 Mon Sep 17 00:00:00 2001 From: Gigi Date: Mon, 13 Oct 2025 23:15:40 +0200 Subject: [PATCH] refactor: migrate settings.css to Tailwind color palette --- src/styles/components/settings.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/styles/components/settings.css b/src/styles/components/settings.css index 95cb0cca..cfac8187 100644 --- a/src/styles/components/settings.css +++ b/src/styles/components/settings.css @@ -6,10 +6,10 @@ .settings-content { overflow-y: auto; flex: 1; margin-bottom: 1rem; text-align: left; padding: 0 0.25rem 2rem 0.25rem; } .settings-section { margin-bottom: 2.5rem; } .settings-section:last-child { margin-bottom: 0; } -.section-title { font-size: 1rem; font-weight: 600; color: #fff; margin: 0 0 1rem 0; padding-bottom: 0.5rem; border-bottom: 1px solid #333; text-transform: uppercase; letter-spacing: 0.05em; } +.section-title { font-size: 1rem; font-weight: 600; color: rgb(255 255 255); /* white */ margin: 0 0 1rem 0; padding-bottom: 0.5rem; border-bottom: 1px solid rgb(63 63 70); /* zinc-700 */ text-transform: uppercase; letter-spacing: 0.05em; } .settings-footer { display: flex; justify-content: flex-start; padding: 1rem 0 0.5rem 0; flex-shrink: 0; } -.settings-footer .btn-primary { background: #646cff; color: white; border: none; padding: 0.75rem 1.5rem; border-radius: 4px; font-size: 1rem; cursor: pointer; transition: background-color 0.2s; display: flex; align-items: center; gap: 0.5rem; } -.settings-footer .btn-primary:hover:not(:disabled) { background: #535bf2; } +.settings-footer .btn-primary { background: rgb(99 102 241); /* indigo-500 */ color: white; border: none; padding: 0.75rem 1.5rem; border-radius: 4px; font-size: 1rem; cursor: pointer; transition: background-color 0.2s; display: flex; align-items: center; gap: 0.5rem; } +.settings-footer .btn-primary:hover:not(:disabled) { background: rgb(79 70 229); /* indigo-600 */ } .settings-footer .btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }