@aurora-ds/components 0.23.1 → 0.23.3

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 CHANGED
@@ -169,7 +169,7 @@ const TEXT_STYLES = theme.createStyles((theme) => {
169
169
  fontSize: fontSize ? theme.fontSize[fontSize] : variantStyles[variant].fontSize,
170
170
  fontWeight: variantStyles[variant].fontWeight,
171
171
  lineHeight: variantStyles[variant].lineHeight,
172
- color: color ? theme.colors[color] : 'inherit',
172
+ color: color ? theme.colors[color] : theme.colors.text,
173
173
  cursor: 'inherit',
174
174
  fontFamily,
175
175
  ...(preserveWhitespace && { whiteSpace: 'pre-wrap' }),
@@ -1419,7 +1419,7 @@ SelectItem.displayName = 'SelectItem';
1419
1419
  const MENU_STYLES = theme.createStyles((theme) => ({
1420
1420
  root: (isFadingIn, anchorOrigin, position, width) => ({
1421
1421
  position: 'fixed',
1422
- zIndex: 9999999,
1422
+ zIndex: theme.zIndex.dropdown,
1423
1423
  marginTop: theme.spacing.xs,
1424
1424
  backgroundColor: theme.colors.surface,
1425
1425
  borderRadius: theme.radius.md,
@@ -2662,7 +2662,7 @@ const MODAL_STYLES = theme.createStyles((theme) => ({
2662
2662
  position: 'fixed',
2663
2663
  top: 0,
2664
2664
  left: 0,
2665
- zIndex: 999999,
2665
+ zIndex: theme.zIndex.modal,
2666
2666
  transition: 'opacity 150ms ease-in-out',
2667
2667
  width: '100vw',
2668
2668
  height: '100vh',