@zango-core/components 0.0.0 → 0.1.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/README.md +14 -14
- package/dist/demo/main.d.ts +1 -1
- package/dist/zango-components.js +137 -135
- package/dist/zango-components.js.map +1 -1
- package/dist/zango-components.umd.cjs +6 -6
- package/dist/zango-components.umd.cjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -95,9 +95,9 @@ function App() {
|
|
|
95
95
|
```css
|
|
96
96
|
/* Override colors in your CSS - no imports needed! */
|
|
97
97
|
:root {
|
|
98
|
-
--
|
|
99
|
-
--
|
|
100
|
-
--
|
|
98
|
+
--color-Brand-500: #3b82f6;
|
|
99
|
+
--color-Brand-600: #2563eb;
|
|
100
|
+
--color-Brand-700: #1d4ed8;
|
|
101
101
|
}
|
|
102
102
|
```
|
|
103
103
|
|
|
@@ -313,23 +313,23 @@ The component library uses CSS variables that can be overridden in your applicat
|
|
|
313
313
|
```css
|
|
314
314
|
:root {
|
|
315
315
|
/* Brand colors */
|
|
316
|
-
--
|
|
317
|
-
--
|
|
318
|
-
--
|
|
316
|
+
--color-Brand-500: #your-primary-color;
|
|
317
|
+
--color-Brand-600: #your-primary-hover;
|
|
318
|
+
--color-Brand-700: #your-primary-active;
|
|
319
319
|
|
|
320
320
|
/* Gray colors */
|
|
321
|
-
--
|
|
322
|
-
--
|
|
323
|
-
--
|
|
321
|
+
--color-Gray-100: #your-gray-light;
|
|
322
|
+
--color-Gray-500: #your-gray-medium;
|
|
323
|
+
--color-Gray-900: #your-gray-dark;
|
|
324
324
|
|
|
325
325
|
/* Status colors */
|
|
326
|
-
--
|
|
327
|
-
--
|
|
328
|
-
--
|
|
326
|
+
--color-success-500: #your-success-color;
|
|
327
|
+
--color-error-500: #your-error-color;
|
|
328
|
+
--color-warning-500: #your-warning-color;
|
|
329
329
|
|
|
330
330
|
/* Base colors */
|
|
331
|
-
--
|
|
332
|
-
--
|
|
331
|
+
--color-Base-white: #ffffff;
|
|
332
|
+
--color-Base-black: #000000;
|
|
333
333
|
}
|
|
334
334
|
```
|
|
335
335
|
|
package/dist/demo/main.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
|