Skip to content

Commit de4cb41

Browse files
committed
change icon colour
1 parent 4fe5986 commit de4cb41

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

polaris-react/UNRELEASED.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ Use [the changelog guidelines](/documentation/Versioning%20and%20changelog.md) t
1919
- Increased token coverage by replacing hard coded `border-width` values with tokens, replaced sass var with css custom property, removed unused sass vars, and updated `Banner` Secondary action styles ([5389](https://github.com/Shopify/polaris/pull/5389))
2020
- Created `icon-attention` and `surface-attention` color tokens ([5389](https://github.com/Shopify/polaris/pull/5389))
2121
- Increased token coverage by removing unnecessary `transitions` and `animations` with hard coded duration values ([5405](https://github.com/Shopify/polaris/pull/5405/))
22-
- Added optional visual density updates and zebra striping to `DataTable` ([5365](https://github.com/Shopify/polaris/pull/5365/))
2322
- Added optional visual density updates and zebra striping to `DataTable` ([#5365](https://github.com/Shopify/polaris/pull/5365/))
2423

2524
### Bug fixes

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

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,9 @@ $breakpoint: 768px;
181181

182182
.Icon {
183183
opacity: 1;
184+
184185
svg {
185-
fill: var(--p-text-subdued);
186+
fill: var(--p-icon-disabled);
186187
}
187188
}
188189
}
@@ -192,8 +193,9 @@ $breakpoint: 768px;
192193

193194
.Icon {
194195
opacity: 1;
196+
195197
svg {
196-
fill: var(--p-text-subdued);
198+
fill: var(--p-icon-disabled);
197199
}
198200
}
199201
}
@@ -207,14 +209,11 @@ $breakpoint: 768px;
207209
.Cell-sorted {
208210
.Icon {
209211
opacity: 1;
210-
211212
}
212213

213214
.Heading:focus:not(:active) {
214-
.Icon {
215-
svg {
216-
fill: var(--p-icon);
217-
}
215+
svg {
216+
fill: var(--p-icon);
218217
}
219218
}
220219
}

0 commit comments

Comments
 (0)