Socket
Socket
Sign inDemoInstall

@material/theme

Package Overview
Dependencies
Maintainers
9
Versions
1678
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@material/theme - npm Package Compare versions

Comparing version 0.24.0 to 0.25.0

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc