@beeq/tailwindcss 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/index.cjs.js +1 -1
- package/index.esm.js +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -19,13 +19,13 @@ Make sure that Tailwind CSS directives are added to your main CSS file:
|
|
|
19
19
|
## Installation 📦
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
|
-
npm i -D @
|
|
22
|
+
npm i -D @beeq/tailwindcss
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
## Usage 🚀
|
|
26
26
|
|
|
27
27
|
```js
|
|
28
|
-
const beeqPreset = require('@
|
|
28
|
+
const beeqPreset = require('@beeq/tailwindcss');
|
|
29
29
|
|
|
30
30
|
module.exports = {
|
|
31
31
|
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
|
|
@@ -37,7 +37,7 @@ module.exports = {
|
|
|
37
37
|
or with TypeScript:
|
|
38
38
|
|
|
39
39
|
```ts
|
|
40
|
-
import { default as beeqPreset } from '@
|
|
40
|
+
import { default as beeqPreset } from '@beeq/tailwindcss';
|
|
41
41
|
|
|
42
42
|
export default {
|
|
43
43
|
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
|
|
@@ -75,12 +75,12 @@ The preset does not include the fonts by default, but you can add them in your C
|
|
|
75
75
|
The preset includes a typography plugin that adds a set of default typography styles to your application. It is not enabled by default, so you need to add it to your `tailwind.config.js` file:
|
|
76
76
|
|
|
77
77
|
```js
|
|
78
|
-
const beeqPreset = require('@
|
|
79
|
-
const { TYPOGRAPHY_DEFAULT } = require('@
|
|
78
|
+
const beeqPreset = require('@beeq/tailwindcss');
|
|
79
|
+
const { TYPOGRAPHY_DEFAULT } = require('@beeq/tailwindcss');
|
|
80
80
|
|
|
81
81
|
module.exports = {
|
|
82
82
|
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
|
|
83
|
-
presets: [require('@
|
|
83
|
+
presets: [require('@beeq/tailwindcss')],
|
|
84
84
|
...
|
|
85
85
|
plugins: [
|
|
86
86
|
plugin(function ({ addBase }) {
|
|
@@ -95,7 +95,7 @@ or via TypeScript:
|
|
|
95
95
|
|
|
96
96
|
```ts
|
|
97
97
|
import plugin from "tailwindcss/plugin";
|
|
98
|
-
import { default as beeqPreset, TYPOGRAPHY_DEFAULT } from "@
|
|
98
|
+
import { default as beeqPreset, TYPOGRAPHY_DEFAULT } from "@beeq/tailwindcss";
|
|
99
99
|
import type { Config } from "tailwindcss";
|
|
100
100
|
|
|
101
101
|
export default {
|
package/index.cjs.js
CHANGED
|
@@ -826,7 +826,7 @@ const EndavaLightTheme = {
|
|
|
826
826
|
};
|
|
827
827
|
|
|
828
828
|
const EndavaRootTheme = {
|
|
829
|
-
'bq-font-family': "'
|
|
829
|
+
'bq-font-family': "'Poppins', sans-serif",
|
|
830
830
|
'bq-white': '#fafbfb',
|
|
831
831
|
'bq-black': '#030406',
|
|
832
832
|
'bq-neutral-50': 'var(--bq-endava-grey-50)',
|
package/index.esm.js
CHANGED
|
@@ -1099,7 +1099,7 @@ const EndavaLightTheme = {
|
|
|
1099
1099
|
|
|
1100
1100
|
const EndavaRootTheme = {
|
|
1101
1101
|
// Fonts
|
|
1102
|
-
'bq-font-family': "'
|
|
1102
|
+
'bq-font-family': "'Poppins', sans-serif",
|
|
1103
1103
|
'bq-white': '#fafbfb',
|
|
1104
1104
|
'bq-black': '#030406',
|
|
1105
1105
|
// Neutrals
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@beeq/tailwindcss",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "BEEQ's opinionated TailwindCSS configuration",
|
|
6
6
|
"main": "./index.cjs.js",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"publishConfig": {
|
|
18
18
|
"access": "public",
|
|
19
|
+
"provenance": true,
|
|
19
20
|
"registry": "https://registry.npmjs.org"
|
|
20
21
|
},
|
|
21
22
|
"exports": {
|