@robosophy/ui-vue 1.0.12 → 1.0.13
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type RsIconFamily = "outlined" | "rounded" | "sharp";
|
|
2
2
|
export type RsIconSize = "sm" | "md" | "lg" | number;
|
|
3
|
-
export type RsIconColor = "primary" | "secondary" | "
|
|
3
|
+
export type RsIconColor = "primary" | "secondary" | "success" | "warning" | "error" | "inherit";
|
|
4
4
|
export type RsIconWeight = 100 | 200 | 300 | 400 | 500 | 600 | 700;
|
|
5
5
|
export type RsIconProps = {
|
|
6
6
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RsIcon.types.d.ts","sourceRoot":"","sources":["../../../src/components/RsIcon/RsIcon.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,SAAS,GAAG,OAAO,CAAC;AAE5D,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAErD,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"RsIcon.types.d.ts","sourceRoot":"","sources":["../../../src/components/RsIcon/RsIcon.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,SAAS,GAAG,OAAO,CAAC;AAE5D,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAErD,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;AAEhG,MAAM,MAAM,YAAY,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAEnE,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB,CAAC"}
|
package/dist/index.css
CHANGED
|
@@ -54,8 +54,16 @@
|
|
|
54
54
|
--rs-icon-color: var(--rs-color-icon-secondary, #000000);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
.rs-icon--
|
|
58
|
-
--rs-icon-color: var(--rs-color-icon-
|
|
57
|
+
.rs-icon--success {
|
|
58
|
+
--rs-icon-color: var(--rs-color-icon-success, #4EAE01);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.rs-icon--warning {
|
|
62
|
+
--rs-icon-color: var(--rs-color-icon-warning, #FF9001);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.rs-icon--error {
|
|
66
|
+
--rs-icon-color: var(--rs-color-icon-error, #d80115);
|
|
59
67
|
}
|
|
60
68
|
|
|
61
69
|
.rs-icon--inherit {
|
|
@@ -123,8 +131,14 @@
|
|
|
123
131
|
.rs-icon--secondary {
|
|
124
132
|
--rs-icon-color: var(--rs-color-icon-secondary, #000000);
|
|
125
133
|
}
|
|
126
|
-
.rs-icon--
|
|
127
|
-
--rs-icon-color: var(--rs-color-icon-
|
|
134
|
+
.rs-icon--success {
|
|
135
|
+
--rs-icon-color: var(--rs-color-icon-success, #4EAE01);
|
|
136
|
+
}
|
|
137
|
+
.rs-icon--warning {
|
|
138
|
+
--rs-icon-color: var(--rs-color-icon-warning, #FF9001);
|
|
139
|
+
}
|
|
140
|
+
.rs-icon--error {
|
|
141
|
+
--rs-icon-color: var(--rs-color-icon-error, #d80115);
|
|
128
142
|
}
|
|
129
143
|
.rs-icon--inherit {
|
|
130
144
|
--rs-icon-color: currentColor;
|