Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const config: Config = {
colors: {
gitify: {
font: 'var(--fgColor-default)',
background: 'var(--bgColor-muted)',
sidebar: '#24292e',
footer: 'var(--bgColor-neutral-muted)',

Expand Down Expand Up @@ -76,6 +75,8 @@ const config: Config = {
// TODO - ideally we would use GitHub Primer Design Tokens instead of TailwindCSS
addBase({
'[data-color-mode="light"]': {
'--gitify-background': 'var(--bgColor-default)',

'--gitify-scrollbar-track': colors.gray[100],
'--gitify-scrollbar-thumb': colors.gray[300],
'--gitify-scrollbar-thumb-hover': colors.gray[400],
Expand All @@ -85,6 +86,8 @@ const config: Config = {
'--gitify-counter-text': colors.gray[800],
},
'[data-color-mode="dark"]': {
'--gitify-background': 'var(--bgColor-muted)',

'--gitify-scrollbar-track': colors.gray[900],
'--gitify-scrollbar-thumb': colors.gray[700],
'--gitify-scrollbar-thumb-hover': colors.gray[600],
Expand Down
Loading