Socket
Socket
Sign inDemoInstall

@material/theme

Package Overview
Dependencies
Maintainers
10
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.25.0 to 0.27.0

2

package.json
{
"name": "@material/theme",
"description": "The Material Components for the web theming system",
"version": "0.25.0",
"version": "0.27.0",
"license": "Apache-2.0",

@@ -6,0 +6,0 @@ "keywords": [

@@ -239,1 +239,17 @@ <!--docs:

```
#### `mdc-theme-accessible-ink-color($fill-color, $text-style: primary)`
Returns an accessible ink color that has sufficient contrast against the given fill color.
Params:
- `$fill-color`: Supports the same values as `mdc-theme-prop-value`
- `$text-style`: Value must be one of `primary`, `secondary`, `hint`, `disabled`, `icon` (see `$mdc-theme-text-colors`)
> NOTE: This function is defined in `_variables.scss` instead of `_functions.scss` to avoid circular imports.
```scss
@debug mdc-theme-accessible-ink-color(secondary); // rgba(0, 0, 0, .87) (text-primary-on-light)
@debug mdc-theme-accessible-ink-color(blue); // white (text-primary-on-dark)
```

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