@obosbbl/grunnmuren-tailwind 2.0.3 → 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.
- package/package.json +2 -2
- package/tailwind-base.css +16 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@obosbbl/grunnmuren-tailwind",
|
|
3
|
-
"version": "2.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.
|
|
19
|
+
"tailwindcss": "4.1.7"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"tailwindcss": "^4.0.0"
|
package/tailwind-base.css
CHANGED
|
@@ -38,6 +38,10 @@
|
|
|
38
38
|
--color-orange: #e8a74a;
|
|
39
39
|
--color-orange-light: #f8e5c9;
|
|
40
40
|
--color-yellow: #fff5d2;
|
|
41
|
+
|
|
42
|
+
/** Breakpoints ***/
|
|
43
|
+
--breakpoint-3xl: 108rem;
|
|
44
|
+
--breakpoint-4xl: 120rem;
|
|
41
45
|
}
|
|
42
46
|
|
|
43
47
|
@layer base {
|
|
@@ -170,3 +174,15 @@
|
|
|
170
174
|
@utility ring-focus-offset {
|
|
171
175
|
@apply ring-focus ring-offset-2;
|
|
172
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
|
+
}
|