Skip to content

Commit 1ae26a4

Browse files
committed
Update tailwind config
1 parent 30375a0 commit 1ae26a4

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

docs/tailwind.config.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
const defaultTheme = require('tailwindcss/defaultTheme')
1+
const dt = require('tailwindcss/defaultTheme')
22

33
module.exports = {
44
mode: 'jit',
55
purge: [
6-
'./docs/App.svelte',
7-
'./docs/index.html'
6+
'./docs/*.{html,js,svelte}'
87
],
98
theme: {
109
extend: {
1110
fontFamily: {
12-
sans: ['Inter', ...defaultTheme.fontFamily.sans]
11+
sans: ['Inter', ...dt.fontFamily.sans]
1312
}
1413
},
1514
screens: {

docs/tailwind.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
@apply text-blue-400 hover:text-blue-600 underline;
1212
}
1313
button {
14-
@apply w-40 h-12 text-gray-600 hover:text-gray-900 text-xs font-bold tracking-wide bg-white border border-gray-300 rounded-sm focus:outline-none focus:ring m-2;
14+
@apply w-40 h-12 text-gray-600 hover:text-gray-900 text-xs font-bold tracking-wide bg-white border border-gray-300 rounded-sm focus:outline-none focus:ring px-2 m-2;
1515
}
1616
button.selected {
1717
@apply bg-blue-200;

0 commit comments

Comments
 (0)