@material/theme
Advanced tools
Comparing version 0.24.0 to 0.25.0
{ | ||
"name": "@material/theme", | ||
"description": "The Material Components for the web theming system", | ||
"version": "0.24.0", | ||
"version": "0.25.0", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
@@ -185,8 +185,16 @@ <!--docs: | ||
#### `mdc-theme-light-or-dark($color)` | ||
#### `mdc-theme-tone($color)` | ||
Determines whether the given color is "light" or "dark". | ||
```scss | ||
@debug mdc-theme-tone(#9c27b0); // dark | ||
``` | ||
#### `mdc-theme-contrast-tone($color)` | ||
Determines whether to use light or dark text on top of a given color. | ||
```scss | ||
@debug mdc-theme-light-or-dark(#9c27b0); // light | ||
@debug mdc-theme-contrast-tone(#9c27b0); // light | ||
``` | ||
@@ -193,0 +201,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
73478
239