@obosbbl/grunnmuren-tailwind 0.8.4 → 0.9.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/package.json +4 -4
- package/tailwind-base.cjs +45 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@obosbbl/grunnmuren-tailwind",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Grunnmuren Tailwind preset",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@tailwindcss/aspect-ratio": "0.4.2",
|
|
19
|
-
"@tailwindcss/typography": "0.5.
|
|
19
|
+
"@tailwindcss/typography": "0.5.9"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"tailwindcss": "3.2
|
|
23
|
-
"postcss": "8.4.
|
|
22
|
+
"tailwindcss": "3.3.2",
|
|
23
|
+
"postcss": "8.4.23"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"tailwindcss": "^3.2"
|
package/tailwind-base.cjs
CHANGED
|
@@ -278,7 +278,7 @@ module.exports = (userOptions) => {
|
|
|
278
278
|
a: {
|
|
279
279
|
'@apply underline': {},
|
|
280
280
|
},
|
|
281
|
-
'::selection': { '@apply bg-
|
|
281
|
+
'::selection': { '@apply bg-mint text-black': {} },
|
|
282
282
|
// Remove the disclosure triangle in Safari if apply the `list-none` utility to the summary element
|
|
283
283
|
'summary.list-none::-webkit-details-marker': {
|
|
284
284
|
display: 'none',
|
|
@@ -396,30 +396,44 @@ module.exports = (userOptions) => {
|
|
|
396
396
|
black: '#333',
|
|
397
397
|
white: '#fff',
|
|
398
398
|
gray: {
|
|
399
|
-
//
|
|
400
|
-
concrete: '#f1f1f1',
|
|
401
|
-
// Gray
|
|
399
|
+
// Dark Gray
|
|
402
400
|
dark: '#595959',
|
|
403
|
-
//
|
|
401
|
+
// gray
|
|
404
402
|
DEFAULT: '#818181',
|
|
405
403
|
// Light gray
|
|
406
404
|
light: '#E6E6E6',
|
|
405
|
+
// Lightest gray
|
|
406
|
+
lightest: '#f1f1f1',
|
|
407
|
+
// DEPRECATED concrete
|
|
408
|
+
concrete: '#f1f1f1',
|
|
409
|
+
},
|
|
410
|
+
sky: {
|
|
411
|
+
DEFAULT: '#BEDFEC',
|
|
412
|
+
light: '#DEEFF5',
|
|
413
|
+
lightest: '#EBF5F9',
|
|
414
|
+
},
|
|
415
|
+
mint: {
|
|
416
|
+
DEFAULT: '#CDECE2',
|
|
417
|
+
light: '#E6F5F0',
|
|
418
|
+
lightest: '#F0F9F6',
|
|
407
419
|
},
|
|
408
420
|
blue: {
|
|
409
|
-
// light blue
|
|
421
|
+
// DEPRECATED light blue
|
|
410
422
|
lightest: '#DEEFF5',
|
|
411
|
-
// OBOS Sky
|
|
423
|
+
// DEPRECATED OBOS Sky
|
|
412
424
|
light: '#BEDFEC',
|
|
425
|
+
|
|
413
426
|
// OBOS Blue/Primary brand
|
|
414
427
|
DEFAULT: '#0047BA',
|
|
415
428
|
// OBOS Ocean
|
|
416
429
|
dark: '#002169',
|
|
417
430
|
},
|
|
418
431
|
green: {
|
|
419
|
-
// light green
|
|
432
|
+
// DEPRECATED light green
|
|
420
433
|
lightest: '#E6F5F0',
|
|
421
|
-
// OBOS Mint
|
|
434
|
+
// DEPRECATED OBOS Mint
|
|
422
435
|
light: '#CDECE2',
|
|
436
|
+
|
|
423
437
|
// OBOS Green/Primary brand
|
|
424
438
|
DEFAULT: '#008761',
|
|
425
439
|
// OBOS Forest
|
|
@@ -464,23 +478,39 @@ module.exports = (userOptions) => {
|
|
|
464
478
|
fontWeight: 400,
|
|
465
479
|
},
|
|
466
480
|
h1: {
|
|
467
|
-
fontWeight: 'bold',
|
|
481
|
+
fontWeight: theme('fontWeight.bold'),
|
|
482
|
+
fontSize: theme('fontSize.3xl'),
|
|
483
|
+
'@media (min-width: theme("screens.md"))': {
|
|
484
|
+
fontSize: theme('fontSize.5xl'),
|
|
485
|
+
},
|
|
468
486
|
},
|
|
469
487
|
h2: {
|
|
470
|
-
fontWeight: 'bold',
|
|
488
|
+
fontWeight: theme('fontWeight.bold'),
|
|
489
|
+
fontSize: theme('fontSize.2xl'),
|
|
490
|
+
'@media (min-width: theme("screens.md"))': {
|
|
491
|
+
fontSize: theme('fontSize.4xl'),
|
|
492
|
+
},
|
|
471
493
|
},
|
|
472
494
|
h3: {
|
|
473
|
-
fontWeight: 'bold',
|
|
495
|
+
fontWeight: theme('fontWeight.bold'),
|
|
496
|
+
fontSize: theme('fontSize.xl'),
|
|
497
|
+
'@media (min-width: theme("screens.md"))': {
|
|
498
|
+
fontSize: theme('fontSize.2xl'),
|
|
499
|
+
},
|
|
474
500
|
},
|
|
475
501
|
h4: {
|
|
476
|
-
fontWeight: 'bold',
|
|
502
|
+
fontWeight: theme('fontWeight.bold'),
|
|
503
|
+
fontSize: theme('fontSize.lg'),
|
|
504
|
+
'@media (min-width: theme("screens.md"))': {
|
|
505
|
+
fontSize: theme('fontSize.xl'),
|
|
506
|
+
},
|
|
477
507
|
},
|
|
478
508
|
li: {
|
|
479
509
|
marginTop: '1.5em',
|
|
480
510
|
marginBottom: '1.5em',
|
|
481
511
|
},
|
|
482
512
|
blockquote: {
|
|
483
|
-
fontWeight: '
|
|
513
|
+
fontWeight: theme('fontWeight.bold'),
|
|
484
514
|
fontStyle: 'normal',
|
|
485
515
|
},
|
|
486
516
|
'blockquote p:first-of-type::before': {
|
|
@@ -490,7 +520,7 @@ module.exports = (userOptions) => {
|
|
|
490
520
|
content: '"»"',
|
|
491
521
|
},
|
|
492
522
|
'[class~="lead"]': {
|
|
493
|
-
fontWeight:
|
|
523
|
+
fontWeight: theme('fontWeight.medium'),
|
|
494
524
|
},
|
|
495
525
|
},
|
|
496
526
|
},
|