@toptal/base-tailwind
Advanced tools
Comparing version 0.0.2-alpha-fx-5726-create-base-preset-package-7cdb4a4dd.4295 to 0.0.2-alpha-fx-5726-create-base-preset-package-82bcdce69.4297
{ | ||
"name": "@toptal/base-tailwind", | ||
"version": "0.0.2-alpha-fx-5726-create-base-preset-package-7cdb4a4dd.4295+7cdb4a4dd", | ||
"version": "0.0.2-alpha-fx-5726-create-base-preset-package-82bcdce69.4297+82bcdce69", | ||
"description": "Base Tailwind configuration that contains global design token. This preset have to be reused by any project-specific Tailwind configuration.", | ||
@@ -38,3 +38,3 @@ "author": "Toptal", | ||
], | ||
"gitHead": "7cdb4a4ddee130d17468e7b2eeab69c26fd36ea4" | ||
"gitHead": "82bcdce6958f2a3a2d9516d6d122b34c1e982fe2" | ||
} |
# `base-tailwind` | ||
BASE design Tailwind preset that contains global design token. The preset has to be reused by any project-specific Tailwind configuration (Picasso, Caliber, etc.). | ||
BASE design Tailwind preset that contains global design token. The preset has to be reused by any project-specific Tailwind configuration (Picasso, Caliber, etc.) and has to be mentioned before any other presets. | ||
```javascript | ||
const basePreset = require('@toptal/base-tailwind') | ||
const picassoPreset = require('@toptal/picasso-tailwind') | ||
const caliberPreset = require('@toptal/caliber-tailwind') | ||
/** @type {import('tailwindcss').Config} */ | ||
module.exports = { | ||
plugins: [ | ||
...(basePreset.plugins || []), | ||
...(picassoPreset.plugins || []), | ||
...(caliberPreset.plugins || []), | ||
presets: [ | ||
require('@toptal/base-tailwind'), | ||
require('@toptal/picasso-tailwind'), | ||
], | ||
theme: { | ||
...basePreset.theme, | ||
...picassoPreset.theme, | ||
...caliberPreset.theme, | ||
}, | ||
extend: { | ||
...basePreset.extend, | ||
...picassoPreset.extend, | ||
...caliberPreset.extend, | ||
}, | ||
// ... | ||
} | ||
``` |
{ | ||
"name": "@toptal/base-tailwind", | ||
"version": "0.0.2-alpha-fx-5726-create-base-preset-package-7cdb4a4dd.4295+7cdb4a4dd", | ||
"version": "0.0.2-alpha-fx-5726-create-base-preset-package-82bcdce69.4297+82bcdce69", | ||
"description": "Base Tailwind configuration that contains global design token. This preset have to be reused by any project-specific Tailwind configuration.", | ||
@@ -38,3 +38,3 @@ "author": "Toptal", | ||
], | ||
"gitHead": "7cdb4a4ddee130d17468e7b2eeab69c26fd36ea4" | ||
"gitHead": "82bcdce6958f2a3a2d9516d6d122b34c1e982fe2" | ||
} |
# `base-tailwind` | ||
BASE design Tailwind preset that contains global design token. The preset has to be reused by any project-specific Tailwind configuration (Picasso, Caliber, etc.). | ||
BASE design Tailwind preset that contains global design token. The preset has to be reused by any project-specific Tailwind configuration (Picasso, Caliber, etc.) and has to be mentioned before any other presets. | ||
```javascript | ||
const basePreset = require('@toptal/base-tailwind') | ||
const picassoPreset = require('@toptal/picasso-tailwind') | ||
const caliberPreset = require('@toptal/caliber-tailwind') | ||
/** @type {import('tailwindcss').Config} */ | ||
module.exports = { | ||
plugins: [ | ||
...(basePreset.plugins || []), | ||
...(picassoPreset.plugins || []), | ||
...(caliberPreset.plugins || []), | ||
presets: [ | ||
require('@toptal/base-tailwind'), | ||
require('@toptal/picasso-tailwind'), | ||
], | ||
theme: { | ||
...basePreset.theme, | ||
...picassoPreset.theme, | ||
...caliberPreset.theme, | ||
}, | ||
extend: { | ||
...basePreset.extend, | ||
...picassoPreset.extend, | ||
...caliberPreset.extend, | ||
}, | ||
// ... | ||
} | ||
``` |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
5948
15