Skip to content

Commit d6c7682

Browse files
authored
Update Index table colors (#10755)
### WHY are these changes introduced? Fixes #10362 ### WHAT is this pull request doing? This updates some Index table row colors as well as the color value for the `color-bg-surface-selected` token
1 parent 3c32433 commit d6c7682

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

polaris-react/src/components/IndexTable/IndexTable.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ $loading-panel-height: 53px;
262262
.TableHeading-second,
263263
.TableCell-first,
264264
.TableCell-first + .TableCell {
265-
background-color: var(--p-color-bg-primary-subdued-selected);
265+
background-color: var(--p-color-bg-surface-selected);
266266
}
267267

268268
/* stylelint-disable-next-line selector-max-class -- generated by polaris-migrator DO NOT COPY */
@@ -359,7 +359,7 @@ $loading-panel-height: 53px;
359359
.TableCell-first,
360360
.TableCell-first + .TableCell,
361361
.TableCell:last-child {
362-
background-color: var(--p-color-bg-primary-subdued-hover);
362+
background-color: var(--p-color-bg-surface-hover);
363363
}
364364

365365
/* stylelint-disable-next-line selector-max-class, selector-max-specificity -- generated by polaris-migrator DO NOT COPY */

polaris-tokens/src/themes/base/color.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ export const color: {
433433
value: colorsExperimental.gray[4],
434434
},
435435
'color-bg-surface-selected': {
436-
value: colorsExperimental.gray[3],
436+
value: colorsExperimental.gray[6],
437437
},
438438
'color-bg-fill-success': {
439439
value: colorsExperimental.green[12],

0 commit comments

Comments
 (0)