_id stringlengths 21 254 | text stringlengths 1 93.7k | metadata dict |
|---|---|---|
components/src/material/core/theming/_all-theme.scss_0_4906 | // Import all the theming functionality.
@use '../core-theme';
@use '../../autocomplete/autocomplete-theme';
@use '../../badge/badge-theme';
@use '../../bottom-sheet/bottom-sheet-theme';
@use '../../button/button-theme';
@use '../../button/icon-button-theme';
@use '../../button/fab-theme';
@use '../../button-toggle/but... | {
"end_byte": 4906,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/_all-theme.scss"
} |
components/src/material/core/theming/_theming.scss_0_7858 | @use 'sass:list';
@use 'sass:map';
@use 'sass:math';
@use 'sass:meta';
// Whether to enable compatibility with legacy methods for accessing theme information.
$theme-legacy-inspection-api-compatibility: true !default;
// Whether duplication warnings should be disabled. Warnings enabled by default.
$theme-ignore-dupli... | {
"end_byte": 7858,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/_theming.scss"
} |
components/src/material/core/theming/_theming.scss_7859_16167 | {
$theme: private-legacy-get-theme($theme-or-color-config);
$color-config: map.get($theme, $private-internal-name, m2-config, color) or
private-get-color-config($theme);
$density-config: map.get($theme, $private-internal-name, m2-config, density) or
private-get-density-config($theme);
$typography-config... | {
"end_byte": 16167,
"start_byte": 7859,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/_theming.scss"
} |
components/src/material/core/theming/_theming.scss_16168_16662 | // 'minimum' and 'maximum' are converted to the given min or max number respectively.
@function clamp-density($density-scale, $min, $max: 0) {
@if $density-scale == minimum {
@return $min;
}
@if $density-scale == maximum {
@return $max;
}
@if meta.type-of($density-scale) != 'number' or not math.is-uni... | {
"end_byte": 16662,
"start_byte": 16168,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/_theming.scss"
} |
components/src/material/core/theming/_validation.scss_0_74 | @mixin selector-defined($msg) {
@if #{&} == '' {
@error $msg;
}
}
| {
"end_byte": 74,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/_validation.scss"
} |
components/src/material/core/theming/_theming-deprecated.scss_0_1038 | @use '../m2/theming' as m2-theming;
@use '../m2/palette' as m2-palette;
// @deprecated Use `get-color-from-palette`.
@function color($palette, $hue: default, $opacity: null) {
@return m2-theming.get-color-from-palette($palette, $hue, $opacity);
}
// @deprecated Use `get-contrast-color-from-palette`.
@function contr... | {
"end_byte": 1038,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/_theming-deprecated.scss"
} |
components/src/material/core/theming/tests/test-theming-bundle.scss_0_7417 | // Imports the theming bundle. Needs to be an absolute bin-dir import path as on Windows,
// runfiles are not symlinked, so the Sass compilation happens in the workspace directory
// with the include paths being set to the `bazel-bin` directory.
@use 'src/material' as mat;
// Disable theme style duplication warnings. ... | {
"end_byte": 7417,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/tests/test-theming-bundle.scss"
} |
components/src/material/core/theming/tests/theming-definition-api.spec.ts_0_1461 | import {parse} from 'postcss';
import {compileString} from 'sass';
import {runfiles} from '@bazel/runfiles';
import * as path from 'path';
import {createLocalAngularPackageImporter} from '../../../../../tools/sass/local-sass-importer';
// Note: For Windows compatibility, we need to resolve the directory paths through... | {
"end_byte": 1461,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/tests/theming-definition-api.spec.ts"
} |
components/src/material/core/theming/tests/theming-definition-api.spec.ts_1463_9165 | describe('theming definition api', () => {
describe('define-theme', () => {
it('should fill in defaults', () => {
const css = transpile(`
$theme: mat.define-theme();
$data: map.get($theme, $internals);
:root {
--keys: #{map.keys($data)};
--version: #{map.get($data... | {
"end_byte": 9165,
"start_byte": 1463,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/tests/theming-definition-api.spec.ts"
} |
components/src/material/core/theming/tests/theming-definition-api.spec.ts_9169_10652 | describe('define-colors', () => {
it('should omit non-color info', () => {
const css = transpile(`
$theme: mat.define-colors();
$data: map.get($theme, $internals);
:root {
--keys: #{map.keys($data)};
}
`);
const vars = getRootVars(css);
expect(vars['... | {
"end_byte": 10652,
"start_byte": 9169,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/tests/theming-definition-api.spec.ts"
} |
components/src/material/core/theming/tests/test-css-variables-theme.scss_0_1193 | @use 'sass:map';
@use 'sass:meta';
@use '../all-theme';
@use '../../m2/typography' as m2-typography;
@use '../../m2/palette' as m2-palette;
@use '../../m2/theming' as m2-theming;
// Recursively replaces all of the values inside a Sass map with a different value.
@function _replace-all-values($palette, $replacement) {
... | {
"end_byte": 1193,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/tests/test-css-variables-theme.scss"
} |
components/src/material/core/theming/tests/test-theming-api.scss_0_8339 | @use 'sass:map';
@use '../../density/private/all-density';
@use '../../color/all-color';
@use '../../typography/all-typography';
@use '../all-theme';
@use '../../typography/typography';
@use '../theming';
@use '../../m2/typography' as m2-typography;
@use '../../m2/palette' as m2-palette;
@use '../../m2/theming' as m2-t... | {
"end_byte": 8339,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/tests/test-theming-api.scss"
} |
components/src/material/core/theming/tests/test-theming-api.scss_8341_14049 | // Test which ensures that typography configurations can be properly read from
// theme objects passed to individual component theme mixins.
@mixin test-get-typography-config() {
$no-typography-light-theme: m2-theming.define-light-theme((density: null));
$no-typography-dark-theme: m2-theming.define-dark-theme((dens... | {
"end_byte": 14049,
"start_byte": 8341,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/tests/test-theming-api.scss"
} |
components/src/material/core/theming/tests/test-typography-font-family.scss_0_6243 | @use 'sass:string';
@use 'sass:map';
@use 'sass:meta';
@use '../../m2/typography' as m2-typography;
$_font-family: string.unquote('Roboto, sans-serif');
@function assert-font-family($test-name, $obj, $expected) {
@each $level-name, $level in $obj {
@if (meta.type-of($level) == 'map' and map.get($level, 'font-fa... | {
"end_byte": 6243,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/tests/test-typography-font-family.scss"
} |
components/src/material/core/theming/tests/m3-theme.spec.ts_0_8633 | import {runfiles} from '@bazel/runfiles';
import * as path from 'path';
import {parse} from 'postcss';
import {compileString} from 'sass';
import {createLocalAngularPackageImporter} from '../../../../../tools/sass/local-sass-importer';
// Note: For Windows compatibility, we need to resolve the directory paths through... | {
"end_byte": 8633,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/tests/m3-theme.spec.ts"
} |
components/src/material/core/theming/tests/theming-inspection-api.spec.ts_0_7746 | import {compileString} from 'sass';
import {runfiles} from '@bazel/runfiles';
import * as path from 'path';
import {createLocalAngularPackageImporter} from '../../../../../tools/sass/local-sass-importer';
// Note: For Windows compatibility, we need to resolve the directory paths through runfiles
// which are guarante... | {
"end_byte": 7746,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/tests/theming-inspection-api.spec.ts"
} |
components/src/material/core/theming/tests/theming-inspection-api.spec.ts_7750_15228 | describe('for m3 theme', () => {
it('should get theme version', () => {
expect(
transpile(`
$theme: mat.define-theme();
div {
--theme-version: #{mat.get-theme-version($theme)};
}
`),
).toMatch('--theme-version: 1;');
});
it('should get t... | {
"end_byte": 15228,
"start_byte": 7750,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/tests/theming-inspection-api.spec.ts"
} |
components/src/material/core/theming/tests/BUILD.bazel_0_2205 | load("//tools:defaults.bzl", "jasmine_node_test", "sass_binary", "ts_library")
load("@bazel_skylib//rules:build_test.bzl", "build_test")
package(default_visibility = ["//visibility:public"])
# Test theme used to ensure that our themes will compile using CSS variables in
# the palettes.
sass_binary(
name = "test-c... | {
"end_byte": 2205,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/tests/BUILD.bazel"
} |
components/src/material/core/theming/tests/theming-typography-hierarchy.spec.ts_0_2682 | import {compileString} from 'sass';
import {runfiles} from '@bazel/runfiles';
import * as path from 'path';
import {createLocalAngularPackageImporter} from '../../../../../tools/sass/local-sass-importer';
// Note: For Windows compatibility, we need to resolve the directory paths through runfiles
// which are guarante... | {
"end_byte": 2682,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/tests/theming-typography-hierarchy.spec.ts"
} |
components/src/material/core/theming/tests/theming-mixin-api.spec.ts_0_773 | import {parse, Root, Rule} from 'postcss';
import {compileString} from 'sass';
import {runfiles} from '@bazel/runfiles';
import * as path from 'path';
import {compareNodes} from '../../../../../tools/postcss/compare-nodes';
import {createLocalAngularPackageImporter} from '../../../../../tools/sass/local-sass-importer'... | {
"end_byte": 773,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/tests/theming-mixin-api.spec.ts"
} |
components/src/material/core/theming/tests/theming-mixin-api.spec.ts_774_9286 | {
/** Map of known selectors for density styles and their corresponding AST rule. */
let knownDensitySelectors: Map<string, Rule>;
// Before all tests, we collect all nodes specific to density styles. We can then
// use this check how density styles are generated. i.e. if they are properly scoped to a
// giv... | {
"end_byte": 9286,
"start_byte": 774,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/tests/theming-mixin-api.spec.ts"
} |
components/src/material/core/theming/tests/theming-mixin-api.spec.ts_9289_9581 | function getMatchingWarning(message: RegExp) {
const writeSpy = process.stderr.write as jasmine.Spy;
return (writeSpy.calls?.all() ?? []).find(
(s: jasmine.CallInfo<typeof process.stderr.write>) =>
typeof s.args[0] === 'string' && message.test(s.args[0]),
);
}
}); | {
"end_byte": 9581,
"start_byte": 9289,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/tests/theming-mixin-api.spec.ts"
} |
components/src/material/core/theming/prebuilt/magenta-violet.scss_0_655 | @use '../../theming/definition';
@use '../../theming/color-api-backwards-compatibility';
@use '../../theming/palettes';
@use '../all-theme';
@use '../../core';
@use '../../typography/typography';
@include core.app-background();
@include core.elevation-classes();
$theme: definition.define-theme((
color: (
theme-... | {
"end_byte": 655,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/prebuilt/magenta-violet.scss"
} |
components/src/material/core/theming/prebuilt/deeppurple-amber.scss_0_606 | @use '../all-theme';
@use '../../core';
@use '../../m2';
@use '../../typography/typography';
@include core.app-background();
@include core.elevation-classes();
// Define a theme.
$primary: m2.define-palette(m2.$deep-purple-palette);
$accent: m2.define-palette(m2.$amber-palette, A200, A100, A400);
$theme: m2.define-... | {
"end_byte": 606,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/prebuilt/deeppurple-amber.scss"
} |
components/src/material/core/theming/prebuilt/indigo-pink.scss_0_599 | @use '../all-theme';
@use '../../core';
@use '../../m2';
@use '../../typography/typography';
@include core.app-background();
@include core.elevation-classes();
// Define a theme.
$primary: m2.define-palette(m2.$indigo-palette);
$accent: m2.define-palette(m2.$pink-palette, A200, A100, A400);
$theme: m2.define-light-... | {
"end_byte": 599,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/prebuilt/indigo-pink.scss"
} |
components/src/material/core/theming/prebuilt/rose-red.scss_0_650 | @use '../../theming/definition';
@use '../../theming/color-api-backwards-compatibility';
@use '../../theming/palettes';
@use '../all-theme';
@use '../../core';
@use '../../typography/typography';
@include core.app-background();
@include core.elevation-classes();
$theme: definition.define-theme((
color: (
theme-... | {
"end_byte": 650,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/prebuilt/rose-red.scss"
} |
components/src/material/core/theming/prebuilt/pink-bluegrey.scss_0_616 | @use '../all-theme';
@use '../../core';
@use '../../m2';
@use '../../typography/typography';
@include core.app-background();
@include core.elevation-classes();
// Define a theme.
$primary: m2.define-palette(m2.$pink-palette, 700, 500, 900);
$accent: m2.define-palette(m2.$blue-grey-palette, A200, A100, A400);
$theme... | {
"end_byte": 616,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/prebuilt/pink-bluegrey.scss"
} |
components/src/material/core/theming/prebuilt/purple-green.scss_0_614 | @use '../all-theme';
@use '../../core';
@use '../../m2';
@use '../../typography/typography';
@include core.app-background();
@include core.elevation-classes();
// Define a theme.
$primary: m2.define-palette(m2.$purple-palette, 700, 500, 800);
$accent: m2.define-palette(m2.$green-palette, A200, A100, A400);
$theme: ... | {
"end_byte": 614,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/prebuilt/purple-green.scss"
} |
components/src/material/core/theming/prebuilt/azure-blue.scss_0_652 | @use '../../theming/definition';
@use '../../theming/color-api-backwards-compatibility';
@use '../../theming/palettes';
@use '../all-theme';
@use '../../core';
@use '../../typography/typography';
@include core.app-background();
@include core.elevation-classes();
$theme: definition.define-theme((
color: (
theme-... | {
"end_byte": 652,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/prebuilt/azure-blue.scss"
} |
components/src/material/core/theming/prebuilt/cyan-orange.scss_0_652 | @use '../../theming/definition';
@use '../../theming/color-api-backwards-compatibility';
@use '../../theming/palettes';
@use '../all-theme';
@use '../../core';
@use '../../typography/typography';
@include core.app-background();
@include core.elevation-classes();
$theme: definition.define-theme((
color: (
theme-... | {
"end_byte": 652,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/theming/prebuilt/cyan-orange.scss"
} |
components/src/material/core/private/ripple-loader.ts_0_7093 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {DOCUMENT} from '@angular/common';
import {
ANIMATION_MODULE_TYPE,
Injectable,
Injector,
NgZone,
On... | {
"end_byte": 7093,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/private/ripple-loader.ts"
} |
components/src/material/core/private/index.ts_0_253 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
export {MatRippleLoader} from './ripple-loader';
| {
"end_byte": 253,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/private/index.ts"
} |
components/src/material/core/line/line.ts_0_1793 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {NgModule, Directive, ElementRef, QueryList} from '@angular/core';
import {startWith} from 'rxjs/operators';
... | {
"end_byte": 1793,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/line/line.ts"
} |
components/src/material/core/m2/_index.scss_0_1215 | // M2-specific theming APIs which are separated out into this file so they
// can be renamed conditionally depending on whether we're in 1P or 3P.
@forward './theming' show
define-light-theme,
define-dark-theme,
define-palette,
get-contrast-color-from-palette,
get-color-from-palette,
get-color-config,
get... | {
"end_byte": 1215,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/m2/_index.scss"
} |
components/src/material/core/m2/_palette.scss_0_4995 | @use 'sass:map';
// Color palettes from the Material Design spec.
// See https://material.io/design/color/
//
// Contrast colors are hard-coded because it is too difficult (probably impossible) to
// calculate them. These contrast colors are pulled from the public Material Design spec swatches.
// While the contrast co... | {
"end_byte": 4995,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/m2/_palette.scss"
} |
components/src/material/core/m2/_palette.scss_4997_9766 | $blue-palette: (
50: #e3f2fd,
100: #bbdefb,
200: #90caf9,
300: #64b5f6,
400: #42a5f5,
500: #2196f3,
600: #1e88e5,
700: #1976d2,
800: #1565c0,
900: #0d47a1,
A100: #82b1ff,
A200: #448aff,
A400: #2979ff,
A700: #2962ff,
contrast: (
50: $dark-primary-text,
100: $dark-primary-text,
2... | {
"end_byte": 9766,
"start_byte": 4997,
"url": "https://github.com/angular/components/blob/main/src/material/core/m2/_palette.scss"
} |
components/src/material/core/m2/_palette.scss_9768_14707 | $yellow-palette: (
50: #fffde7,
100: #fff9c4,
200: #fff59d,
300: #fff176,
400: #ffee58,
500: #ffeb3b,
600: #fdd835,
700: #fbc02d,
800: #f9a825,
900: #f57f17,
A100: #ffff8d,
A200: #ffff00,
A400: #ffea00,
A700: #ffd600,
contrast: (
50: $dark-primary-text,
100: $dark-primary-text,
... | {
"end_byte": 14707,
"start_byte": 9768,
"url": "https://github.com/angular/components/blob/main/src/material/core/m2/_palette.scss"
} |
components/src/material/core/m2/_palette.scss_14708_17385 | $light-theme-background-palette: (
status-bar: map.get($grey-palette, 300),
app-bar: map.get($grey-palette, 100),
background: map.get($grey-palette, 50),
hover: rgba(black, 0.04), // TODO(kara): check style with Material Design UX
card: white,
dialog: white,
disabled-button: rgba(black, ... | {
"end_byte": 17385,
"start_byte": 14708,
"url": "https://github.com/angular/components/blob/main/src/material/core/m2/_palette.scss"
} |
components/src/material/core/m2/_typography.scss_0_6312 | @use 'sass:map';
@use 'sass:math';
@use 'sass:meta';
@use 'sass:string';
$_default-font-family: string.unquote('Roboto, sans-serif');
@function _px-to-rem($px) {
@return math.div($px, 16px) * 1rem;
}
@function _get-letter-spacing($tracking, $font-size) {
@return math.div($tracking, $font-size * 16) * 1em;
}
$_m... | {
"end_byte": 6312,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/m2/_typography.scss"
} |
components/src/material/core/m2/_typography.scss_6312_13252 | (
$font-family: 'Roboto, "Helvetica Neue", sans-serif',
$display-4: define-typography-level(112px, 112px, 300, $letter-spacing: -0.05em),
$display-3: define-typography-level(56px, 56px, 400, $letter-spacing: -0.02em),
$display-2: define-typography-level(45px, 48px, 400, $letter-spacing: -0.005em),... | {
"end_byte": 13252,
"start_byte": 6312,
"url": "https://github.com/angular/components/blob/main/src/material/core/m2/_typography.scss"
} |
components/src/material/core/m2/_typography.scss_13253_16287 | @function define-rem-typography-config(
// TODO(mmalerba): rename this function to define-typography-config,
// and create a predefined px based config for people that need it.
$font-family: $_default-font-family,
$headline-1: null,
$headline-2: null,
$headline-3: null,
$headline-4: null,
$headline-5: ... | {
"end_byte": 16287,
"start_byte": 13253,
"url": "https://github.com/angular/components/blob/main/src/material/core/m2/_typography.scss"
} |
components/src/material/core/m2/_typography-utils.scss_0_2891 | @use 'sass:map';
@use 'sass:meta';
@use 'sass:string';
/// Emits CSS styles for the given typography level.
/// @param {Map} $config A typography config.
/// @param {Map} $level A typography level.
@mixin typography-level($config, $level) {
// we deliberately do not use the font shorthand here because it overrides
... | {
"end_byte": 2891,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/m2/_typography-utils.scss"
} |
components/src/material/core/m2/_theming.scss_0_5975 | @use 'sass:list';
@use 'sass:map';
@use 'sass:meta';
@use '../theming/theming';
@use './palette';
/// Extracts a color from a palette or throws an error if it doesn't exist.
/// @param {Map} $palette The palette from which to extract a color.
/// @param {String | Number} $hue The hue for which to get the color.
@funct... | {
"end_byte": 5975,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/m2/_theming.scss"
} |
components/src/material/core/m2/_theming.scss_5976_13796 | @function define-light-theme($primary, $accent: null, $warn: define-palette(palette.$red-palette)) {
// This function creates a container object for the individual component theme mixins. Consumers
// can construct such an object by calling this function, or by building the object manually.
// There are two possi... | {
"end_byte": 13796,
"start_byte": 5976,
"url": "https://github.com/angular/components/blob/main/src/material/core/m2/_theming.scss"
} |
components/src/material/core/m2/_theming.scss_13797_14325 | @function _replace-values-with-errors($value, $message) {
$value-type: meta.type-of($value);
@if $value-type == 'map' {
@each $k, $v in $value {
$value: map.set($value, $k, _replace-values-with-errors($v, $message));
}
@return $value;
}
@else if $value-type == 'list' and list.length($value) > ... | {
"end_byte": 14325,
"start_byte": 13797,
"url": "https://github.com/angular/components/blob/main/src/material/core/m2/_theming.scss"
} |
components/src/material/core/typography/_typography.scss_0_5947 | @use 'sass:list';
@use 'sass:map';
@use 'sass:string';
@use 'typography-utils';
@use '../theming/inspection';
// Definition and versioning functions live in their own files to avoid circular dependencies, but
// we re-export them here so that historical imports from this file continue to work without needing
// to be ... | {
"end_byte": 5947,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/typography/_typography.scss"
} |
components/src/material/core/typography/_typography.scss_5947_8564 | .font-shorthand(
// calc is used here to support css variables
calc(#{inspection.get-theme-typography($theme, body-2, font-size)} * 0.83),
inspection.get-theme-typography($theme, body-2, font-weight),
inspection.get-theme-typography($theme, body-2, line-height),
inspection.get-theme-typog... | {
"end_byte": 8564,
"start_byte": 5947,
"url": "https://github.com/angular/components/blob/main/src/material/core/typography/_typography.scss"
} |
components/src/material/core/typography/_typography-utils.scss_0_1291 | @use 'sass:list';
/// Outputs the shorthand `font` CSS property, based on a set of typography values. Falls back to
/// the individual properties if a value that isn't allowed in the shorthand is passed in.
/// @param {String} $font-size The font-size value.
/// @param {String | Number} $font-weight The font-weight va... | {
"end_byte": 1291,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/typography/_typography-utils.scss"
} |
components/src/material/core/typography/_versioning.scss_0_3844 | @use 'sass:map';
@use '../m2/typography' as m2-typography;
// Whether a config is for the Material Design 2018 typography system.
@function private-typography-is-2018-config($config) {
@return map.get($config, headline-1) != null;
}
// Whether a config is for the Material Design 2014 typography system.
@function pr... | {
"end_byte": 3844,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/typography/_versioning.scss"
} |
components/src/material/core/typography/_typography-utils-deprecated.scss_0_172 | @use 'typography-utils';
// @deprecated Use `typography-level`.
@mixin level-to-styles($config, $level) {
@include typography-utils.typography-level($config, $level);
}
| {
"end_byte": 172,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/typography/_typography-utils-deprecated.scss"
} |
components/src/material/core/typography/_all-typography.scss_0_4458 | @use './typography';
@use '../m2/typography' as m2-typography;
@use '../../autocomplete/autocomplete-theme';
@use '../../badge/badge-theme';
@use '../../bottom-sheet/bottom-sheet-theme';
@use '../../button/button-theme';
@use '../../button/icon-button-theme';
@use '../../button/fab-theme';
@use '../../button-toggle/but... | {
"end_byte": 4458,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/typography/_all-typography.scss"
} |
components/src/material/core/selection/index.ts_0_313 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
export * from './pseudo-checkbox/pseudo-checkbox';
export * from './pseudo-checkbox/pseudo-checkbox-module';
| {
"end_byte": 313,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/selection/index.ts"
} |
components/src/material/core/selection/pseudo-checkbox/_pseudo-checkbox-common.scss_0_3085 | @use 'sass:math';
@use '../../style/checkbox-common';
// Padding inside of a pseudo checkbox.
$padding: checkbox-common.$border-width * 2;
// Center a checkmark indicator inside the checkbox.
//
// `$box-size`: size of the checkbox
// `$mark-size`: size of the checkmark indicator
@mixin _checkbox-checked-styles-with-... | {
"end_byte": 3085,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/selection/pseudo-checkbox/_pseudo-checkbox-common.scss"
} |
components/src/material/core/selection/pseudo-checkbox/pseudo-checkbox.ts_0_2534 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {
Component,
ViewEncapsulation,
Input,
ChangeDetectionStrategy,
ANIMATION_MODULE_TYPE,
inject,
} ... | {
"end_byte": 2534,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/selection/pseudo-checkbox/pseudo-checkbox.ts"
} |
components/src/material/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss_0_5240 | @use '../../theming/theming';
@use '../../theming/inspection';
@use '../../theming/validation';
@use '../../style/sass-utils';
@use '../../tokens/token-utils';
@use '../../tokens/m2/mat/full-pseudo-checkbox' as tokens-mat-full-pseudo-checkbox;
@use '../../tokens/m2/mat/minimal-pseudo-checkbox' as tokens-mat-minimal-pse... | {
"end_byte": 5240,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss"
} |
components/src/material/core/selection/pseudo-checkbox/pseudo-checkbox-module.ts_0_504 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {NgModule} from '@angular/core';
import {MatPseudoCheckbox} from './pseudo-checkbox';
import {MatCommonModule... | {
"end_byte": 504,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/selection/pseudo-checkbox/pseudo-checkbox-module.ts"
} |
components/src/material/core/selection/pseudo-checkbox/pseudo-checkbox.scss_0_3212 | @use 'sass:math';
@use '../../style/checkbox-common';
@use '../../style/private';
@use '../../style/variables';
@use '../../tokens/token-utils';
@use '../../tokens/m2/mat/full-pseudo-checkbox' as tokens-mat-full-pseudo-checkbox;
@use '../../tokens/m2/mat/minimal-pseudo-checkbox' as tokens-mat-minimal-pseudo-checkbox;
@... | {
"end_byte": 3212,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/selection/pseudo-checkbox/pseudo-checkbox.scss"
} |
components/src/material/core/error/error-options.ts_0_1048 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {Injectable} from '@angular/core';
import {FormGroupDirective, NgForm, AbstractControl} from '@angular/forms'... | {
"end_byte": 1048,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/error/error-options.ts"
} |
components/src/material/core/tokens/_token-utils.scss_0_7663 | @use '../style/elevation';
@use '../style/sass-utils';
@use './m3-system';
@use 'sass:list';
@use 'sass:map';
@use 'sass:string';
$_tokens: null;
$_component-prefix: null;
$_system-fallbacks: m3-system.create-system-fallbacks();
// Sets the token prefix and map to use when creating token slots.
@mixin use-tokens($pre... | {
"end_byte": 7663,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/_token-utils.scss"
} |
components/src/material/core/tokens/_token-utils.scss_7666_10844 | @return if($emit-overrides-only, $overrides, map.merge($values, $overrides));
}
/// Emits new token values for the given token overrides.
/// Verifies that the overrides passed in are valid tokens.
/// New token values are emitted under the current selector or root.
@mixin batch-create-token-values($overrides: (), $na... | {
"end_byte": 10844,
"start_byte": 7666,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/_token-utils.scss"
} |
components/src/material/core/tokens/_m3-tokens.scss_0_6957 | @use 'sass:map';
@use '../style/sass-utils';
@use '../m2' as m2-theming;
@use './m3';
@use './m3/definitions' as m3-token-definitions;
@use '../tokens/m2' as m2-tokens;
@use './density';
@use './format-tokens';
/// Generates tokens for the given palette with the given prefix.
/// @param {Map} $palette The palette to g... | {
"end_byte": 6957,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/_m3-tokens.scss"
} |
components/src/material/core/tokens/_m3-tokens.scss_6959_13281 | @function _get-sys-typeface($ref, $prefix) {
@if (sass-utils.$use-system-typography-variables) {
$keys: (
'body-large',
'body-large-font',
'body-large-line-height',
'body-large-size',
'body-large-tracking',
'body-large-weight',
'b... | {
"end_byte": 13281,
"start_byte": 6959,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/_m3-tokens.scss"
} |
components/src/material/core/tokens/_format-tokens.scss_0_120 | // DO NOT REMOVE
// This function is used internally.
@function private-format-tokens($systems) {
@return $systems;
}
| {
"end_byte": 120,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/_format-tokens.scss"
} |
components/src/material/core/tokens/_density.scss_0_6183 | @use 'sass:list';
@use 'sass:map';
@use '../theming/theming';
/// Maps namespaced tokens to per-density-scale values.
/// This is used as a temporary solution for density, since Material Design currently does not have
/// systemized density.
/// Format:
/// (
/// (mdc, comp): (
/// token: (<scale 0 value>, <scal... | {
"end_byte": 6183,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/_density.scss"
} |
components/src/material/core/tokens/_m3-system.scss_0_7079 | @use '../style/elevation';
@use '../style/sass-utils';
@use '../theming/config-validation';
@use '../theming/definition';
@use './m3/definitions';
@use 'sass:map';
@use 'sass:meta';
@use 'sass:list';
@use './m3-tokens';
/// Emits necessary CSS variables for Material's system level values for the values defined in the
... | {
"end_byte": 7079,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/_m3-system.scss"
} |
components/src/material/core/tokens/_m3-system.scss_7081_10965 | @mixin system-level-typography($theme, $overrides: (), $prefix: null) {
$font-definition: map.get($theme, _mat-theming-internals-do-not-access, font-definition);
$brand: map.get($font-definition, brand);
$plain: map.get($font-definition, plain);
$bold: map.get($font-definition, bold);
$medium: map.get($font-d... | {
"end_byte": 10965,
"start_byte": 7081,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/_m3-system.scss"
} |
components/src/material/core/tokens/_token-definition.scss_0_6936 | @use 'sass:color';
@use 'sass:list';
@use 'sass:map';
@use 'sass:meta';
@use 'sass:math';
@use '../m2/palette' as m2-palette;
@use '../m2/theming' as m2-theming;
@use '../m2/typography' as m2-typography;
@use '../style/sass-utils';
@use './m3/definitions' as m3-token-definitions;
// Indicates whether we're building in... | {
"end_byte": 6936,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/_token-definition.scss"
} |
components/src/material/core/tokens/_token-definition.scss_6937_10462 | @function combine-color-tokens($tokens, $opacity-lookup, $pairs) {
$result: $tokens;
@each $pair in $pairs {
$color-key: map.get($pair, color);
$opacity-key: map.get($pair, opacity);
$color: map.get($tokens, $color-key);
@if (sass-utils.is-css-var-name($color)) {
$color: var(#{$color});
... | {
"end_byte": 10462,
"start_byte": 6937,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/_token-definition.scss"
} |
components/src/material/core/tokens/m2/_index.scss_0_4081 | @use 'sass:map';
@use 'sass:meta';
@use '../../style/sass-utils';
@use './mat/app' as tokens-mat-app;
@use './mat/autocomplete' as tokens-mat-autocomplete;
@use './mat/badge' as tokens-mat-badge;
@use './mat/text-button' as tokens-mat-text-button;
@use './mat/protected-button' as tokens-mat-protected-button;
@use './ma... | {
"end_byte": 4081,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/_index.scss"
} |
components/src/material/core/tokens/m2/_index.scss_4082_9761 | @function _get-tokens-for-module-and-system($theme, $module, $system) {
@if $system == unthemable {
@return meta.call(meta.get-function(get-#{$system}-tokens, $module: $module));
}
@if not inspection.theme-has($theme, $system) {
@return ();
}
@return meta.call(meta.get-function(get-#{$system}-tokens, ... | {
"end_byte": 9761,
"start_byte": 4082,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/_index.scss"
} |
components/src/material/core/tokens/m2/mdc/_checkbox.scss_0_6583 | @use 'sass:map';
@use '../../../m2/palette' as m2-palette;
@use '../../../m2/theming' as m2-theming;
@use '../../../theming/theming';
@use '../../../theming/inspection';
@use '../../../style/sass-utils';
@use '../../token-definition';
// The prefix used to generate the fully qualified name for tokens in this file.
$pr... | {
"end_byte": 6583,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mdc/_checkbox.scss"
} |
components/src/material/core/tokens/m2/mdc/_extended-fab.scss_0_3192 | @use 'sass:map';
@use '../../token-definition';
@use '../../../style/elevation';
@use '../../../theming/inspection';
// The prefix used to generate the fully qualified name for tokens in this file.
$prefix: (mdc, extended-fab);
@function get-unthemable-tokens() {
@return (
container-height: 48px,
container-... | {
"end_byte": 3192,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mdc/_extended-fab.scss"
} |
components/src/material/core/tokens/m2/mdc/_filled-text-field.scss_0_7659 | @use 'sass:color';
@use 'sass:map';
@use 'sass:meta';
@use '../../../theming/inspection';
@use '../../../style/sass-utils';
@use '../../token-definition';
// The prefix used to generate the fully qualified name for tokens in this file.
$prefix: (mdc, filled-text-field);
// Tokens that can't be configured through Angu... | {
"end_byte": 7659,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mdc/_filled-text-field.scss"
} |
components/src/material/core/tokens/m2/mdc/_tab-indicator.scss_0_1763 | @use '../../../theming/inspection';
@use '../../../style/sass-utils';
@use '../../token-definition';
// The prefix used to generate the fully qualified name for tokens in this file.
$prefix: (mdc, tab-indicator);
// Tokens that can't be configured through Angular Material's current theming API,
// but may be in a fut... | {
"end_byte": 1763,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mdc/_tab-indicator.scss"
} |
components/src/material/core/tokens/m2/mdc/_outlined-card.scss_0_3351 | @use '../../../style/elevation';
@use '../../../theming/inspection';
@use '../../../style/sass-utils';
@use '../../token-definition';
// The prefix used to generate the fully qualified name for tokens in this file.
$prefix: (mdc, outlined-card);
// Tokens that can't be configured through Angular Material's current th... | {
"end_byte": 3351,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mdc/_outlined-card.scss"
} |
components/src/material/core/tokens/m2/mdc/_protected-button.scss_0_5078 | @use 'sass:map';
@use '../../token-definition';
@use '../../../style/sass-utils';
@use '../../../style/elevation';
@use '../../../theming/inspection';
@use '../../../theming/theming';
// The prefix used to generate the fully qualified name for tokens in this file.
$prefix: (mdc, protected-button);
// Tokens that can'... | {
"end_byte": 5078,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mdc/_protected-button.scss"
} |
components/src/material/core/tokens/m2/mdc/_radio.scss_0_3935 | @use 'sass:map';
@use '../../../m2/palette' as m2-palette;
@use '../../../m2/theming' as m2-theming;
@use '../../../theming/theming';
@use '../../../theming/inspection';
@use '../../../style/sass-utils';
@use '../../token-definition';
// The prefix used to generate the fully qualified name for tokens in this file.
$pr... | {
"end_byte": 3935,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mdc/_radio.scss"
} |
components/src/material/core/tokens/m2/mdc/_chip.scss_0_7149 | @use 'sass:color';
@use 'sass:map';
@use 'sass:meta';
@use '../../token-definition';
@use '../../../style/sass-utils';
@use '../../../theming/theming';
@use '../../../theming/inspection';
@use '../../../m2/palette' as m2-palette;
// The prefix used to generate the fully qualified name for tokens in this file.
$prefix:... | {
"end_byte": 7149,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mdc/_chip.scss"
} |
components/src/material/core/tokens/m2/mdc/_chip.scss_7150_11568 | @function get-color-tokens($theme, $palette-name: null) {
$foreground: null;
$background: null;
$state-layer-color: inspection.get-theme-color($theme, foreground, base);
$state-layer-opacity: 0.12; // 0.12 is a common value in Material Design for opacity.
@if $palette-name == null {
$is-dark: inspection.... | {
"end_byte": 11568,
"start_byte": 7150,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mdc/_chip.scss"
} |
components/src/material/core/tokens/m2/mdc/_text-button.scss_0_3626 | @use 'sass:map';
@use '../../token-definition';
@use '../../../style/sass-utils';
@use '../../../theming/inspection';
@use '../../../theming/theming';
// The prefix used to generate the fully qualified name for tokens in this file.
$prefix: (mdc, text-button);
// Tokens that can't be configured through Angular Materi... | {
"end_byte": 3626,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mdc/_text-button.scss"
} |
components/src/material/core/tokens/m2/mdc/_outlined-button.scss_0_4499 | @use 'sass:map';
@use '../../token-definition';
@use '../../../style/sass-utils';
@use '../../../theming/inspection';
@use '../../../theming/theming';
// The prefix used to generate the fully qualified name for tokens in this file.
$prefix: (mdc, outlined-button);
// Tokens that can't be configured through Angular Ma... | {
"end_byte": 4499,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mdc/_outlined-button.scss"
} |
components/src/material/core/tokens/m2/mdc/_elevated-card.scss_0_3037 | @use '../../../theming/inspection';
@use '../../../style/elevation';
@use '../../../style/sass-utils';
@use '../../token-definition';
// The prefix used to generate the fully qualified name for tokens in this file.
$prefix: (mdc, elevated-card);
// Tokens that can't be configured through Angular Material's current th... | {
"end_byte": 3037,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mdc/_elevated-card.scss"
} |
components/src/material/core/tokens/m2/mdc/_dialog.scss_0_4626 | @use '../../../theming/inspection';
@use '../../../style/sass-utils';
@use '../../token-definition';
// The prefix used to generate the fully qualified name for tokens in this file.
$prefix: (mdc, dialog);
// Tokens that can't be configured through Angular Material's current theming API,
// but may be in a future ver... | {
"end_byte": 4626,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mdc/_dialog.scss"
} |
components/src/material/core/tokens/m2/mdc/_linear-progress.scss_0_2112 | @use '../../../theming/inspection';
@use '../../../style/sass-utils';
@use '../../token-definition';
@use 'sass:color';
@use 'sass:meta';
// The prefix used to generate the fully qualified name for tokens in this file.
$prefix: (mdc, linear-progress);
// Tokens that can't be configured through Angular Material's curr... | {
"end_byte": 2112,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mdc/_linear-progress.scss"
} |
components/src/material/core/tokens/m2/mdc/_outlined-text-field.scss_0_6862 | @use 'sass:map';
@use '../../../theming/inspection';
@use '../../../style/sass-utils';
@use '../../token-definition';
// The prefix used to generate the fully qualified name for tokens in this file.
$prefix: (mdc, outlined-text-field);
// Tokens that can't be configured through Angular Material's current theming API,... | {
"end_byte": 6862,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mdc/_outlined-text-field.scss"
} |
components/src/material/core/tokens/m2/mdc/_filled-button.scss_0_4710 | @use 'sass:map';
@use '../../token-definition';
@use '../../../style/sass-utils';
@use '../../../theming/inspection';
@use '../../../theming/theming';
// The prefix used to generate the fully qualified name for tokens in this file.
$prefix: (mdc, filled-button);
// Tokens that can't be configured through Angular Mate... | {
"end_byte": 4710,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mdc/_filled-button.scss"
} |
components/src/material/core/tokens/m2/mdc/_list.scss_0_6897 | @use 'sass:map';
@use '../../../theming/inspection';
@use '../../../style/sass-utils';
@use '../../token-definition';
// The prefix used to generate the fully qualified name for tokens in this file.
$prefix: (mdc, list);
// Tokens that can't be configured through Angular Material's current theming API,
// but may be ... | {
"end_byte": 6897,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mdc/_list.scss"
} |
components/src/material/core/tokens/m2/mdc/_list.scss_6898_10600 | @function get-typography-tokens($theme) {
@return (
// Font family of the list item primary text.
list-item-label-text-font: inspection.get-theme-typography($theme, body-1, font-family),
// Line height of the list item primary text.
list-item-label-text-line-height: inspection.get-theme-typography($th... | {
"end_byte": 10600,
"start_byte": 6898,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mdc/_list.scss"
} |
components/src/material/core/tokens/m2/mdc/_snack-bar.scss_0_3844 | @use 'sass:meta';
@use 'sass:color';
@use '../../../theming/inspection';
@use '../../token-definition';
@use '../../../style/sass-utils';
// The prefix used to generate the fully qualified name for tokens in this file.
$prefix: (mdc, snackbar);
// Tokens that can't be configured through Angular Material's current the... | {
"end_byte": 3844,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mdc/_snack-bar.scss"
} |
components/src/material/core/tokens/m2/mdc/_secondary-navigation-tab.scss_0_3200 | @use 'sass:map';
@use '../../../theming/theming';
@use '../../../theming/inspection';
@use '../../../style/sass-utils';
@use '../../token-definition';
// The prefix used to generate the fully qualified name for tokens in this file.
$prefix: (mdc, secondary-navigation-tab);
// Tokens that can't be configured through A... | {
"end_byte": 3200,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mdc/_secondary-navigation-tab.scss"
} |
components/src/material/core/tokens/m2/mdc/_slider.scss_0_5811 | @use 'sass:map';
@use '../../../theming/inspection';
@use '../../token-definition';
@use '../../../style/elevation';
@use '../../../style/sass-utils';
// The prefix used to generate the fully qualified name for tokens in this file.
$prefix: (mdc, slider);
// Tokens that can't be configured through Angular Material's ... | {
"end_byte": 5811,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mdc/_slider.scss"
} |
components/src/material/core/tokens/m2/mdc/_fab-small.scss_0_3051 | @use 'sass:map';
@use '../../../theming/inspection';
@use '../../../style/elevation';
@use '../../token-definition';
// The prefix used to generate the fully qualified name for tokens in this file.
$prefix: (mdc, fab-small);
@function get-unthemable-tokens() {
@return (
container-shape: 50%,
container-eleva... | {
"end_byte": 3051,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mdc/_fab-small.scss"
} |
components/src/material/core/tokens/m2/mdc/_circular-progress.scss_0_2558 | @use '../../../theming/inspection';
@use '../../../style/sass-utils';
@use '../../token-definition';
// The prefix used to generate the fully qualified name for tokens in this file.
$prefix: (mdc, circular-progress);
// Tokens that can't be configured through Angular Material's current theming API,
// but may be in a... | {
"end_byte": 2558,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mdc/_circular-progress.scss"
} |
components/src/material/core/tokens/m2/mdc/_icon-button.scss_0_3163 | @use 'sass:map';
@use '../../../style/sass-utils';
@use '../../../theming/theming';
@use '../../../theming/inspection';
@use '../../token-definition';
// The prefix used to generate the fully qualified name for tokens in this file.
$prefix: (mdc, icon-button);
// Tokens that can't be configured through Angular Materi... | {
"end_byte": 3163,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mdc/_icon-button.scss"
} |
components/src/material/core/tokens/m2/mdc/_plain-tooltip.scss_0_2452 | @use '../../../theming/inspection';
@use '../../../style/sass-utils';
@use '../../token-definition';
// The prefix used to generate the fully qualified name for tokens in this file.
$prefix: (mdc, plain-tooltip);
// Tokens that can't be configured through Angular Material's current theming API,
// but may be in a fut... | {
"end_byte": 2452,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mdc/_plain-tooltip.scss"
} |
components/src/material/core/tokens/m2/mdc/_fab.scss_0_3091 | @use 'sass:map';
@use '../../../theming/inspection';
@use '../../../style/elevation';
@use '../../token-definition';
// The prefix used to generate the fully qualified name for tokens in this file.
$prefix: (mdc, fab);
@function get-unthemable-tokens() {
@return (
container-shape: 50%,
container-elevation-s... | {
"end_byte": 3091,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mdc/_fab.scss"
} |
components/src/material/core/tokens/m2/mdc/_switch.scss_0_7938 | @use 'sass:map';
@use '../../../style/elevation';
@use '../../../style/sass-utils';
@use '../../../theming/inspection';
@use '../../../theming/theming';
@use '../../token-definition';
// The prefix used to generate the fully qualified name for tokens in this file.
$prefix: (mdc, switch);
// Tokens that can't be confi... | {
"end_byte": 7938,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mdc/_switch.scss"
} |
components/src/material/core/tokens/m2/mat/_tab-header.scss_0_3268 | @use '../../token-definition';
@use '../../../theming/inspection';
@use '../../../style/sass-utils';
// The prefix used to generate the fully qualified name for tokens in this file.
$prefix: (mat, tab-header);
// Tokens that can't be configured through Angular Material's current theming API,
// but may be in a future... | {
"end_byte": 3268,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mat/_tab-header.scss"
} |
components/src/material/core/tokens/m2/mat/_optgroup.scss_0_1783 | @use '../../token-definition';
@use '../../../theming/inspection';
@use '../../../style/sass-utils';
// The prefix used to generate the fully qualified name for tokens in this file.
$prefix: (mat, optgroup);
// Tokens that can't be configured through Angular Material's current theming API,
// but may be in a future v... | {
"end_byte": 1783,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mat/_optgroup.scss"
} |
components/src/material/core/tokens/m2/mat/_select.scss_0_3652 | @use 'sass:map';
@use '../../token-definition';
@use '../../../theming/inspection';
@use '../../../theming/theming';
@use '../../../style/elevation';
@use '../../../style/sass-utils';
// The prefix used to generate the fully qualified name for tokens in this file.
$prefix: (mat, select);
// Tokens that can't be confi... | {
"end_byte": 3652,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mat/_select.scss"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.