Skip to content

Commit fbb58a2

Browse files
authored
refactor: adjust primer colors used for background (#2254)
Signed-off-by: Adam Setch <adam.setch@outlook.com>
1 parent eb6fe21 commit fbb58a2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tailwind.config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ const config: Config = {
2020
colors: {
2121
gitify: {
2222
font: 'var(--fgColor-default)',
23-
background: 'var(--bgColor-muted)',
2423
sidebar: '#24292e',
2524
footer: 'var(--bgColor-neutral-muted)',
2625

@@ -76,6 +75,8 @@ const config: Config = {
7675
// TODO - ideally we would use GitHub Primer Design Tokens instead of TailwindCSS
7776
addBase({
7877
'[data-color-mode="light"]': {
78+
'--gitify-background': 'var(--bgColor-default)',
79+
7980
'--gitify-scrollbar-track': colors.gray[100],
8081
'--gitify-scrollbar-thumb': colors.gray[300],
8182
'--gitify-scrollbar-thumb-hover': colors.gray[400],
@@ -85,6 +86,8 @@ const config: Config = {
8586
'--gitify-counter-text': colors.gray[800],
8687
},
8788
'[data-color-mode="dark"]': {
89+
'--gitify-background': 'var(--bgColor-muted)',
90+
8891
'--gitify-scrollbar-track': colors.gray[900],
8992
'--gitify-scrollbar-thumb': colors.gray[700],
9093
'--gitify-scrollbar-thumb-hover': colors.gray[600],

0 commit comments

Comments
 (0)