Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 6552191

Browse files
chore: Replace deprecated global functions with relevant equivalents.
PiperOrigin-RevId: 708764271
1 parent cb69208 commit 6552191

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/mdc-button/_button-shared-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ $disabled-container-color: rgba(
779779
);
780780

781781
.mdc-button__focus-ring {
782-
@if $offset-value != 0 and type-of($offset-value) == 'number' {
782+
@if $offset-value != 0 and meta.type-of($offset-value) == 'number' {
783783
@include focus-ring.focus-ring-offset(
784784
$offset: $offset-value,
785785
$query: $query

packages/mdc-icon-button/_icon-button-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ $light-theme: (
422422
$offset
423423
);
424424

425-
@if type-of($offset-value) == 'number' {
425+
@if meta.type-of($offset-value) == 'number' {
426426
.mdc-icon-button__focus-ring {
427427
@include focus-ring.focus-ring-offset(
428428
$offset: $offset-value,

0 commit comments

Comments
 (0)