@ttoss/theme 1.0.2 → 1.0.3
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/dist/esm/index.js +26 -2
- package/dist/index.js +26 -2
- package/package.json +2 -2
- package/src/themes/bruttalFonts.ts +2 -2
- package/src/themes/bruttalTheme.ts +24 -0
package/dist/esm/index.js
CHANGED
|
@@ -210,14 +210,38 @@ var BruttalTheme = {
|
|
|
210
210
|
fontSize: "6xl",
|
|
211
211
|
fontWeight: "bold",
|
|
212
212
|
letterSpacing: "normal"
|
|
213
|
+
},
|
|
214
|
+
h2: {
|
|
215
|
+
fontFamily: "heading",
|
|
216
|
+
fontSize: "5xl",
|
|
217
|
+
fontWeight: "bold",
|
|
218
|
+
letterSpacing: "normal"
|
|
219
|
+
},
|
|
220
|
+
h3: {
|
|
221
|
+
fontFamily: "heading",
|
|
222
|
+
fontSize: "4xl",
|
|
223
|
+
fontWeight: "bold",
|
|
224
|
+
letterSpacing: "normal"
|
|
225
|
+
},
|
|
226
|
+
h4: {
|
|
227
|
+
fontFamily: "heading",
|
|
228
|
+
fontSize: "2xl",
|
|
229
|
+
fontWeight: "bold",
|
|
230
|
+
letterSpacing: "normal"
|
|
231
|
+
},
|
|
232
|
+
h5: {
|
|
233
|
+
fontFamily: "heading",
|
|
234
|
+
fontSize: "xl",
|
|
235
|
+
fontWeight: "bold",
|
|
236
|
+
letterSpacing: "normal"
|
|
213
237
|
}
|
|
214
238
|
}
|
|
215
239
|
};
|
|
216
240
|
|
|
217
241
|
// src/themes/bruttalFonts.ts
|
|
218
242
|
var BruttalFonts = [
|
|
219
|
-
"https://fonts.googleapis.com/css?family=Inconsolata",
|
|
220
|
-
"https://fonts.googleapis.com/css?family=Work+Sans"
|
|
243
|
+
"https://fonts.googleapis.com/css?family=Inconsolata:wght@100;200;300;400;500;700;800;900",
|
|
244
|
+
"https://fonts.googleapis.com/css?family=Work+Sans:wght@100;200;300;400;500;700;800;900"
|
|
221
245
|
];
|
|
222
246
|
|
|
223
247
|
// src/themes/defaultFonts.ts
|
package/dist/index.js
CHANGED
|
@@ -237,14 +237,38 @@ var BruttalTheme = {
|
|
|
237
237
|
fontSize: "6xl",
|
|
238
238
|
fontWeight: "bold",
|
|
239
239
|
letterSpacing: "normal"
|
|
240
|
+
},
|
|
241
|
+
h2: {
|
|
242
|
+
fontFamily: "heading",
|
|
243
|
+
fontSize: "5xl",
|
|
244
|
+
fontWeight: "bold",
|
|
245
|
+
letterSpacing: "normal"
|
|
246
|
+
},
|
|
247
|
+
h3: {
|
|
248
|
+
fontFamily: "heading",
|
|
249
|
+
fontSize: "4xl",
|
|
250
|
+
fontWeight: "bold",
|
|
251
|
+
letterSpacing: "normal"
|
|
252
|
+
},
|
|
253
|
+
h4: {
|
|
254
|
+
fontFamily: "heading",
|
|
255
|
+
fontSize: "2xl",
|
|
256
|
+
fontWeight: "bold",
|
|
257
|
+
letterSpacing: "normal"
|
|
258
|
+
},
|
|
259
|
+
h5: {
|
|
260
|
+
fontFamily: "heading",
|
|
261
|
+
fontSize: "xl",
|
|
262
|
+
fontWeight: "bold",
|
|
263
|
+
letterSpacing: "normal"
|
|
240
264
|
}
|
|
241
265
|
}
|
|
242
266
|
};
|
|
243
267
|
|
|
244
268
|
// src/themes/bruttalFonts.ts
|
|
245
269
|
var BruttalFonts = [
|
|
246
|
-
"https://fonts.googleapis.com/css?family=Inconsolata",
|
|
247
|
-
"https://fonts.googleapis.com/css?family=Work+Sans"
|
|
270
|
+
"https://fonts.googleapis.com/css?family=Inconsolata:wght@100;200;300;400;500;700;800;900",
|
|
271
|
+
"https://fonts.googleapis.com/css?family=Work+Sans:wght@100;200;300;400;500;700;800;900"
|
|
248
272
|
];
|
|
249
273
|
|
|
250
274
|
// src/themes/defaultFonts.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/theme",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Theme for packages.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "ttoss",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "aa9d30b8c4e8f74d2e0b78872f0519ca4a550ee4"
|
|
30
30
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export const BruttalFonts = [
|
|
2
|
-
'https://fonts.googleapis.com/css?family=Inconsolata',
|
|
3
|
-
'https://fonts.googleapis.com/css?family=Work+Sans',
|
|
2
|
+
'https://fonts.googleapis.com/css?family=Inconsolata:wght@100;200;300;400;500;700;800;900',
|
|
3
|
+
'https://fonts.googleapis.com/css?family=Work+Sans:wght@100;200;300;400;500;700;800;900',
|
|
4
4
|
];
|
|
@@ -133,5 +133,29 @@ export const BruttalTheme: Theme = {
|
|
|
133
133
|
fontWeight: 'bold',
|
|
134
134
|
letterSpacing: 'normal',
|
|
135
135
|
},
|
|
136
|
+
h2: {
|
|
137
|
+
fontFamily: 'heading',
|
|
138
|
+
fontSize: '5xl',
|
|
139
|
+
fontWeight: 'bold',
|
|
140
|
+
letterSpacing: 'normal',
|
|
141
|
+
},
|
|
142
|
+
h3: {
|
|
143
|
+
fontFamily: 'heading',
|
|
144
|
+
fontSize: '4xl',
|
|
145
|
+
fontWeight: 'bold',
|
|
146
|
+
letterSpacing: 'normal',
|
|
147
|
+
},
|
|
148
|
+
h4: {
|
|
149
|
+
fontFamily: 'heading',
|
|
150
|
+
fontSize: '2xl',
|
|
151
|
+
fontWeight: 'bold',
|
|
152
|
+
letterSpacing: 'normal',
|
|
153
|
+
},
|
|
154
|
+
h5: {
|
|
155
|
+
fontFamily: 'heading',
|
|
156
|
+
fontSize: 'xl',
|
|
157
|
+
fontWeight: 'bold',
|
|
158
|
+
letterSpacing: 'normal',
|
|
159
|
+
},
|
|
136
160
|
},
|
|
137
161
|
};
|