@obosbbl/grunnmuren-tailwind 2.1.0 → 2.2.1

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": "2.1.0",
3
+ "version": "2.2.1",
4
4
  "description": "Grunnmuren Tailwind preset",
5
5
  "repository": {
6
6
  "url": "https://github.com/code-obos/grunnmuren"
@@ -16,7 +16,7 @@
16
16
  "font.css"
17
17
  ],
18
18
  "devDependencies": {
19
- "tailwindcss": "4.0.17"
19
+ "tailwindcss": "4.1.10"
20
20
  },
21
21
  "peerDependencies": {
22
22
  "tailwindcss": "^4.0.0"
package/tailwind-base.css CHANGED
@@ -174,3 +174,15 @@
174
174
  @utility ring-focus-offset {
175
175
  @apply ring-focus ring-offset-2;
176
176
  }
177
+
178
+ /** Hides the scrollbar visually */
179
+ @utility scrollbar-hidden {
180
+ /* For IE, Edge and Firefox */
181
+ -ms-overflow-style: none; /* IE and Edge */
182
+ scrollbar-width: none; /* Firefox */
183
+
184
+ /* For Webkit-based browsers (Chrome, Safari and Opera) */
185
+ &::-webkit-scrollbar {
186
+ display: none;
187
+ }
188
+ }
@@ -40,8 +40,6 @@
40
40
  --tw-prose-counters: --theme(--color-black, initial);
41
41
  --tw-prose-bullets: --theme(--color-black, initial);
42
42
  --tw-prose-hr: --theme(--color-gray-200, initial);
43
- --tw-prose-quotes: inherit;
44
- --tw-prose-quote-borders: --theme(--color-gray-200, initial);
45
43
  --tw-prose-captions: --theme(--color-gray-500, initial);
46
44
  --tw-prose-kbd: --theme(--color-gray-900, initial);
47
45
  --tw-prose-kbd-shadows: --theme(--color-gray-900, initial);
@@ -50,24 +48,6 @@
50
48
  --tw-prose-pre-bg: --theme(--color-gray-800, initial);
51
49
  --tw-prose-th-borders: --theme(--color-gray-300, initial);
52
50
  --tw-prose-td-borders: --theme(--color-gray-200, initial);
53
- --tw-prose-invert-body: --theme(--color-gray-300, initial);
54
- --tw-prose-invert-headings: --theme(--color-white, initial);
55
- --tw-prose-invert-lead: --theme(--color-gray-400, initial);
56
- --tw-prose-invert-links: --theme(--color-white, initial);
57
- --tw-prose-invert-bold: --theme(--color-white, initial);
58
- --tw-prose-invert-counters: --theme(--color-gray-400, initial);
59
- --tw-prose-invert-bullets: --theme(--color-gray-600, initial);
60
- --tw-prose-invert-hr: --theme(--color-gray-700, initial);
61
- --tw-prose-invert-quotes: --theme(--color-gray-100, initial);
62
- --tw-prose-invert-quote-borders: --theme(--color-gray-700, initial);
63
- --tw-prose-invert-captions: --theme(--color-gray-400, initial);
64
- --tw-prose-invert-kbd: --theme(--color-white, initial);
65
- --tw-prose-invert-kbd-shadows: --theme(--color-white, initial);
66
- --tw-prose-invert-code: --theme(--color-white, initial);
67
- --tw-prose-invert-pre-code: --theme(--color-gray-300, initial);
68
- --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);
69
- --tw-prose-invert-th-borders: --theme(--color-gray-600, initial);
70
- --tw-prose-invert-td-borders: --theme(--color-gray-700, initial);
71
51
 
72
52
  font-size: 1rem;
73
53
  line-height: 1.75;
@@ -507,3 +487,10 @@
507
487
  }
508
488
  }
509
489
  }
490
+
491
+ @utility prose-white {
492
+ --tw-prose-body: --theme(--color-white, initial);
493
+ --tw-prose-bullets: --theme(--color-white, initial);
494
+ --tw-prose-counters: --theme(--color-white, initial);
495
+ --tw-prose-hr: --theme(--color-white, initial);
496
+ }