Socket
Socket
Sign inDemoInstall

@kirschbaum-development/tailwindcss-scale-utilities

Package Overview
Dependencies
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kirschbaum-development/tailwindcss-scale-utilities

Tailwind CSS plugin for generating scale utilities


Version published
Maintainers
3
Created
Source

npm npm license tests

Installation

yarn add @kirschbaum-development/tailwindcss-scale-utilities --dev

or

npm install @kirschbaum-development/tailwindcss-scale-utilities --save-dev

Defaults

theme: {
  scale: {
    0: 0,
    25: '.25',
    50: '.5',
    75: '.75',
    100: '1',
    110: '1.1'
  }
},
variants: {
  scale: ['hover']
}

Usage

// tailwind.config.js
{
  theme: {
    scale: {
      '60': '0.6',
      '90': '0.9',
      '100': '1',
      '120': '1.2'
    }
  },
  variants: {
    scale: ['responsive']
  },
  plugins: [
    require('tailwindcss-scale-utilities')
  ]
}

This plugin generates the following utilities:

/* configurable with the "scale" theme object */
.scale-[key] {
  transform: scale([value]);
}

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email david@kirschbaumdevelopment.com or nathan@kirschbaumdevelopment.com instead of using the issue tracker.

Credits

Sponsorship

Development of this package is sponsored by Kirschbaum Development Group, a developer driven company focused on problem solving, team building, and community. Learn more about us or join us!

License

The MIT License (MIT). Please see License File for more information.

Keywords

FAQs

Package last updated on 20 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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