Skip to content

Commit d05b6f3

Browse files
authored
Fix: Creating better visual distinction in light / dark mode for pills (#15474)
Fixing light vs dark mode for pills <img width="169" height="94" alt="CleanShot 2025-11-11 at 8  33 39" src="https://github.com/user-attachments/assets/4504f970-c63f-4d2b-982b-7fcc5d4f643b" /> <img width="145" height="83" alt="CleanShot 2025-11-11 at 8  33 55" src="https://github.com/user-attachments/assets/f34204c8-3a68-45ce-ae08-a60e053551e2" />
1 parent f77a7a6 commit d05b6f3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/components/sidebar/style.module.scss

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,11 @@
169169
align-items: center;
170170
padding: 0.0625rem 0.375rem;
171171
font-size: 0.625rem;
172-
font-weight: 500;
173-
letter-spacing: 0.02em;
174-
color: #fafaf9; /* off-white */
172+
font-weight: 600;
173+
letter-spacing: 0.08em;
174+
color: #d97706; /* amber-600 for good contrast in light mode */
175175
background-color: transparent;
176-
border: 1px solid #f59e0b; /* amber-500 warning color */
176+
border: 2px solid #f59e0b; /* amber-500 warning color */
177177
border-radius: 0.25rem;
178178
white-space: nowrap;
179179
flex-shrink: 0;
@@ -189,11 +189,11 @@
189189
align-items: center;
190190
padding: 0.0625rem 0.375rem;
191191
font-size: 0.625rem;
192-
font-weight: 500;
193-
letter-spacing: 0.02em;
194-
color: #fafaf9; /* off-white */
192+
font-weight: 600;
193+
letter-spacing: 0.08em;
194+
color: #059669; /* emerald-600 for good contrast in light mode */
195195
background-color: transparent;
196-
border: 1px solid #10b981; /* emerald-500 success green */
196+
border: 2px solid #10b981; /* emerald-500 success green */
197197
border-radius: 0.25rem;
198198
white-space: nowrap;
199199
flex-shrink: 0;

0 commit comments

Comments
 (0)