mirror of
https://github.com/material-components/material-web.git
synced 2024-09-11 13:46:10 +03:00
35 lines
710 B
SCSS
35 lines
710 B
SCSS
//
|
|
// Copyright 2023 Google LLC
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
// go/keep-sorted start
|
|
@use './values';
|
|
// go/keep-sorted end
|
|
|
|
$supported-tokens: (
|
|
// go/keep-sorted start
|
|
'font',
|
|
'size',
|
|
// go/keep-sorted end
|
|
);
|
|
|
|
@function _get-new-tokens($exclude-hardcoded-values) {
|
|
@return (
|
|
// go/keep-sorted start
|
|
font: if($exclude-hardcoded-values, null, 'Material Symbols Outlined'),
|
|
size: if($exclude-hardcoded-values, null, 24px),
|
|
// go/keep-sorted end
|
|
);
|
|
}
|
|
|
|
@function values($exclude-hardcoded-values: false) {
|
|
$tokens: values.validate(
|
|
(),
|
|
$supported-tokens: $supported-tokens,
|
|
$new-tokens: _get-new-tokens($exclude-hardcoded-values)
|
|
);
|
|
|
|
@return $tokens;
|
|
}
|