Skip to content

Commit bfdb18b

Browse files
committed
Further css fixes
1 parent 90bed23 commit bfdb18b

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

src/css/custom.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
/* You can override the default Infima variables here. */
1212
:root {
13+
--ifm-font-family-base: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
14+
--ifm-font-family-monospace: 'IBM Plex Mono', SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
1315
--ifm-color-primary: #2e8555;
1416
--ifm-color-primary-dark: #29784c;
1517
--ifm-color-primary-darker: #277148;

tailwind.config.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ const { join } = require('path');
22
const defaultTheme = require('tailwindcss/defaultTheme');
33
/** @type {import('tailwindcss').Config} */
44
module.exports = {
5-
// corePlugins: {
6-
// preflight: false,
7-
// },
5+
corePlugins: {
6+
preflight: false,
7+
},
88
darkMode: ['class', '[data-theme="dark"]'],
99
content: [
1010
join(
@@ -46,8 +46,8 @@ module.exports = {
4646
},
4747
extend: {
4848
fontFamily: {
49-
sans: ['Acumin Pro', ...defaultTheme.fontFamily.sans],
50-
display: 'Inter',
49+
sans: ['Inter', ...defaultTheme.fontFamily.sans],
50+
display: ['Inter', ...defaultTheme.fontFamily.sans],
5151
mono: 'IBM Plex Mono',
5252
},
5353
transitionDuration: {

0 commit comments

Comments
 (0)