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: 3 additions & 2 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import type { Config } from 'tailwindcss';
import colors from 'tailwindcss/colors';
import plugin from 'tailwindcss/plugin';

const sidebarWidth = '2.5rem'; // 40px

Expand Down Expand Up @@ -71,7 +72,7 @@ const config: Config = {
},
},
plugins: [
({ addBase }) => {
plugin(({ addBase }) => {
// TODO - ideally we would use GitHub Primer Design Tokens instead of TailwindCSS
addBase({
'[data-color-mode="light"]': {
Expand All @@ -97,7 +98,7 @@ const config: Config = {
'--gitify-counter-text': colors.gray[100],
},
});
},
}),
],
};

Expand Down