@crowdstrike/tailwind-toucan-base 3.5.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.css +96 -13
- package/package.json +13 -14
- package/src/plugins/typography.js +109 -25
- package/toucan.css +96 -13
package/index.css
CHANGED
@@ -1029,130 +1029,213 @@ video {
|
|
1029
1029
|
}
|
1030
1030
|
|
1031
1031
|
.type-4xl {
|
1032
|
+
font-family: Calibre, sans-serif;
|
1032
1033
|
font-size: 3rem;
|
1033
|
-
line-height: 3.25rem;
|
1034
1034
|
font-weight: 500;
|
1035
1035
|
letter-spacing: -0.025em;
|
1036
|
+
line-height: 3.25rem;
|
1037
|
+
text-decoration: initial;
|
1038
|
+
text-rendering: initial;
|
1036
1039
|
}
|
1037
1040
|
|
1038
1041
|
.type-3xl {
|
1042
|
+
font-family: Calibre, sans-serif;
|
1039
1043
|
font-size: 2.5rem;
|
1040
|
-
line-height: 3rem;
|
1041
1044
|
font-weight: 500;
|
1042
1045
|
letter-spacing: -0.025em;
|
1046
|
+
line-height: 3rem;
|
1047
|
+
text-decoration: initial;
|
1048
|
+
text-rendering: initial;
|
1043
1049
|
}
|
1044
1050
|
|
1045
1051
|
.type-2xl {
|
1052
|
+
font-family: Calibre, sans-serif;
|
1046
1053
|
font-size: 2rem;
|
1047
|
-
line-height: 2.5rem;
|
1048
1054
|
font-weight: 500;
|
1055
|
+
letter-spacing: 0em;
|
1056
|
+
line-height: 2.5rem;
|
1057
|
+
text-decoration: initial;
|
1058
|
+
text-rendering: initial;
|
1049
1059
|
}
|
1050
1060
|
|
1051
1061
|
.type-xl {
|
1062
|
+
font-family: Calibre, sans-serif;
|
1052
1063
|
font-size: 1.5rem;
|
1053
|
-
line-height: 2rem;
|
1054
1064
|
font-weight: 500;
|
1065
|
+
letter-spacing: 0em;
|
1066
|
+
line-height: 2rem;
|
1067
|
+
text-decoration: initial;
|
1055
1068
|
text-rendering: geometricPrecision;
|
1056
1069
|
}
|
1057
1070
|
|
1058
1071
|
.type-lg {
|
1072
|
+
font-family: Calibre, sans-serif;
|
1059
1073
|
font-size: 1.25rem;
|
1074
|
+
font-weight: 400;
|
1075
|
+
letter-spacing: 0em;
|
1060
1076
|
line-height: 2rem;
|
1077
|
+
text-decoration: initial;
|
1078
|
+
text-rendering: initial;
|
1061
1079
|
}
|
1062
1080
|
|
1063
1081
|
.type-lg-medium {
|
1082
|
+
font-family: Calibre, sans-serif;
|
1064
1083
|
font-size: 1.25rem;
|
1065
|
-
line-height: 2rem;
|
1066
1084
|
font-weight: 500;
|
1085
|
+
letter-spacing: 0em;
|
1086
|
+
line-height: 2rem;
|
1087
|
+
text-decoration: initial;
|
1088
|
+
text-rendering: initial;
|
1067
1089
|
}
|
1068
1090
|
|
1069
1091
|
.type-lg-tight-medium {
|
1092
|
+
font-family: Calibre, sans-serif;
|
1070
1093
|
font-size: 1.25rem;
|
1071
|
-
line-height: 1.5rem;
|
1072
1094
|
font-weight: 500;
|
1095
|
+
letter-spacing: 0em;
|
1096
|
+
line-height: 1.5rem;
|
1097
|
+
text-decoration: initial;
|
1073
1098
|
text-rendering: geometricPrecision;
|
1074
1099
|
}
|
1075
1100
|
|
1076
1101
|
.type-md {
|
1102
|
+
font-family: Calibre, sans-serif;
|
1077
1103
|
font-size: 1rem;
|
1104
|
+
font-weight: 400;
|
1105
|
+
letter-spacing: 0em;
|
1078
1106
|
line-height: 1.5rem;
|
1107
|
+
text-decoration: initial;
|
1108
|
+
text-rendering: initial;
|
1079
1109
|
}
|
1080
1110
|
|
1081
1111
|
.type-md-medium {
|
1112
|
+
font-family: Calibre, sans-serif;
|
1082
1113
|
font-size: 1rem;
|
1083
|
-
line-height: 1.5rem;
|
1084
1114
|
font-weight: 500;
|
1115
|
+
letter-spacing: 0em;
|
1116
|
+
line-height: 1.5rem;
|
1117
|
+
text-decoration: initial;
|
1118
|
+
text-rendering: initial;
|
1085
1119
|
}
|
1086
1120
|
|
1087
1121
|
.type-md-underline {
|
1122
|
+
font-family: Calibre, sans-serif;
|
1088
1123
|
font-size: 1rem;
|
1124
|
+
font-weight: 400;
|
1125
|
+
letter-spacing: 0em;
|
1089
1126
|
line-height: 1.5rem;
|
1090
1127
|
text-decoration: underline;
|
1128
|
+
text-rendering: initial;
|
1091
1129
|
}
|
1092
1130
|
|
1093
1131
|
.type-md-tight {
|
1132
|
+
font-family: Calibre, sans-serif;
|
1094
1133
|
font-size: 1rem;
|
1134
|
+
font-weight: 400;
|
1135
|
+
letter-spacing: 0em;
|
1095
1136
|
line-height: 1.25rem;
|
1137
|
+
text-decoration: initial;
|
1138
|
+
text-rendering: initial;
|
1096
1139
|
}
|
1097
1140
|
|
1098
1141
|
.type-md-tight-medium {
|
1142
|
+
font-family: Calibre, sans-serif;
|
1099
1143
|
font-size: 1rem;
|
1100
|
-
line-height: 1.25rem;
|
1101
1144
|
font-weight: 500;
|
1145
|
+
letter-spacing: 0em;
|
1146
|
+
line-height: 1.25rem;
|
1147
|
+
text-decoration: initial;
|
1102
1148
|
text-rendering: geometricPrecision;
|
1103
1149
|
}
|
1104
1150
|
|
1105
1151
|
.type-md-tight-underline {
|
1152
|
+
font-family: Calibre, sans-serif;
|
1106
1153
|
font-size: 1rem;
|
1154
|
+
font-weight: 400;
|
1155
|
+
letter-spacing: 0em;
|
1107
1156
|
line-height: 1.25rem;
|
1108
1157
|
text-decoration: underline;
|
1158
|
+
text-rendering: initial;
|
1109
1159
|
}
|
1110
1160
|
|
1111
1161
|
.type-sm-mono {
|
1162
|
+
font-family: Monaco, monospace;
|
1112
1163
|
font-size: .875rem;
|
1164
|
+
font-weight: 400;
|
1165
|
+
letter-spacing: 0em;
|
1113
1166
|
line-height: 1.5rem;
|
1114
|
-
|
1167
|
+
text-decoration: initial;
|
1168
|
+
text-rendering: initial;
|
1115
1169
|
}
|
1116
1170
|
|
1117
1171
|
.type-sm-mono-tight {
|
1118
|
-
font-size: .875rem;
|
1119
1172
|
font-family: Monaco, monospace;
|
1173
|
+
font-size: .875rem;
|
1174
|
+
font-weight: 400;
|
1175
|
+
letter-spacing: 0em;
|
1120
1176
|
line-height: 1.25rem;
|
1177
|
+
text-decoration: initial;
|
1178
|
+
text-rendering: initial;
|
1121
1179
|
}
|
1122
1180
|
|
1123
1181
|
.type-sm-mono-underline {
|
1182
|
+
font-family: Monaco, monospace;
|
1124
1183
|
font-size: .875rem;
|
1184
|
+
font-weight: 400;
|
1185
|
+
letter-spacing: 0em;
|
1125
1186
|
line-height: 1.5rem;
|
1126
|
-
font-family: Monaco, monospace;
|
1127
1187
|
text-decoration: underline;
|
1188
|
+
text-rendering: initial;
|
1128
1189
|
}
|
1129
1190
|
|
1130
1191
|
.type-xs {
|
1192
|
+
font-family: Calibre, sans-serif;
|
1131
1193
|
font-size: .75rem;
|
1194
|
+
font-weight: 400;
|
1195
|
+
letter-spacing: 0em;
|
1132
1196
|
line-height: 1.25rem;
|
1197
|
+
text-decoration: initial;
|
1198
|
+
text-rendering: initial;
|
1133
1199
|
}
|
1134
1200
|
|
1135
1201
|
.type-xs-tight {
|
1202
|
+
font-family: Calibre, sans-serif;
|
1136
1203
|
font-size: .75rem;
|
1204
|
+
font-weight: 400;
|
1205
|
+
letter-spacing: 0em;
|
1137
1206
|
line-height: 1rem;
|
1207
|
+
text-decoration: initial;
|
1208
|
+
text-rendering: initial;
|
1138
1209
|
}
|
1139
1210
|
|
1140
1211
|
.type-xs-tight-underline {
|
1212
|
+
font-family: Calibre, sans-serif;
|
1141
1213
|
font-size: .75rem;
|
1214
|
+
font-weight: 400;
|
1215
|
+
letter-spacing: 0em;
|
1142
1216
|
line-height: 1rem;
|
1143
1217
|
text-decoration: underline;
|
1218
|
+
text-rendering: initial;
|
1144
1219
|
}
|
1145
1220
|
|
1146
1221
|
.type-xs-mono {
|
1222
|
+
font-family: Monaco, monospace;
|
1147
1223
|
font-size: .75rem;
|
1224
|
+
font-weight: 400;
|
1225
|
+
letter-spacing: 0em;
|
1148
1226
|
line-height: 1.5rem;
|
1149
|
-
|
1227
|
+
text-decoration: initial;
|
1228
|
+
text-rendering: initial;
|
1150
1229
|
}
|
1151
1230
|
|
1152
1231
|
.type-xxs-mono {
|
1232
|
+
font-family: Monaco, monospace;
|
1153
1233
|
font-size: .5625rem;
|
1234
|
+
font-weight: 400;
|
1235
|
+
letter-spacing: 0em;
|
1154
1236
|
line-height: 1rem;
|
1155
|
-
|
1237
|
+
text-decoration: initial;
|
1238
|
+
text-rendering: initial;
|
1156
1239
|
}
|
1157
1240
|
|
1158
1241
|
.geometric-precision-text {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@crowdstrike/tailwind-toucan-base",
|
3
|
-
"version": "
|
3
|
+
"version": "4.0.0",
|
4
4
|
"private": false,
|
5
5
|
"description": "Tailwind preset for CrowdStrike's Toucan design system",
|
6
6
|
"repository": "https://github.com/CrowdStrike/tailwind-toucan-base",
|
@@ -37,26 +37,26 @@
|
|
37
37
|
}
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@changesets/changelog-github": "^0.4.8",
|
41
|
-
"@changesets/cli": "^2.26.1",
|
42
40
|
"tailwindcss": "^2.2.15"
|
43
41
|
},
|
44
42
|
"devDependencies": {
|
45
|
-
"@
|
43
|
+
"@changesets/changelog-github": "^0.4.8",
|
44
|
+
"@changesets/cli": "^2.26.2",
|
45
|
+
"@figma-export/cli": "4.7.0",
|
46
46
|
"@nullvoxpopuli/eslint-configs": "2.2.62",
|
47
47
|
"@types/fs-extra": "^11.0.1",
|
48
48
|
"autoprefixer": "^10.4.14",
|
49
|
-
"c8": "^
|
49
|
+
"c8": "^8.0.0",
|
50
50
|
"common-tags": "^1.8.2",
|
51
|
-
"eslint": "^8.
|
51
|
+
"eslint": "^8.45.0",
|
52
52
|
"execa": "^7.1.1",
|
53
53
|
"fs-extra": "^11.1.1",
|
54
54
|
"npm-run-all": "^4.1.5",
|
55
|
-
"pnpm": "^8.
|
56
|
-
"postcss": "^8.4.
|
55
|
+
"pnpm": "^8.6.10",
|
56
|
+
"postcss": "^8.4.27",
|
57
57
|
"tailwind-config-viewer": "^1.7.2",
|
58
|
-
"typescript": "^5.
|
59
|
-
"vitest": "0.
|
58
|
+
"typescript": "^5.1.6",
|
59
|
+
"vitest": "0.33.0"
|
60
60
|
},
|
61
61
|
"engines": {
|
62
62
|
"node": ">=14.15.0"
|
@@ -64,11 +64,10 @@
|
|
64
64
|
"publishConfig": {
|
65
65
|
"access": "public"
|
66
66
|
},
|
67
|
-
"packageManager": "pnpm@8.
|
67
|
+
"packageManager": "pnpm@8.6.10",
|
68
68
|
"volta": {
|
69
|
-
"node": "18.
|
70
|
-
"
|
71
|
-
"npm": "9.6.5"
|
69
|
+
"node": "18.17.0",
|
70
|
+
"pnpm": "7.32.5"
|
72
71
|
},
|
73
72
|
"scripts": {
|
74
73
|
"start": "pnpm run build && npx http-server ./dist",
|
@@ -8,13 +8,11 @@ module.exports = (fontSizes) =>
|
|
8
8
|
});
|
9
9
|
|
10
10
|
function addTextStyles({ addComponents, theme }, fontSize) {
|
11
|
-
//
|
12
|
-
|
13
|
-
let underline = { textDecoration: 'underline' };
|
14
|
-
|
11
|
+
// geometricPrecision text rendering makes it appear slightly
|
12
|
+
// lighter than the standard font-weight
|
15
13
|
let text = {
|
16
14
|
'.geometric-precision-text': {
|
17
|
-
|
15
|
+
textRendering: 'geometricPrecision',
|
18
16
|
},
|
19
17
|
};
|
20
18
|
|
@@ -24,114 +22,200 @@ function addTextStyles({ addComponents, theme }, fontSize) {
|
|
24
22
|
* fontSize and lineHeight when used in this type of object, every usage
|
25
23
|
* provides *two* fontSizes (one desired, one is supposed to be the lineHeight,
|
26
24
|
* but is interpreted as a fontSize here).
|
25
|
+
*
|
26
|
+
* We use the `initial` value to unset values that might be otherwise
|
27
|
+
* inherited from parent elements eg. textRendering, textDecoration
|
27
28
|
*/
|
28
29
|
let textStyles = {
|
29
30
|
'.type-4xl': {
|
31
|
+
fontFamily: theme('fontFamily.sans'),
|
30
32
|
fontSize: fontSize['4xl'],
|
31
|
-
lineHeight: theme('lineHeight.13'),
|
32
33
|
fontWeight: theme('fontWeight.medium'),
|
33
34
|
letterSpacing: theme('letterSpacing.tight'),
|
35
|
+
lineHeight: theme('lineHeight.13'),
|
36
|
+
textDecoration: 'initial',
|
37
|
+
textRendering: 'initial',
|
34
38
|
},
|
35
39
|
'.type-3xl': {
|
40
|
+
fontFamily: theme('fontFamily.sans'),
|
36
41
|
fontSize: fontSize['3xl'],
|
37
|
-
lineHeight: theme('lineHeight.12'),
|
38
42
|
fontWeight: theme('fontWeight.medium'),
|
39
43
|
letterSpacing: theme('letterSpacing.tight'),
|
44
|
+
lineHeight: theme('lineHeight.12'),
|
45
|
+
textDecoration: 'initial',
|
46
|
+
textRendering: 'initial',
|
40
47
|
},
|
41
48
|
'.type-2xl': {
|
49
|
+
fontFamily: theme('fontFamily.sans'),
|
42
50
|
fontSize: fontSize['2xl'],
|
43
|
-
lineHeight: theme('lineHeight.10'),
|
44
51
|
fontWeight: theme('fontWeight.medium'),
|
52
|
+
letterSpacing: theme('letterSpacing.normal'),
|
53
|
+
lineHeight: theme('lineHeight.10'),
|
54
|
+
textDecoration: 'initial',
|
55
|
+
textRendering: 'initial',
|
45
56
|
},
|
46
57
|
'.type-xl': {
|
58
|
+
fontFamily: theme('fontFamily.sans'),
|
47
59
|
fontSize: fontSize.xl,
|
48
|
-
lineHeight: theme('lineHeight.8'),
|
49
60
|
fontWeight: theme('fontWeight.medium'),
|
50
|
-
|
61
|
+
letterSpacing: theme('letterSpacing.normal'),
|
62
|
+
lineHeight: theme('lineHeight.8'),
|
63
|
+
textDecoration: 'initial',
|
64
|
+
textRendering: 'geometricPrecision',
|
51
65
|
},
|
52
66
|
'.type-lg': {
|
67
|
+
fontFamily: theme('fontFamily.sans'),
|
53
68
|
fontSize: fontSize.lg,
|
69
|
+
fontWeight: theme('fontWeight.normal'),
|
70
|
+
letterSpacing: theme('letterSpacing.normal'),
|
54
71
|
lineHeight: theme('lineHeight.8'),
|
72
|
+
textDecoration: 'initial',
|
73
|
+
textRendering: 'initial',
|
55
74
|
},
|
56
75
|
'.type-lg-medium': {
|
76
|
+
fontFamily: theme('fontFamily.sans'),
|
57
77
|
fontSize: fontSize.lg,
|
58
|
-
lineHeight: theme('lineHeight.8'),
|
59
78
|
fontWeight: theme('fontWeight.medium'),
|
79
|
+
letterSpacing: theme('letterSpacing.normal'),
|
80
|
+
lineHeight: theme('lineHeight.8'),
|
81
|
+
textDecoration: 'initial',
|
82
|
+
textRendering: 'initial',
|
60
83
|
},
|
61
84
|
'.type-lg-tight-medium': {
|
85
|
+
fontFamily: theme('fontFamily.sans'),
|
62
86
|
fontSize: fontSize.lg,
|
63
|
-
lineHeight: theme('lineHeight.6'),
|
64
87
|
fontWeight: theme('fontWeight.medium'),
|
65
|
-
|
88
|
+
letterSpacing: theme('letterSpacing.normal'),
|
89
|
+
lineHeight: theme('lineHeight.6'),
|
90
|
+
textDecoration: 'initial',
|
91
|
+
textRendering: 'geometricPrecision',
|
66
92
|
},
|
67
93
|
'.type-md': {
|
94
|
+
fontFamily: theme('fontFamily.sans'),
|
68
95
|
fontSize: fontSize.md,
|
96
|
+
fontWeight: theme('fontWeight.normal'),
|
97
|
+
letterSpacing: theme('letterSpacing.normal'),
|
69
98
|
lineHeight: theme('lineHeight.6'),
|
99
|
+
textDecoration: 'initial',
|
100
|
+
textRendering: 'initial',
|
70
101
|
},
|
71
102
|
// deprecated? md-medium?
|
72
103
|
'.type-md-medium': {
|
104
|
+
fontFamily: theme('fontFamily.sans'),
|
73
105
|
fontSize: fontSize.md,
|
74
|
-
lineHeight: theme('lineHeight.6'),
|
75
106
|
fontWeight: theme('fontWeight.medium'),
|
107
|
+
letterSpacing: theme('letterSpacing.normal'),
|
108
|
+
lineHeight: theme('lineHeight.6'),
|
109
|
+
textDecoration: 'initial',
|
110
|
+
textRendering: 'initial',
|
76
111
|
},
|
77
112
|
'.type-md-underline': {
|
113
|
+
fontFamily: theme('fontFamily.sans'),
|
78
114
|
fontSize: fontSize.md,
|
115
|
+
fontWeight: theme('fontWeight.normal'),
|
116
|
+
letterSpacing: theme('letterSpacing.normal'),
|
79
117
|
lineHeight: theme('lineHeight.6'),
|
80
|
-
|
118
|
+
textDecoration: 'underline',
|
119
|
+
textRendering: 'initial',
|
81
120
|
},
|
82
121
|
'.type-md-tight': {
|
122
|
+
fontFamily: theme('fontFamily.sans'),
|
83
123
|
fontSize: fontSize.md,
|
124
|
+
fontWeight: theme('fontWeight.normal'),
|
125
|
+
letterSpacing: theme('letterSpacing.normal'),
|
84
126
|
lineHeight: theme('lineHeight.5'),
|
127
|
+
textDecoration: 'initial',
|
128
|
+
textRendering: 'initial',
|
85
129
|
},
|
86
130
|
'.type-md-tight-medium': {
|
131
|
+
fontFamily: theme('fontFamily.sans'),
|
87
132
|
fontSize: fontSize.md,
|
88
|
-
lineHeight: theme('lineHeight.5'),
|
89
133
|
fontWeight: theme('fontWeight.medium'),
|
90
|
-
|
134
|
+
letterSpacing: theme('letterSpacing.normal'),
|
135
|
+
lineHeight: theme('lineHeight.5'),
|
136
|
+
textDecoration: 'initial',
|
137
|
+
textRendering: 'geometricPrecision',
|
91
138
|
},
|
92
139
|
'.type-md-tight-underline': {
|
140
|
+
fontFamily: theme('fontFamily.sans'),
|
93
141
|
fontSize: fontSize.md,
|
142
|
+
fontWeight: theme('fontWeight.normal'),
|
143
|
+
letterSpacing: theme('letterSpacing.normal'),
|
94
144
|
lineHeight: theme('lineHeight.5'),
|
95
|
-
|
145
|
+
textDecoration: 'underline',
|
146
|
+
textRendering: 'initial',
|
96
147
|
},
|
97
148
|
'.type-sm-mono': {
|
149
|
+
fontFamily: theme('fontFamily.mono'),
|
98
150
|
fontSize: fontSize.sm,
|
151
|
+
fontWeight: theme('fontWeight.normal'),
|
152
|
+
letterSpacing: theme('letterSpacing.normal'),
|
99
153
|
lineHeight: theme('lineHeight.6'),
|
100
|
-
|
154
|
+
textDecoration: 'initial',
|
155
|
+
textRendering: 'initial',
|
101
156
|
},
|
102
157
|
'.type-sm-mono-tight': {
|
103
|
-
fontSize: fontSize.sm,
|
104
158
|
fontFamily: theme('fontFamily.mono'),
|
159
|
+
fontSize: fontSize.sm,
|
160
|
+
fontWeight: theme('fontWeight.normal'),
|
161
|
+
letterSpacing: theme('letterSpacing.normal'),
|
105
162
|
lineHeight: theme('lineHeight.5'),
|
163
|
+
textDecoration: 'initial',
|
164
|
+
textRendering: 'initial',
|
106
165
|
},
|
107
166
|
'.type-sm-mono-underline': {
|
167
|
+
fontFamily: theme('fontFamily.mono'),
|
108
168
|
fontSize: fontSize.sm,
|
169
|
+
fontWeight: theme('fontWeight.normal'),
|
170
|
+
letterSpacing: theme('letterSpacing.normal'),
|
109
171
|
lineHeight: theme('lineHeight.6'),
|
110
|
-
|
111
|
-
|
172
|
+
textDecoration: 'underline',
|
173
|
+
textRendering: 'initial',
|
112
174
|
},
|
113
175
|
'.type-xs': {
|
176
|
+
fontFamily: theme('fontFamily.sans'),
|
114
177
|
fontSize: fontSize.xs,
|
178
|
+
fontWeight: theme('fontWeight.normal'),
|
179
|
+
letterSpacing: theme('letterSpacing.normal'),
|
115
180
|
lineHeight: theme('lineHeight.5'),
|
181
|
+
textDecoration: 'initial',
|
182
|
+
textRendering: 'initial',
|
116
183
|
},
|
117
184
|
'.type-xs-tight': {
|
185
|
+
fontFamily: theme('fontFamily.sans'),
|
118
186
|
fontSize: fontSize.xs,
|
187
|
+
fontWeight: theme('fontWeight.normal'),
|
188
|
+
letterSpacing: theme('letterSpacing.normal'),
|
119
189
|
lineHeight: theme('lineHeight.4'),
|
190
|
+
textDecoration: 'initial',
|
191
|
+
textRendering: 'initial',
|
120
192
|
},
|
121
193
|
'.type-xs-tight-underline': {
|
194
|
+
fontFamily: theme('fontFamily.sans'),
|
122
195
|
fontSize: fontSize.xs,
|
196
|
+
fontWeight: theme('fontWeight.normal'),
|
197
|
+
letterSpacing: theme('letterSpacing.normal'),
|
123
198
|
lineHeight: theme('lineHeight.4'),
|
124
|
-
|
199
|
+
textDecoration: 'underline',
|
200
|
+
textRendering: 'initial',
|
125
201
|
},
|
126
202
|
'.type-xs-mono': {
|
203
|
+
fontFamily: theme('fontFamily.mono'),
|
127
204
|
fontSize: fontSize.xs,
|
205
|
+
fontWeight: theme('fontWeight.normal'),
|
206
|
+
letterSpacing: theme('letterSpacing.normal'),
|
128
207
|
lineHeight: theme('lineHeight.6'),
|
129
|
-
|
208
|
+
textDecoration: 'initial',
|
209
|
+
textRendering: 'initial',
|
130
210
|
},
|
131
211
|
'.type-xxs-mono': {
|
212
|
+
fontFamily: theme('fontFamily.mono'),
|
132
213
|
fontSize: fontSize.xxs,
|
214
|
+
fontWeight: theme('fontWeight.normal'),
|
215
|
+
letterSpacing: theme('letterSpacing.normal'),
|
133
216
|
lineHeight: theme('lineHeight.4'),
|
134
|
-
|
217
|
+
textDecoration: 'initial',
|
218
|
+
textRendering: 'initial',
|
135
219
|
},
|
136
220
|
};
|
137
221
|
|
package/toucan.css
CHANGED
@@ -1029,130 +1029,213 @@ video {
|
|
1029
1029
|
}
|
1030
1030
|
|
1031
1031
|
.type-4xl {
|
1032
|
+
font-family: Calibre, sans-serif;
|
1032
1033
|
font-size: 3rem;
|
1033
|
-
line-height: 3.25rem;
|
1034
1034
|
font-weight: 500;
|
1035
1035
|
letter-spacing: -0.025em;
|
1036
|
+
line-height: 3.25rem;
|
1037
|
+
text-decoration: initial;
|
1038
|
+
text-rendering: initial;
|
1036
1039
|
}
|
1037
1040
|
|
1038
1041
|
.type-3xl {
|
1042
|
+
font-family: Calibre, sans-serif;
|
1039
1043
|
font-size: 2.5rem;
|
1040
|
-
line-height: 3rem;
|
1041
1044
|
font-weight: 500;
|
1042
1045
|
letter-spacing: -0.025em;
|
1046
|
+
line-height: 3rem;
|
1047
|
+
text-decoration: initial;
|
1048
|
+
text-rendering: initial;
|
1043
1049
|
}
|
1044
1050
|
|
1045
1051
|
.type-2xl {
|
1052
|
+
font-family: Calibre, sans-serif;
|
1046
1053
|
font-size: 2rem;
|
1047
|
-
line-height: 2.5rem;
|
1048
1054
|
font-weight: 500;
|
1055
|
+
letter-spacing: 0em;
|
1056
|
+
line-height: 2.5rem;
|
1057
|
+
text-decoration: initial;
|
1058
|
+
text-rendering: initial;
|
1049
1059
|
}
|
1050
1060
|
|
1051
1061
|
.type-xl {
|
1062
|
+
font-family: Calibre, sans-serif;
|
1052
1063
|
font-size: 1.5rem;
|
1053
|
-
line-height: 2rem;
|
1054
1064
|
font-weight: 500;
|
1065
|
+
letter-spacing: 0em;
|
1066
|
+
line-height: 2rem;
|
1067
|
+
text-decoration: initial;
|
1055
1068
|
text-rendering: geometricPrecision;
|
1056
1069
|
}
|
1057
1070
|
|
1058
1071
|
.type-lg {
|
1072
|
+
font-family: Calibre, sans-serif;
|
1059
1073
|
font-size: 1.25rem;
|
1074
|
+
font-weight: 400;
|
1075
|
+
letter-spacing: 0em;
|
1060
1076
|
line-height: 2rem;
|
1077
|
+
text-decoration: initial;
|
1078
|
+
text-rendering: initial;
|
1061
1079
|
}
|
1062
1080
|
|
1063
1081
|
.type-lg-medium {
|
1082
|
+
font-family: Calibre, sans-serif;
|
1064
1083
|
font-size: 1.25rem;
|
1065
|
-
line-height: 2rem;
|
1066
1084
|
font-weight: 500;
|
1085
|
+
letter-spacing: 0em;
|
1086
|
+
line-height: 2rem;
|
1087
|
+
text-decoration: initial;
|
1088
|
+
text-rendering: initial;
|
1067
1089
|
}
|
1068
1090
|
|
1069
1091
|
.type-lg-tight-medium {
|
1092
|
+
font-family: Calibre, sans-serif;
|
1070
1093
|
font-size: 1.25rem;
|
1071
|
-
line-height: 1.5rem;
|
1072
1094
|
font-weight: 500;
|
1095
|
+
letter-spacing: 0em;
|
1096
|
+
line-height: 1.5rem;
|
1097
|
+
text-decoration: initial;
|
1073
1098
|
text-rendering: geometricPrecision;
|
1074
1099
|
}
|
1075
1100
|
|
1076
1101
|
.type-md {
|
1102
|
+
font-family: Calibre, sans-serif;
|
1077
1103
|
font-size: 1rem;
|
1104
|
+
font-weight: 400;
|
1105
|
+
letter-spacing: 0em;
|
1078
1106
|
line-height: 1.5rem;
|
1107
|
+
text-decoration: initial;
|
1108
|
+
text-rendering: initial;
|
1079
1109
|
}
|
1080
1110
|
|
1081
1111
|
.type-md-medium {
|
1112
|
+
font-family: Calibre, sans-serif;
|
1082
1113
|
font-size: 1rem;
|
1083
|
-
line-height: 1.5rem;
|
1084
1114
|
font-weight: 500;
|
1115
|
+
letter-spacing: 0em;
|
1116
|
+
line-height: 1.5rem;
|
1117
|
+
text-decoration: initial;
|
1118
|
+
text-rendering: initial;
|
1085
1119
|
}
|
1086
1120
|
|
1087
1121
|
.type-md-underline {
|
1122
|
+
font-family: Calibre, sans-serif;
|
1088
1123
|
font-size: 1rem;
|
1124
|
+
font-weight: 400;
|
1125
|
+
letter-spacing: 0em;
|
1089
1126
|
line-height: 1.5rem;
|
1090
1127
|
text-decoration: underline;
|
1128
|
+
text-rendering: initial;
|
1091
1129
|
}
|
1092
1130
|
|
1093
1131
|
.type-md-tight {
|
1132
|
+
font-family: Calibre, sans-serif;
|
1094
1133
|
font-size: 1rem;
|
1134
|
+
font-weight: 400;
|
1135
|
+
letter-spacing: 0em;
|
1095
1136
|
line-height: 1.25rem;
|
1137
|
+
text-decoration: initial;
|
1138
|
+
text-rendering: initial;
|
1096
1139
|
}
|
1097
1140
|
|
1098
1141
|
.type-md-tight-medium {
|
1142
|
+
font-family: Calibre, sans-serif;
|
1099
1143
|
font-size: 1rem;
|
1100
|
-
line-height: 1.25rem;
|
1101
1144
|
font-weight: 500;
|
1145
|
+
letter-spacing: 0em;
|
1146
|
+
line-height: 1.25rem;
|
1147
|
+
text-decoration: initial;
|
1102
1148
|
text-rendering: geometricPrecision;
|
1103
1149
|
}
|
1104
1150
|
|
1105
1151
|
.type-md-tight-underline {
|
1152
|
+
font-family: Calibre, sans-serif;
|
1106
1153
|
font-size: 1rem;
|
1154
|
+
font-weight: 400;
|
1155
|
+
letter-spacing: 0em;
|
1107
1156
|
line-height: 1.25rem;
|
1108
1157
|
text-decoration: underline;
|
1158
|
+
text-rendering: initial;
|
1109
1159
|
}
|
1110
1160
|
|
1111
1161
|
.type-sm-mono {
|
1162
|
+
font-family: Monaco, monospace;
|
1112
1163
|
font-size: .875rem;
|
1164
|
+
font-weight: 400;
|
1165
|
+
letter-spacing: 0em;
|
1113
1166
|
line-height: 1.5rem;
|
1114
|
-
|
1167
|
+
text-decoration: initial;
|
1168
|
+
text-rendering: initial;
|
1115
1169
|
}
|
1116
1170
|
|
1117
1171
|
.type-sm-mono-tight {
|
1118
|
-
font-size: .875rem;
|
1119
1172
|
font-family: Monaco, monospace;
|
1173
|
+
font-size: .875rem;
|
1174
|
+
font-weight: 400;
|
1175
|
+
letter-spacing: 0em;
|
1120
1176
|
line-height: 1.25rem;
|
1177
|
+
text-decoration: initial;
|
1178
|
+
text-rendering: initial;
|
1121
1179
|
}
|
1122
1180
|
|
1123
1181
|
.type-sm-mono-underline {
|
1182
|
+
font-family: Monaco, monospace;
|
1124
1183
|
font-size: .875rem;
|
1184
|
+
font-weight: 400;
|
1185
|
+
letter-spacing: 0em;
|
1125
1186
|
line-height: 1.5rem;
|
1126
|
-
font-family: Monaco, monospace;
|
1127
1187
|
text-decoration: underline;
|
1188
|
+
text-rendering: initial;
|
1128
1189
|
}
|
1129
1190
|
|
1130
1191
|
.type-xs {
|
1192
|
+
font-family: Calibre, sans-serif;
|
1131
1193
|
font-size: .75rem;
|
1194
|
+
font-weight: 400;
|
1195
|
+
letter-spacing: 0em;
|
1132
1196
|
line-height: 1.25rem;
|
1197
|
+
text-decoration: initial;
|
1198
|
+
text-rendering: initial;
|
1133
1199
|
}
|
1134
1200
|
|
1135
1201
|
.type-xs-tight {
|
1202
|
+
font-family: Calibre, sans-serif;
|
1136
1203
|
font-size: .75rem;
|
1204
|
+
font-weight: 400;
|
1205
|
+
letter-spacing: 0em;
|
1137
1206
|
line-height: 1rem;
|
1207
|
+
text-decoration: initial;
|
1208
|
+
text-rendering: initial;
|
1138
1209
|
}
|
1139
1210
|
|
1140
1211
|
.type-xs-tight-underline {
|
1212
|
+
font-family: Calibre, sans-serif;
|
1141
1213
|
font-size: .75rem;
|
1214
|
+
font-weight: 400;
|
1215
|
+
letter-spacing: 0em;
|
1142
1216
|
line-height: 1rem;
|
1143
1217
|
text-decoration: underline;
|
1218
|
+
text-rendering: initial;
|
1144
1219
|
}
|
1145
1220
|
|
1146
1221
|
.type-xs-mono {
|
1222
|
+
font-family: Monaco, monospace;
|
1147
1223
|
font-size: .75rem;
|
1224
|
+
font-weight: 400;
|
1225
|
+
letter-spacing: 0em;
|
1148
1226
|
line-height: 1.5rem;
|
1149
|
-
|
1227
|
+
text-decoration: initial;
|
1228
|
+
text-rendering: initial;
|
1150
1229
|
}
|
1151
1230
|
|
1152
1231
|
.type-xxs-mono {
|
1232
|
+
font-family: Monaco, monospace;
|
1153
1233
|
font-size: .5625rem;
|
1234
|
+
font-weight: 400;
|
1235
|
+
letter-spacing: 0em;
|
1154
1236
|
line-height: 1rem;
|
1155
|
-
|
1237
|
+
text-decoration: initial;
|
1238
|
+
text-rendering: initial;
|
1156
1239
|
}
|
1157
1240
|
|
1158
1241
|
.geometric-precision-text {
|