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