Skip to content

Commit 0f26b91

Browse files
andrewseguinAndrew Seguin
and
Andrew Seguin
authored
fix(material/paginator): update tokens to system colors (#31286)
Co-authored-by: Andrew Seguin <[email protected]>
1 parent 8523397 commit 0f26b91

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/material/paginator/_m2-paginator.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
@use '../core/theming/theming';
44
@use '../core/theming/inspection';
55
@use '../core/tokens/m2-utils';
6+
@use '../core/tokens/m3-utils';
67

78
// Tokens that can't be configured through Angular Material's current theming API,
89
// but may be in a future version of the theming API.
@@ -18,7 +19,7 @@
1819
paginator-container-text-color: map.get($system, on-surface),
1920
paginator-container-background-color: map.get($system, surface),
2021
paginator-enabled-icon-color: map.get($system, on-surface-variant),
21-
paginator-disabled-icon-color: inspection.get-theme-color($theme, foreground, base, 0.12),
22+
paginator-disabled-icon-color: m3-utils.color-with-opacity(map.get($system, on-surface), 38%),
2223
);
2324
}
2425

0 commit comments

Comments
 (0)