Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tailwindcss-export-config

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tailwindcss-export-config - npm Package Compare versions

Comparing version 3.1.0 to 4.0.0

16

CHANGELOG.md

@@ -5,2 +5,18 @@ # Changelog

## [4.0.0](https://github.com/dobromir-hristov/tailwindcss-export-config/compare/v3.1.0...v4.0.0) (2021-12-16)
### ⚠ BREAKING CHANGES
* Update to TW 3. That comes with major changes in the resulting exports
### Features
* support TW-3.0 ([f7e2d6c](https://github.com/dobromir-hristov/tailwindcss-export-config/commit/f7e2d6c888cf4031508c08bce4b15921d844b2a8))
### Bug Fixes
* sanitize less negative values ([b3638d2](https://github.com/dobromir-hristov/tailwindcss-export-config/commit/b3638d2c549be79341d8b059bc20a2119050d129))
## [3.1.0](https://github.com/dobromir-hristov/tailwindcss-export-config/compare/v3.0.2...v3.1.0) (2021-12-12)

@@ -7,0 +23,0 @@

@@ -330,2 +330,7 @@ 'use strict';

_propertyNameSanitizer(property) {
property = super._propertyNameSanitizer(property);
return property.replace(/\./g, '\\.');
}
}

@@ -332,0 +337,0 @@

4

package.json
{
"name": "tailwindcss-export-config",
"version": "3.1.0",
"version": "4.0.0",
"description": "Export Tailwindcss config options to SASS, SCSS, LESS and Stylus",

@@ -46,3 +46,3 @@ "main": "dist/index.js",

"lodash.reduce": "^4.6.0",
"tailwindcss": "2.2.19",
"tailwindcss": "^3.0.6",
"yargs": "^17.2.1"

@@ -49,0 +49,0 @@ },

@@ -15,3 +15,3 @@ <p align="center">

* 🚀 Exports Tailwindcss 2 config options to SASS, SCSS, LESS and Stylus.
* 🚀 Exports Tailwindcss 3 config options to SASS, SCSS, LESS, Stylus, Custom CSS Properties or even JSON.
* 💥 CLI and Node api support

@@ -208,2 +208,41 @@ * 💪 Unit Tested

### Custom CSS Properties
```css
:root {
--fontFamily-display: Gilroy, sans-serif;
--fontFamily-body: Graphik, sans-serif;
--borderWidth-0: 0;
--borderWidth-2: 2px;
--borderWidth-4: 4px;
--borderWidth-default: 1px;
/* etc... */
}
```
### JSON
```json
{
"fontFamily": {
"display": [
"Gilroy",
"sans-serif"
],
"body": [
"Graphik",
"sans-serif"
]
},
"borderWidth": {
"0": "0",
"2": "2px",
"4": "4px",
"default": "1px"
}
}
```
### Prefix

@@ -328,2 +367,3 @@

**Removed Options**
1. colors

@@ -334,6 +374,9 @@ 2. screens

## Compatibility
Version 3.x of this tool works with v2.x of Tailwindcss. If you are using the older 0.x version, please use the 2.x version of `Tailwindcss-export-config`
| tailwindcss-export-config | tailwindcss |
|------------------------|-------------|
| 4.x | 3.x |
| 3.x | 2.x |
| 2.x | 0.x |

@@ -340,0 +383,0 @@ ```bash

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