-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
main - 4ba4689 feat(material/core): namespace m2-specific theming API…
…s (#28892)
- Loading branch information
Showing
3 changed files
with
65 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
// 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/theming' show | ||
define-light-theme, | ||
define-dark-theme, | ||
define-palette, | ||
get-contrast-color-from-palette, | ||
get-color-from-palette, | ||
get-color-config, | ||
get-typography-config, | ||
get-density-config; | ||
|
||
@forward './theming/palette' show | ||
$red-palette, | ||
$pink-palette, | ||
$indigo-palette, | ||
$purple-palette, | ||
$deep-purple-palette, | ||
$blue-palette, | ||
$light-blue-palette, | ||
$cyan-palette, | ||
$teal-palette, | ||
$green-palette, | ||
$light-green-palette, | ||
$lime-palette, | ||
$yellow-palette, | ||
$amber-palette, | ||
$orange-palette, | ||
$deep-orange-palette, | ||
$brown-palette, | ||
$grey-palette, | ||
$gray-palette, | ||
$blue-grey-palette, | ||
$blue-gray-palette, | ||
$light-theme-background-palette, | ||
$dark-theme-background-palette, | ||
$light-theme-foreground-palette, | ||
$dark-theme-foreground-palette; | ||
|
||
|
||
@forward './typography/typography' show | ||
define-typography-level, | ||
define-rem-typography-config, | ||
define-typography-config, | ||
define-legacy-typography-config; | ||
|
||
@forward './typography/typography-utils' show | ||
typography-level, | ||
font-size, | ||
line-height, | ||
font-weight, | ||
letter-spacing, | ||
font-family, | ||
font-shorthand; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters