diff --git a/src/styles/components/modals.css b/src/styles/components/modals.css index 37ef38aa..6e357a0a 100644 --- a/src/styles/components/modals.css +++ b/src/styles/components/modals.css @@ -1,28 +1,27 @@ /* Add Bookmark Modal */ .modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.75); display: flex; align-items: center; justify-content: center; z-index: 10000; padding: 1rem; } -.modal-content { background: rgb(24 24 27); /* zinc-900 */ border: 1px solid rgb(63 63 70); /* zinc-700 */ border-radius: 12px; max-width: 500px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5); box-sizing: border-box; } +.modal-content { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 12px; max-width: 500px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5); box-sizing: border-box; } @media (max-width: 768px) { .modal-overlay { padding: 0; align-items: flex-end; } .modal-content { max-width: 100%; max-height: 95vh; max-height: 95dvh; border-radius: 16px 16px 0 0; margin: 0; padding-bottom: var(--safe-area-bottom); } } -.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid rgb(63 63 70); /* zinc-700 */ } -.modal-header h2 { margin: 0; font-size: 1.5rem; color: rgb(255 255 255); /* white */ } +.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); } +.modal-header h2 { margin: 0; font-size: 1.5rem; color: var(--color-text); } .modal-form { padding: 1.5rem; } .form-group { margin-bottom: 1.25rem; } -.form-group label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; color: rgb(212 212 216); /* zinc-300 */ font-size: 0.9rem; font-weight: 500; } -.fetching-indicator { font-size: 0.8rem; color: rgb(161 161 170); /* zinc-400 */ font-weight: normal; display: inline-flex; align-items: center; gap: 0.5rem; } -.form-group input, .form-group textarea { width: 100%; padding: 0.75rem; background: rgb(39 39 42); /* zinc-800 */ border: 1px solid rgb(82 82 91); /* zinc-600 */ border-radius: 6px; color: rgb(255 255 255); /* white */ font-size: 1rem; font-family: inherit; transition: border-color 0.2s; box-sizing: border-box; } -.form-group input:focus, .form-group textarea:focus { outline: none; border-color: rgb(99 102 241); /* indigo-500 */ } +.form-group label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; color: var(--color-text); font-size: 0.9rem; font-weight: 500; } +.fetching-indicator { font-size: 0.8rem; color: var(--color-text-secondary); font-weight: normal; display: inline-flex; align-items: center; gap: 0.5rem; } +.form-group input, .form-group textarea { width: 100%; padding: 0.75rem; background: var(--color-bg-elevated); border: 1px solid var(--color-border-subtle); border-radius: 6px; color: var(--color-text); font-size: 1rem; font-family: inherit; transition: border-color 0.2s; box-sizing: border-box; } +.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--color-primary); } .form-group input:disabled, .form-group textarea:disabled { opacity: 0.6; cursor: not-allowed; } .form-group textarea { resize: vertical; min-height: 80px; } -.form-helper-text { margin-top: 0.25rem; font-size: 0.8rem; color: rgb(161 161 170); /* zinc-400 */ line-height: 1.4; } -.modal-error { padding: 0.75rem; background: rgba(220, 53, 69, 0.1); border: 1px solid rgb(220 38 38); /* red-600 */ border-radius: 6px; color: rgb(220 38 38); /* red-600 */ font-size: 0.9rem; margin-bottom: 1rem; } +.form-helper-text { margin-top: 0.25rem; font-size: 0.8rem; color: var(--color-text-secondary); line-height: 1.4; } +.modal-error { padding: 0.75rem; background: rgba(220, 53, 69, 0.1); border: 1px solid rgb(220 38 38); border-radius: 6px; color: rgb(220 38 38); font-size: 0.9rem; margin-bottom: 1rem; } .modal-actions { display: flex; gap: 0.75rem; justify-content: flex-end; margin-top: 1.5rem; } -.btn-secondary { padding: 0.75rem 1.5rem; background: rgb(39 39 42); /* zinc-800 */ border: 1px solid rgb(82 82 91); /* zinc-600 */ border-radius: 6px; color: rgb(212 212 216); /* zinc-300 */ font-size: 1rem; cursor: pointer; transition: all 0.2s; } -.btn-secondary:hover:not(:disabled) { background: rgb(63 63 70); /* zinc-700 */ border-color: rgb(99 102 241); /* indigo-500 */ color: white; } +.btn-secondary { padding: 0.75rem 1.5rem; background: var(--color-bg-elevated); border: 1px solid var(--color-border-subtle); border-radius: 6px; color: var(--color-text); font-size: 1rem; cursor: pointer; transition: all 0.2s; } +.btn-secondary:hover:not(:disabled) { background: var(--color-border); border-color: var(--color-primary); color: var(--color-text); } .btn-secondary:disabled { opacity: 0.6; cursor: not-allowed; } -.btn-primary { padding: 0.75rem 1.5rem; background: rgb(99 102 241); /* indigo-500 */ border: none; border-radius: 6px; color: white; font-size: 1rem; cursor: pointer; transition: background-color 0.2s; } -.btn-primary:hover:not(:disabled) { background: rgb(79 70 229); /* indigo-600 */ } +.btn-primary { padding: 0.75rem 1.5rem; background: var(--color-primary); border: none; border-radius: 6px; color: white; font-size: 1rem; cursor: pointer; transition: background-color 0.2s; } +.btn-primary:hover:not(:disabled) { background: var(--color-primary-hover); } .btn-primary:disabled { opacity: 0.6; cursor: not-allowed; } - diff --git a/src/styles/components/settings.css b/src/styles/components/settings.css index a74f5d50..ea1927c2 100644 --- a/src/styles/components/settings.css +++ b/src/styles/components/settings.css @@ -6,37 +6,37 @@ .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: 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; } +.section-title { font-size: 1rem; font-weight: 600; color: var(--color-text); margin: 0 0 1rem 0; padding-bottom: 0.5rem; border-bottom: 1px solid var(--color-border); 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: 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 { background: var(--color-primary); 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: var(--color-primary-hover); } .settings-footer .btn-primary:disabled { opacity: 0.6; cursor: not-allowed; } /* Setting groups */ .setting-group { margin-bottom: 1.5rem; } -.setting-label { display: block; margin-bottom: 0.75rem; font-size: 0.9rem; font-weight: 500; color: rgb(212 212 216); /* zinc-300 */ } +.setting-label { display: block; margin-bottom: 0.75rem; font-size: 0.9rem; font-weight: 500; color: var(--color-text); } /* Zap splits preset buttons */ .zap-preset-buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; } .zap-preset-btn { padding: 0.625rem 1.25rem; - background: rgb(39 39 42); /* zinc-800 */ - border: 1px solid rgb(82 82 91); /* zinc-600 */ + background: var(--color-bg-elevated); + border: 1px solid var(--color-border-subtle); border-radius: 6px; - color: rgb(212 212 216); /* zinc-300 */ + color: var(--color-text); font-size: 0.9rem; cursor: pointer; transition: all 0.2s ease; font-weight: 500; } .zap-preset-btn:hover { - background: rgb(63 63 70); /* zinc-700 */ - border-color: rgb(99 102 241); /* indigo-500 */ - color: rgb(255 255 255); /* white */ + background: var(--color-border); + border-color: var(--color-primary); + color: var(--color-text); } .zap-preset-btn.active { - background: rgb(99 102 241); /* indigo-500 */ - border-color: rgb(99 102 241); /* indigo-500 */ + background: var(--color-primary); + border-color: var(--color-primary); color: rgb(255 255 255); /* white */ } @@ -47,14 +47,14 @@ justify-content: space-between; margin-bottom: 0.5rem; font-size: 0.85rem; - color: rgb(161 161 170); /* zinc-400 */ + color: var(--color-text-secondary); } .zap-split-label { font-weight: 500; } .zap-split-slider { width: 100%; height: 8px; border-radius: 4px; - background: rgb(39 39 42); /* zinc-800 */ + background: var(--color-bg-elevated); outline: none; -webkit-appearance: none; } @@ -64,36 +64,36 @@ width: 20px; height: 20px; border-radius: 50%; - background: rgb(99 102 241); /* indigo-500 */ + background: var(--color-primary); cursor: pointer; transition: all 0.2s ease; } .zap-split-slider::-webkit-slider-thumb:hover { - background: rgb(79 70 229); /* indigo-600 */ + background: var(--color-primary-hover); transform: scale(1.1); } .zap-split-slider::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; - background: rgb(99 102 241); /* indigo-500 */ + background: var(--color-primary); cursor: pointer; border: none; transition: all 0.2s ease; } .zap-split-slider::-moz-range-thumb:hover { - background: rgb(79 70 229); /* indigo-600 */ + background: var(--color-primary-hover); transform: scale(1.1); } .zap-split-description { margin-top: 1.5rem; padding: 1rem; - background: rgb(39 39 42); /* zinc-800 */ - border: 1px solid rgb(63 63 70); /* zinc-700 */ + background: var(--color-bg-elevated); + border: 1px solid var(--color-border); border-radius: 6px; font-size: 0.875rem; line-height: 1.5; - color: rgb(161 161 170); /* zinc-400 */ + color: var(--color-text-secondary); } /* Relay items */ @@ -146,4 +146,3 @@ } } - diff --git a/src/styles/layout/highlights.css b/src/styles/layout/highlights.css index 52ebd8b4..5fb2b3e4 100644 --- a/src/styles/layout/highlights.css +++ b/src/styles/layout/highlights.css @@ -1,6 +1,6 @@ /* Highlights panel layout and interactions */ .highlights-container { - background: rgb(24 24 27); /* zinc-900 */ + background: var(--color-bg); display: flex; flex-direction: column; height: 100%; @@ -25,8 +25,8 @@ } .highlights-container.collapsed .toggle-highlights-btn { - background: rgb(39 39 42); /* zinc-800 */ - color: rgb(228 228 231); /* zinc-200 */ + background: var(--color-bg-elevated); + color: var(--color-text); border: none; padding: 0; border-radius: 0; @@ -39,7 +39,7 @@ height: 36px; } -.highlights-container.collapsed .toggle-highlights-btn:hover { background: rgb(63 63 70); /* zinc-700 */ color: rgb(255 255 255); /* white */ } +.highlights-container.collapsed .toggle-highlights-btn:hover { background: var(--color-border); color: var(--color-text); } .highlights-container.collapsed .toggle-highlights-btn:active { transform: translateY(1px); } .highlights-container.collapsed .toggle-highlights-btn.with-icon { width: auto; padding: 0 0.5rem; gap: 0.5rem; } @@ -48,8 +48,8 @@ align-items: center; justify-content: space-between; padding: 0.75rem 1rem; - border-bottom: 1px solid rgb(63 63 70); /* zinc-700 */ - background: rgb(24 24 27); /* zinc-900 */ + border-bottom: 1px solid var(--color-border); + background: var(--color-bg); border-radius: 12px 12px 0 0; } @@ -65,32 +65,32 @@ .highlights-title { display: flex; align-items: center; gap: 0.5rem; } .highlights-title h3 { margin: 0; font-size: 1rem; font-weight: 600; } -.highlights-title .count { color: rgb(161 161 170); /* zinc-400 */ font-size: 0.875rem; } +.highlights-title .count { color: var(--color-text-secondary); font-size: 0.875rem; } .highlight-mode-toggle { display: flex; gap: 0.25rem; padding: 0.25rem; background: rgba(255, 255, 255, 0.05); border-radius: 4px; } -.highlight-mode-toggle .mode-btn { background: none; border: none; color: rgb(161 161 170); /* zinc-400 */ cursor: pointer; padding: 0.375rem 0.5rem; border-radius: 3px; transition: all 0.2s; font-size: 0.9rem; } -.highlight-mode-toggle .mode-btn:hover { background: rgba(255, 255, 255, 0.1); color: rgb(255 255 255); /* white */ } -.highlight-mode-toggle .mode-btn.active { background: rgb(99 102 241); /* indigo-500 */ color: rgb(255 255 255); /* white */ } +.highlight-mode-toggle .mode-btn { background: none; border: none; color: var(--color-text-secondary); cursor: pointer; padding: 0.375rem 0.5rem; border-radius: 3px; transition: all 0.2s; font-size: 0.9rem; } +.highlight-mode-toggle .mode-btn:hover { background: rgba(255, 255, 255, 0.1); color: var(--color-text); } +.highlight-mode-toggle .mode-btn.active { background: var(--color-primary); color: rgb(255 255 255); /* white */ } /* Three-level highlight toggles */ .highlight-level-toggles { display: flex; gap: 0.25rem; padding: 0.25rem; background: rgba(255, 255, 255, 0.05); border-radius: 4px; } .highlights-loading, -.highlights-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem 1rem; color: rgb(161 161 170); /* zinc-400 */ text-align: center; gap: 0.5rem; } -.highlights-empty svg { color: rgb(113 113 122); /* zinc-500 */ margin-bottom: 0.5rem; } -.empty-hint { font-size: 0.875rem; color: rgb(113 113 122); /* zinc-500 */ margin-top: 0.5rem; } +.highlights-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem 1rem; color: var(--color-text-secondary); text-align: center; gap: 0.5rem; } +.highlights-empty svg { color: var(--color-text-muted); margin-bottom: 0.5rem; } +.empty-hint { font-size: 0.875rem; color: var(--color-text-muted); margin-top: 0.5rem; } .highlights-list { overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; } -.highlight-item { background: rgb(30 30 30); /* ~zinc-850 */ border: 1px solid rgb(63 63 70); /* zinc-700 */ border-radius: 8px; padding: 0; display: flex; transition: border-color 0.2s ease; position: relative; } -.highlight-item:hover { border-color: rgb(99 102 241); /* indigo-500 */ } -.highlight-item.selected { border-color: rgb(99 102 241); /* indigo-500 */ background: rgb(39 39 42); /* zinc-800 */ box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.3); } +.highlight-item { background: var(--color-bg-subtle); border: 1px solid var(--color-border); border-radius: 8px; padding: 0; display: flex; transition: border-color 0.2s ease; position: relative; } +.highlight-item:hover { border-color: var(--color-primary); } +.highlight-item.selected { border-color: var(--color-primary); background: var(--color-bg-elevated); box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.3); } /* Compact button for highlight cards */ -.compact-button { background: none; border: none; color: rgb(161 161 170); /* zinc-400 */ cursor: pointer; padding: 0.25rem; font-size: 0.75rem; display: flex; align-items: center; justify-content: center; gap: 0.25rem; transition: all 0.2s ease; border-radius: 4px; min-width: 20px; min-height: 20px; } -.compact-button:hover { color: rgb(212 212 216); /* zinc-300 */ background: rgba(255, 255, 255, 0.05); } +.compact-button { background: none; border: none; color: var(--color-text-secondary); cursor: pointer; padding: 0.25rem; font-size: 0.75rem; display: flex; align-items: center; justify-content: center; gap: 0.25rem; transition: all 0.2s ease; border-radius: 4px; min-width: 20px; min-height: 20px; } +.compact-button:hover { color: var(--color-text); background: rgba(255, 255, 255, 0.05); } .compact-button:active { transform: scale(0.95); } .compact-button:disabled { opacity: 0.5; cursor: not-allowed; } -.compact-button:disabled:hover { background: none; color: rgb(161 161 170); /* zinc-400 */ transform: none; } +.compact-button:disabled:hover { background: none; color: var(--color-text-secondary); transform: none; } .highlight-header { position: absolute; top: 0; left: 0; right: 0; padding: 0.25rem 0.5rem; display: flex; align-items: center; justify-content: flex-end; pointer-events: none; border-top-left-radius: 8px; border-top-right-radius: 8px; transition: border-color 0.2s ease; } .highlight-header .compact-button { pointer-events: auto; } @@ -127,17 +127,17 @@ .highlight-item.level-nostrverse .highlight-quote-icon { color: var(--highlight-color-nostrverse, #9333ea); } .highlight-content { flex: 1; display: flex; flex-direction: column; gap: 0.5rem; padding: 2.25rem 0.75rem; } -.highlight-text { margin: 0; padding: 0; font-style: italic; color: rgb(228 228 231); /* zinc-200 */ line-height: 1.6; border-left: none; font-size: 0.95rem; } -.highlight-comment { margin-top: 0.5rem; padding: 0.75rem; border-left: 3px solid; border-radius: 4px; font-size: 0.875rem; color: rgb(228 228 231); /* zinc-200 */ line-height: 1.5; } +.highlight-text { margin: 0; padding: 0; font-style: italic; color: var(--color-text); line-height: 1.6; border-left: none; font-size: 0.95rem; } +.highlight-comment { margin-top: 0.5rem; padding: 0.75rem; border-left: 3px solid; border-radius: 4px; font-size: 0.875rem; color: var(--color-text); line-height: 1.5; } /* Level-colored comments */ .highlight-item.level-mine .highlight-comment { background: color-mix(in srgb, var(--highlight-color-mine, #ffff00) 10%, transparent); border-left-color: var(--highlight-color-mine, #ffff00); } .highlight-item.level-friends .highlight-comment { background: color-mix(in srgb, var(--highlight-color-friends, #f97316) 10%, transparent); border-left-color: var(--highlight-color-friends, #f97316); } .highlight-item.level-nostrverse .highlight-comment { background: color-mix(in srgb, var(--highlight-color-nostrverse, #9333ea) 10%, transparent); border-left-color: var(--highlight-color-nostrverse, #9333ea); } -.highlight-footer { position: absolute; bottom: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 0.25rem 0.5rem; font-size: 0.8rem; color: rgb(161 161 170); /* zinc-400 */ border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; transition: border-color 0.2s ease; } +.highlight-footer { position: absolute; bottom: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 0.25rem 0.5rem; font-size: 0.8rem; color: var(--color-text-secondary); border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; transition: border-color 0.2s ease; } .highlight-footer-left { display: flex; align-items: center; gap: 0.4rem; min-width: 0; } -.highlight-author { color: rgb(212 212 216); /* zinc-300 */ font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; display: inline-flex; align-items: center; min-height: 28px; } +.highlight-author { color: var(--color-text); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; display: inline-flex; align-items: center; min-height: 28px; } /* Ensure relay indicator in footer uses normal flow and matches CompactButton spacing */ .highlight-item .highlight-footer .highlight-relay-indicator { @@ -148,11 +148,10 @@ padding: 0.25rem; /* CompactButton base */ } .highlight-menu-wrapper { position: relative; flex-shrink: 0; display: flex; align-items: center; } -.highlight-menu { position: absolute; right: 0; top: calc(100% + 4px); background: rgb(39 39 42); /* zinc-800 */ border: 1px solid rgb(82 82 91); /* zinc-600 */ border-radius: 6px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); z-index: 1000; min-width: 160px; overflow: hidden; } -.highlight-menu-item { width: 100%; background: none; border: none; color: rgb(228 228 231); /* zinc-200 */ padding: 0.625rem 0.875rem; font-size: 0.875rem; display: flex; align-items: center; gap: 0.625rem; cursor: pointer; transition: all 0.15s ease; text-align: left; white-space: nowrap; } -.highlight-menu-item:hover { background: rgba(99, 102, 241, 0.15); color: rgb(255 255 255); /* white */ } +.highlight-menu { position: absolute; right: 0; top: calc(100% + 4px); background: var(--color-bg-elevated); border: 1px solid var(--color-border-subtle); border-radius: 6px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); z-index: 1000; min-width: 160px; overflow: hidden; } +.highlight-menu-item { width: 100%; background: none; border: none; color: var(--color-text); padding: 0.625rem 0.875rem; font-size: 0.875rem; display: flex; align-items: center; gap: 0.625rem; cursor: pointer; transition: all 0.15s ease; text-align: left; white-space: nowrap; } +.highlight-menu-item:hover { background: rgba(99, 102, 241, 0.15); color: var(--color-text); } .highlight-menu-item:disabled { opacity: 0.5; cursor: not-allowed; } .highlight-menu-item-danger:hover { background: rgba(255, 68, 68, 0.15); color: rgb(239 68 68); /* red-500 */ } .highlight-menu-item svg { font-size: 0.875rem; flex-shrink: 0; } - diff --git a/src/styles/layout/sidebar.css b/src/styles/layout/sidebar.css index 97f2c181..140415ee 100644 --- a/src/styles/layout/sidebar.css +++ b/src/styles/layout/sidebar.css @@ -1,6 +1,6 @@ /* Bookmarks and sidebar layout */ .bookmarks-container { - background: rgb(24 24 27); /* zinc-900 */ + background: var(--color-bg); display: flex; flex-direction: column; height: 100%; @@ -20,7 +20,7 @@ .bookmarks-container .view-mode-controls { margin-top: auto; padding: 1rem; - border-top: 1px solid rgb(63 63 70); /* zinc-700 */ + border-top: 1px solid var(--color-border); background: transparent; border-radius: 0; } @@ -41,15 +41,15 @@ justify-content: space-between; gap: 0.75rem; padding: 0.75rem 1rem; - background: rgb(24 24 27); /* zinc-900 */ - border-bottom: 1px solid rgb(63 63 70); /* zinc-700 */ + background: var(--color-bg); + border-bottom: 1px solid var(--color-border); margin-bottom: 0; } /* Mobile: add borders and rounded corners */ @media (max-width: 768px) { .sidebar-header-bar { - border: 1px solid rgb(63 63 70); /* zinc-700 */ + border: 1px solid var(--color-border); border-radius: 12px 12px 0 0; } } @@ -95,10 +95,10 @@ display: flex; align-items: center; justify-content: center; - background: rgb(39 39 42); /* zinc-800 */ - border: 1px solid rgb(82 82 91); /* zinc-600 */ + background: var(--color-bg-elevated); + border: 1px solid var(--color-border-subtle); flex-shrink: 0; - color: rgb(228 228 231); /* zinc-200 */ + color: var(--color-text); box-sizing: border-box; padding: 0; } @@ -108,8 +108,8 @@ .sidebar-header-bar .toggle-sidebar-btn { background: transparent; - color: rgb(228 228 231); /* zinc-200 */ - border: 1px solid rgb(82 82 91); /* zinc-600 */ + color: var(--color-text); + border: 1px solid var(--color-border-subtle); padding: 0; border-radius: 6px; cursor: pointer; @@ -123,7 +123,7 @@ box-sizing: border-box; } -.sidebar-header-bar .toggle-sidebar-btn:hover { background: rgb(39 39 42); /* zinc-800 */ color: rgb(255 255 255); /* white */ } +.sidebar-header-bar .toggle-sidebar-btn:hover { background: var(--color-bg-elevated); color: var(--color-text); } .sidebar-header-bar .toggle-sidebar-btn:active { transform: translateY(1px); } .bookmarks-container.collapsed { @@ -136,8 +136,8 @@ } .bookmarks-container.collapsed .toggle-sidebar-btn { - background: rgb(39 39 42); /* zinc-800 */ - color: rgb(228 228 231); /* zinc-200 */ + background: var(--color-bg-elevated); + color: var(--color-text); border: none; padding: 0; border-radius: 0; @@ -151,22 +151,21 @@ flex-shrink: 0; } -.bookmarks-container.collapsed .toggle-sidebar-btn:hover { background: rgb(63 63 70); /* zinc-700 */ color: rgb(255 255 255); /* white */ } +.bookmarks-container.collapsed .toggle-sidebar-btn:hover { background: var(--color-border); color: var(--color-text); } .bookmarks-container.collapsed .toggle-sidebar-btn:active { transform: translateY(1px); } .bookmarks-container.collapsed .toggle-sidebar-btn.with-icon { width: auto; padding: 0 0.5rem; gap: 0.5rem; } -.bookmarks-container.collapsed .toggle-sidebar-btn .glow-blue { color: rgb(99 102 241); /* indigo-500 */ filter: drop-shadow(0 0 4px rgba(99, 102, 241, 0.6)); } +.bookmarks-container.collapsed .toggle-sidebar-btn .glow-blue { color: var(--color-primary); filter: drop-shadow(0 0 4px rgba(99, 102, 241, 0.6)); } -.user-info { margin: 0.5rem 0 0 0; color: rgb(161 161 170); /* zinc-400 */ font-size: 0.9rem; font-family: monospace; } -.bookmark-count { color: rgb(113 113 122); /* zinc-500 */ font-size: 0.9rem; margin: 0.5rem 0; } -.event-link { color: rgb(96 165 250); /* blue-400 */ text-decoration: none; font-weight: 500; } +.user-info { margin: 0.5rem 0 0 0; color: var(--color-text-secondary); font-size: 0.9rem; font-family: monospace; } +.bookmark-count { color: var(--color-text-muted); font-size: 0.9rem; margin: 0.5rem 0; } +.event-link { color: var(--color-primary); text-decoration: none; font-weight: 500; } .event-link:hover { text-decoration: underline; } .bookmark-urls { margin: 0.75rem 0; } -.bookmark-url { display: block; margin: 0.25rem 0; color: rgb(59 130 246); /* blue-500 */ text-decoration: none; word-break: break-all; background: none; border: none; padding: 0; font: inherit; cursor: pointer; text-align: left; width: 100%; } +.bookmark-url { display: block; margin: 0.25rem 0; color: var(--color-primary); text-decoration: none; word-break: break-all; background: none; border: none; padding: 0; font: inherit; cursor: pointer; text-align: left; width: 100%; } .bookmark-url:hover { text-decoration: underline; } .url-row { display: flex; align-items: center; gap: 0.5rem; } .read-inline-btn { background: rgb(34 197 94); /* green-500 */ color: white; border: none; padding: 0.25rem 0.5rem; border-radius: 4px; cursor: pointer; } .read-inline-btn:hover { background: rgb(22 163 74); /* green-600 */ } -