diff --git a/src/avatar/index.wc b/src/avatar/index.wc index 0256549..e79d27f 100644 --- a/src/avatar/index.wc +++ b/src/avatar/index.wc @@ -51,7 +51,7 @@ :host([type='success']) { background: #58d68d; } -:host([color='orange']) { +:host([type='warning']) { background: #ffb618; } :host([type='inverse']) { diff --git a/src/badge/index.wc b/src/badge/index.wc index 57db8aa..643c205 100644 --- a/src/badge/index.wc +++ b/src/badge/index.wc @@ -42,7 +42,7 @@ :host([type='info']) .dot { background: var(--color-blue-1); } -:host([color='orange']) .dot { +:host([type='warning']) .dot { background: var(--color-orange-1); } :host([color='purple']) .dot { diff --git a/src/form/checkbox-item.wc b/src/form/checkbox-item.wc index a22e3b9..dc1e87b 100644 --- a/src/form/checkbox-item.wc +++ b/src/form/checkbox-item.wc @@ -109,7 +109,7 @@ } } -:host([color='orange']) label.checked { +:host([type='warning']) label.checked { color: var(--color-orange-1); .dot { border-color: var(--color-orange-1); diff --git a/src/form/progress.wc b/src/form/progress.wc index 64b473f..3f22d36 100644 --- a/src/form/progress.wc +++ b/src/form/progress.wc @@ -47,7 +47,7 @@ background: var(--color-green-1); } -:host([color='orange']) label span { +:host([type='warning']) label span { background: var(--color-orange-1); } diff --git a/src/form/radio-item.wc b/src/form/radio-item.wc index c070426..31a5002 100644 --- a/src/form/radio-item.wc +++ b/src/form/radio-item.wc @@ -147,7 +147,7 @@ } } -:host([color='orange']) label.checked { +:host([type='warning']) label.checked { color: var(--color-orange-1); .dot { border-color: var(--color-orange-1); diff --git a/src/form/star.wc b/src/form/star.wc index 0d186d4..c42c4c4 100644 --- a/src/form/star.wc +++ b/src/form/star.wc @@ -72,7 +72,7 @@ label { :host([color='purple']) label span { color: var(--color-purple-1); } -:host([color='orange']) label span { +:host([type='warning']) label span { color: var(--color-orange-1); } diff --git a/src/form/switch.wc b/src/form/switch.wc index a1273ac..a8bdcad 100644 --- a/src/form/switch.wc +++ b/src/form/switch.wc @@ -98,7 +98,7 @@ background: var(--color-teal-1); } -:host([color='orange']) label.checked { +:host([type='warning']) label.checked { background: var(--color-orange-1); } diff --git a/src/icon/index.wc b/src/icon/index.wc index 0b97f69..54678fa 100644 --- a/src/icon/index.wc +++ b/src/icon/index.wc @@ -54,7 +54,7 @@ color: var(--color-teal-1); } -:host([color='orange']) { +:host([type='warning']) { color: var(--color-orange-1); } diff --git a/src/pager/index.wc b/src/pager/index.wc index 62ff71f..3ac282a 100644 --- a/src/pager/index.wc +++ b/src/pager/index.wc @@ -1,93 +1,74 @@