@obosbbl/grunnmuren-tailwind 2.0.0-canary.3 → 2.0.0-canary.4
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/package.json +1 -1
- package/tailwind-base.cjs +6 -3
package/package.json
CHANGED
package/tailwind-base.cjs
CHANGED
|
@@ -223,9 +223,9 @@ module.exports = (options = {}) => {
|
|
|
223
223
|
// This is tailwind syntax for setting both the font-size and the line-height
|
|
224
224
|
const headingXl = `@apply font-display font-${headingXlText.fontWeight} text-[${headingXlText.small.fontSize}]/[${headingXlText.small.lineHeight}] md:text-[${headingXlText.large.fontSize}]/[${headingXlText.large.lineHeight}]`;
|
|
225
225
|
const headingL = `@apply font-display font-${headingLText.fontWeight} text-[${headingLText.small.fontSize}]/[${headingLText.small.lineHeight}] md:text-[${headingLText.large.fontSize}]/[${headingLText.large.lineHeight}]`;
|
|
226
|
-
const headingM = `@apply font-${headingMText.fontWeight} text-[${headingMText.small.fontSize}]/[${headingMText.small.lineHeight}] md:text-[${headingMText.large.fontSize}]/[${headingMText.large.lineHeight}]`;
|
|
227
|
-
const headingS = `@apply font-${headingSText.fontWeight} text-[${headingSText.small.fontSize}]/[${headingSText.small.lineHeight}] md:text-[${headingSText.large.fontSize}]/[${headingSText.large.lineHeight}]`;
|
|
228
|
-
const headingXs = `@apply font-${headingXsText.fontWeight} text-[${headingXsText.small.fontSize}]/[${headingXsText.small.lineHeight}] md:text-[${headingXsText.large.fontSize}]/[${headingXsText.large.lineHeight}]`;
|
|
226
|
+
const headingM = `@apply font-text font-${headingMText.fontWeight} text-[${headingMText.small.fontSize}]/[${headingMText.small.lineHeight}] md:text-[${headingMText.large.fontSize}]/[${headingMText.large.lineHeight}]`;
|
|
227
|
+
const headingS = `@apply font-text font-${headingSText.fontWeight} text-[${headingSText.small.fontSize}]/[${headingSText.small.lineHeight}] md:text-[${headingSText.large.fontSize}]/[${headingSText.large.lineHeight}]`;
|
|
228
|
+
const headingXs = `@apply font-text font-${headingXsText.fontWeight} text-[${headingXsText.small.fontSize}]/[${headingXsText.small.lineHeight}] md:text-[${headingXsText.large.fontSize}]/[${headingXsText.large.lineHeight}]`;
|
|
229
229
|
|
|
230
230
|
const paragraph = `@apply text-[${paragraphText.fontSize}]/[${paragraphText.lineHeight}]`;
|
|
231
231
|
const lead = `@apply font-medium text-[${leadText.small.fontSize}]/[${leadText.small.lineHeight}] md:text-[${leadText.large.fontSize}]/[${leadText.large.lineHeight}]`;
|
|
@@ -437,6 +437,7 @@ module.exports = (options = {}) => {
|
|
|
437
437
|
},
|
|
438
438
|
},
|
|
439
439
|
h3: {
|
|
440
|
+
fontFamily: 'OBOSText',
|
|
440
441
|
fontWeight: theme('fontWeight.medium'),
|
|
441
442
|
...typography.headingMText.small,
|
|
442
443
|
'@media (min-width: theme("screens.md"))': {
|
|
@@ -444,6 +445,7 @@ module.exports = (options = {}) => {
|
|
|
444
445
|
},
|
|
445
446
|
},
|
|
446
447
|
h4: {
|
|
448
|
+
fontFamily: 'OBOSText',
|
|
447
449
|
fontWeight: theme('fontWeight.medium'),
|
|
448
450
|
...typography.headingSText.small,
|
|
449
451
|
'@media (min-width: theme("screens.md"))': {
|
|
@@ -451,6 +453,7 @@ module.exports = (options = {}) => {
|
|
|
451
453
|
},
|
|
452
454
|
},
|
|
453
455
|
h5: {
|
|
456
|
+
fontFamily: 'OBOSText',
|
|
454
457
|
fontWeight: theme('fontWeight.bold'),
|
|
455
458
|
...typography.headingXsText.small,
|
|
456
459
|
'@media (min-width: theme("screens.md"))': {
|