@obosbbl/grunnmuren-tailwind 2.1.0 → 2.2.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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/tailwind-base.css +12 -0
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.0",
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.7"
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
+ }