@org-design-system/styles 0.1.10 → 0.1.11
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/dist/component.css +20 -0
- package/package.json +4 -4
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
|
|
2
|
+
.org-btn {
|
|
3
|
+
padding: 8px 16px;
|
|
4
|
+
border-radius: 6px;
|
|
5
|
+
font-weight: 500;
|
|
6
|
+
border: none;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/* primary button */
|
|
11
|
+
.org-btn-primary {
|
|
12
|
+
background-color: #2563EB;
|
|
13
|
+
color: white;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/* secondary button */
|
|
17
|
+
.org-btn-secondary {
|
|
18
|
+
background-color: #E5E7EB;
|
|
19
|
+
color: #111827;
|
|
20
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@org-design-system/styles",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.11",
|
|
4
4
|
"description": "Design tokens for the @org-design-system Design System",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"require": "./dist/index.cjs",
|
|
19
19
|
"default": "./src/index.ts"
|
|
20
20
|
},
|
|
21
|
-
"./index.css": "./
|
|
22
|
-
"./component.css": "./
|
|
21
|
+
"./index.css": "./dist/index.css",
|
|
22
|
+
"./component.css": "./dist/component.css",
|
|
23
23
|
"./*": "./*"
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"typescript": "^5.3.3"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
|
-
"build": "node build.js && tsup src/index.ts --format esm,cjs --dts --clean && cp src/index.css dist/index.css || true",
|
|
38
|
+
"build": "node build.js && tsup src/index.ts --format esm,cjs --dts --clean && cp src/index.css dist/index.css && cp src/component.css dist/component.css || true",
|
|
39
39
|
"dev": "tsup src/index.ts --format esm,cjs --watch --dts"
|
|
40
40
|
}
|
|
41
41
|
}
|