@obosbbl/grunnmuren-tailwind 0.7.3 → 0.8.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@obosbbl/grunnmuren-tailwind",
3
- "version": "0.7.3",
3
+ "version": "0.8.0",
4
4
  "description": "Grunnmuren Tailwind preset",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",
@@ -19,10 +19,10 @@
19
19
  "@tailwindcss/typography": "0.5.7"
20
20
  },
21
21
  "devDependencies": {
22
- "tailwindcss": "3.1.8",
22
+ "tailwindcss": "3.2.1",
23
23
  "postcss": "8.4.18"
24
24
  },
25
25
  "peerDependencies": {
26
- "tailwindcss": "^3"
26
+ "tailwindcss": "^3.2"
27
27
  }
28
28
  }
package/tailwind-base.cjs CHANGED
@@ -375,7 +375,12 @@ module.exports = (userOptions) => {
375
375
  prose: '696px',
376
376
  },
377
377
  screens: {
378
- // replicate the smaller than breakpoint from Windi. Even though we are mobile first, it is really nice with an escape hatch sometimes
378
+ 'max-md': { max: '767.9px' },
379
+ /**
380
+ * @deprecated Tailwind 3.2 has built in support for max-width breakpoints, but it only works
381
+ * with a "simple screens" configuration... We add `max-md` manually here, allow everyone to migrate off
382
+ * `<md`, then we can remove `screens` enitrely from this config.
383
+ */
379
384
  '<md': { max: '767.9px' },
380
385
  },
381
386
  spacing: {
@@ -428,6 +433,9 @@ module.exports = (userOptions) => {
428
433
  DEFAULT: '#fff5d2',
429
434
  },
430
435
  },
436
+ borderColor: ({ theme }) => ({
437
+ DEFAULT: theme('colors.gray.light', 'currentColor'),
438
+ }),
431
439
  fontFamily: {
432
440
  sans: [fontFamily, 'sans-serif'],
433
441
  },