@aurora-ds/components 0.21.0 → 0.21.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/dist/cjs/index.js +10 -7
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/interfaces/theme.contracts.d.ts +6 -4
- package/dist/esm/index.js +10 -7
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/interfaces/theme.contracts.d.ts +6 -4
- package/dist/index.d.ts +6 -4
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -254,14 +254,14 @@ const getStatusColorStyles = (theme, color, variant, disabled) => {
|
|
|
254
254
|
const colorMap = {
|
|
255
255
|
default: {
|
|
256
256
|
filled: {
|
|
257
|
-
backgroundColor: theme.colors.
|
|
258
|
-
color: theme.colors.
|
|
257
|
+
backgroundColor: theme.colors.defaultSubtle,
|
|
258
|
+
color: theme.colors.default,
|
|
259
259
|
borderColor: 'transparent',
|
|
260
260
|
},
|
|
261
261
|
outlined: {
|
|
262
|
-
backgroundColor:
|
|
263
|
-
color: theme.colors.
|
|
264
|
-
borderColor: theme.colors.
|
|
262
|
+
backgroundColor: theme.colors.defaultSubtle,
|
|
263
|
+
color: theme.colors.default,
|
|
264
|
+
borderColor: theme.colors.default,
|
|
265
265
|
},
|
|
266
266
|
},
|
|
267
267
|
primary: {
|
|
@@ -3085,12 +3085,12 @@ const themeColors = {
|
|
|
3085
3085
|
warning: theme.colors.amber[600],
|
|
3086
3086
|
warningSubtle: theme.colors.amber[100],
|
|
3087
3087
|
// Semantic colors - Error (Red)
|
|
3088
|
-
error: theme.colors.red[
|
|
3088
|
+
error: theme.colors.red[500],
|
|
3089
3089
|
errorHover: theme.colors.red[700],
|
|
3090
3090
|
errorSubtle: theme.colors.red[100],
|
|
3091
3091
|
onError: theme.colors.white,
|
|
3092
3092
|
// Semantic colors - Info (Blue)
|
|
3093
|
-
info: theme.colors.blue[
|
|
3093
|
+
info: theme.colors.blue[500],
|
|
3094
3094
|
infoSubtle: theme.colors.blue[100],
|
|
3095
3095
|
// Semantic colors - Highlight (Orange)
|
|
3096
3096
|
highlight: theme.colors.orange[500],
|
|
@@ -3098,6 +3098,9 @@ const themeColors = {
|
|
|
3098
3098
|
// Semantic colors - Accent (Purple)
|
|
3099
3099
|
accent: theme.colors.purple[500],
|
|
3100
3100
|
accentSubtle: theme.colors.purple[100],
|
|
3101
|
+
// Status colors - Default (Neutral slate)
|
|
3102
|
+
default: theme.colors.slate[500],
|
|
3103
|
+
defaultSubtle: theme.colors.slate[100],
|
|
3101
3104
|
// Status colors - New (Cyan)
|
|
3102
3105
|
new: theme.colors.cyan[600],
|
|
3103
3106
|
newSubtle: theme.colors.cyan[100],
|