Skip to content

Commit 217fb54

Browse files
authored
style: update font variable naming and clean up some unused configurations in Tailwind CSS
1 parent 4575c95 commit 217fb54

File tree

2 files changed

+1
-47
lines changed

2 files changed

+1
-47
lines changed

apps/site/styles/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
--shadow-lg: 0px 4px 6px -2px --theme(--color-shadow / 3%),
9292
0px 12px 16px -4px --theme(--color-shadow / 8%);
9393
--font-open-sans: var(--font-open-sans);
94-
--ibm-plex-mono: var(--font-ibm-plex-mono);
94+
--font-ibm-plex-mono: var(--font-ibm-plex-mono);
9595
--font-weight-regular: '400';
9696
--font-weight-medium: '500';
9797
--font-weight-semibold: '600';

apps/site/tailwind.config.ts

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -100,30 +100,6 @@ export default {
100100
white: '#FFFFFF',
101101
transparent: 'transparent',
102102
shadow: '#101828',
103-
inherit: 'inherit',
104-
},
105-
fontSize: {
106-
xs: ['0.75rem', '1rem'],
107-
sm: ['0.875rem', '1.25rem'],
108-
base: ['1rem', '1.5rem'],
109-
lg: ['1.125rem', '1.75rem'],
110-
xl: ['1.25rem', '1.875rem'],
111-
'2xl': ['1.5rem', '2rem'],
112-
'3xl': ['1.875rem', '2.25rem'],
113-
'4xl': ['2.25rem', '2.5rem'],
114-
'5xl': ['3rem', '3rem'],
115-
'6xl': ['3.75rem', '3.75rem'],
116-
'7xl': ['4.5rem', '4.5rem'],
117-
},
118-
fontWeight: {
119-
regular: '400',
120-
medium: '500',
121-
semibold: '600',
122-
bold: '700',
123-
},
124-
fontFamily: {
125-
'open-sans': ['var(--font-open-sans)'],
126-
'ibm-plex-mono': ['var(--font-ibm-plex-mono)'],
127103
},
128104
extend: {
129105
screens: { xs: '670px' },
@@ -147,28 +123,6 @@ export default {
147123
spacing: { '4.5': '1.125rem', '18': '4.5rem' },
148124
aria: { current: 'current="page"' },
149125
maxWidth: { '8xl': '95rem' },
150-
animation: {
151-
surf: 'surf 1s infinite ease-in-out',
152-
pulse: 'pulse 500ms infinite alternate-reverse',
153-
'pulse-dark': 'pulse-dark 500ms infinite alternate-reverse',
154-
},
155-
keyframes: {
156-
surf: {
157-
'0%': { transform: 'translate(0, 0)' },
158-
'25%': { transform: 'translate(0, 6px)' },
159-
'50%': { transform: 'translate(0, -6px)' },
160-
'75%': { transform: 'translate(0, 3px)' },
161-
'100%': { transform: 'translate(0, 0)' },
162-
},
163-
pulse: {
164-
from: { background: 'theme("colors.pulse.100")' },
165-
to: { background: 'theme("colors.pulse.200")' },
166-
},
167-
'pulse-dark': {
168-
from: { background: 'theme("colors.pulse.300")' },
169-
to: { background: 'theme("colors.pulse.400")' },
170-
},
171-
},
172126
},
173127
},
174128
darkMode: ['selector', '[data-theme="dark"]'],

0 commit comments

Comments
 (0)