@bomberstudios/css-library 1.0.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/.nvmrc +1 -0
- package/index.css +29 -0
- package/package.json +11 -0
package/.nvmrc
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
23
|
package/index.css
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
:root {
|
2
|
+
--gap: 10px;
|
3
|
+
--brand: #f60;
|
4
|
+
}
|
5
|
+
|
6
|
+
hstack,
|
7
|
+
.hstack {
|
8
|
+
display: flex;
|
9
|
+
flex-direction: row;
|
10
|
+
gap: var(--gap);
|
11
|
+
}
|
12
|
+
|
13
|
+
vstack,
|
14
|
+
.vstack {
|
15
|
+
display: flex;
|
16
|
+
flex-direction: column;
|
17
|
+
gap: var(--gap);
|
18
|
+
}
|
19
|
+
|
20
|
+
zstack,
|
21
|
+
.zstack {
|
22
|
+
display: grid;
|
23
|
+
align-items: center;
|
24
|
+
justify-items: center;
|
25
|
+
}
|
26
|
+
zstack,
|
27
|
+
.zstack > * {
|
28
|
+
grid-area: 1/1/1/1;
|
29
|
+
}
|
package/package.json
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
{
|
2
|
+
"name": "@bomberstudios/css-library",
|
3
|
+
"version": "1.0.0",
|
4
|
+
"description": "A bunch of CSS code I reuse between projects",
|
5
|
+
"main": "index.css",
|
6
|
+
"scripts": {
|
7
|
+
"publish": "npm publish --access public"
|
8
|
+
},
|
9
|
+
"author": "Ale Muñoz",
|
10
|
+
"license": "MIT"
|
11
|
+
}
|