Skip to content

Commit 1375ffc

Browse files
authored
fix: improve icon button color contrast (#345)
1 parent a23602c commit 1375ffc

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

src/components/IconButton.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React from 'react';
22

33
const variants = {
4-
dark: 'text-gray-600 hover:text-gray-400',
5-
light: 'text-gray-400 hover:text-gray-600',
4+
dark: 'text-gray-500 hover:text-gray-400',
5+
light: 'text-gray-500 hover:text-gray-700',
66
white: 'text-white hover:text-white',
77
};
88

tailwind.config.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
const { colors } = require('tailwindcss/defaultTheme');
2+
13
module.exports = {
24
purge: false,
5+
theme: {
6+
extend: {
7+
colors: {
8+
gray: {
9+
...colors.gray,
10+
500: '#728DA7',
11+
},
12+
},
13+
},
14+
},
315
};

0 commit comments

Comments
 (0)