-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.litefyr.mjs
28 lines (27 loc) · 1.02 KB
/
tailwind.litefyr.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// In this file you can override the settings from Litefyr.Tailwind/index.mjs
export default {
pluginSettings: {
contentDimensions: {},
oklch: {},
},
theme: {
extend: {
// https://utopia.fyi/type/calculator/
// https://utopia.fyi/space/calculator/
utopia: {
// the screen size the scale starts at in px (unitless integer)
minWidth: 320,
// the base font size at the minScreen size (unitless integer)
minSize: 21,
// the modular scale to use for type sizes at minScreen size (decimal)
minScale: 1.2,
// the screen size at which the scale stops increasing in px (unitless integer)
maxWidth: 1140,
// the base font size a the maxScreen size (unitless integer)
maxSize: 24,
// the modular scale to use at the maxScreen size (decimal)
maxScale: 1.25,
},
},
},
};