Skip to content

Commit 2c0dc8f

Browse files
committed
feat: all filter checkbox has accent color by default and clear all button don't use accent color
1 parent 43b76f1 commit 2c0dc8f

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

apps/webapp/src/script/components/Conversation/ConversationCells/common/FilterPopover/FilterPopover.styles.ts

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,9 @@ export const checkboxWrapperStyles: CSSObject = {
228228
minWidth: '18px',
229229
height: '18px',
230230
},
231+
'& .wireinput:not(:checked):not(:disabled) + label::before': {
232+
borderColor: 'var(--accent-color)',
233+
},
231234
'& .wireinput + label > svg': {
232235
width: '12px',
233236
height: '11px',
@@ -277,12 +280,12 @@ export const clearAllButtonStyles: CSSObject = {
277280
border: 'none',
278281
background: 'transparent',
279282
cursor: 'pointer',
280-
fontSize: '13px',
281-
color: 'var(--accent-color, #0667C8)',
283+
fontSize: 'var(--font-size-small)',
284+
fontWeight: 'var(--font-weight-regular)',
285+
lineHeight: 'var(--line-height-small-plus)',
286+
color: 'var(--main-color)',
287+
textDecoration: 'underline',
282288
padding: '2px 4px',
283-
'&:hover': {
284-
textDecoration: 'underline',
285-
},
286289
};
287290

288291
export const emptyStateStyles: CSSObject = {

0 commit comments

Comments
 (0)