mirror of
https://github.com/material-components/material-web.git
synced 2024-09-11 21:57:41 +03:00
The naming is a bit backwards. The file is about validation and the function is for the token values, not a file just for token values. PiperOrigin-RevId: 599207580
113 lines
1.9 KiB
SCSS
113 lines
1.9 KiB
SCSS
//
|
|
// Copyright 2023 Google LLC
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
// go/keep-sorted start
|
|
@use './internal/validate';
|
|
@use './v0_192/md-ref-palette';
|
|
// go/keep-sorted end
|
|
|
|
$supported-tokens: (
|
|
// go/keep-sorted start
|
|
'black',
|
|
'error0',
|
|
'error10',
|
|
'error100',
|
|
'error20',
|
|
'error30',
|
|
'error40',
|
|
'error50',
|
|
'error60',
|
|
'error70',
|
|
'error80',
|
|
'error90',
|
|
'error95',
|
|
'error99',
|
|
'neutral-variant0',
|
|
'neutral-variant10',
|
|
'neutral-variant100',
|
|
'neutral-variant20',
|
|
'neutral-variant30',
|
|
'neutral-variant40',
|
|
'neutral-variant50',
|
|
'neutral-variant60',
|
|
'neutral-variant70',
|
|
'neutral-variant80',
|
|
'neutral-variant90',
|
|
'neutral-variant95',
|
|
'neutral-variant99',
|
|
'neutral0',
|
|
'neutral10',
|
|
'neutral100',
|
|
'neutral12',
|
|
'neutral17',
|
|
'neutral20',
|
|
'neutral22',
|
|
'neutral24',
|
|
'neutral30',
|
|
'neutral4',
|
|
'neutral40',
|
|
'neutral50',
|
|
'neutral6',
|
|
'neutral60',
|
|
'neutral70',
|
|
'neutral80',
|
|
'neutral87',
|
|
'neutral90',
|
|
'neutral92',
|
|
'neutral94',
|
|
'neutral95',
|
|
'neutral96',
|
|
'neutral98',
|
|
'neutral99',
|
|
'primary0',
|
|
'primary10',
|
|
'primary100',
|
|
'primary20',
|
|
'primary30',
|
|
'primary40',
|
|
'primary50',
|
|
'primary60',
|
|
'primary70',
|
|
'primary80',
|
|
'primary90',
|
|
'primary95',
|
|
'primary99',
|
|
'secondary0',
|
|
'secondary10',
|
|
'secondary100',
|
|
'secondary20',
|
|
'secondary30',
|
|
'secondary40',
|
|
'secondary50',
|
|
'secondary60',
|
|
'secondary70',
|
|
'secondary80',
|
|
'secondary90',
|
|
'secondary95',
|
|
'secondary99',
|
|
'tertiary0',
|
|
'tertiary10',
|
|
'tertiary100',
|
|
'tertiary20',
|
|
'tertiary30',
|
|
'tertiary40',
|
|
'tertiary50',
|
|
'tertiary60',
|
|
'tertiary70',
|
|
'tertiary80',
|
|
'tertiary90',
|
|
'tertiary95',
|
|
'tertiary99',
|
|
'white',
|
|
// go/keep-sorted end
|
|
);
|
|
|
|
@function values($exclude-hardcoded-values: false) {
|
|
@return validate.values(
|
|
md-ref-palette.values($exclude-hardcoded-values),
|
|
$supported-tokens: $supported-tokens
|
|
);
|
|
}
|