diff options
| author | 2023-04-28 01:47:57 +0800 | |
|---|---|---|
| committer | 2023-04-28 01:47:57 +0800 | |
| commit | 8b2c4a38a461ff5ecc95972291bc711e2c5dec9a (patch) | |
| tree | 29f552e3df949073e21bf5c76d7abc3044830ec6 /examples/with-tailwind/packages/tailwind-config | |
| parent | fc8c5fdce62fb229202659408798a7b6c98f6e8b (diff) | |
| download | HydroRoll-8b2c4a38a461ff5ecc95972291bc711e2c5dec9a.tar.gz HydroRoll-8b2c4a38a461ff5ecc95972291bc711e2c5dec9a.zip | |
Diffstat (limited to 'examples/with-tailwind/packages/tailwind-config')
| -rw-r--r-- | examples/with-tailwind/packages/tailwind-config/package.json | 9 | ||||
| -rw-r--r-- | examples/with-tailwind/packages/tailwind-config/tailwind.config.js | 19 |
2 files changed, 28 insertions, 0 deletions
diff --git a/examples/with-tailwind/packages/tailwind-config/package.json b/examples/with-tailwind/packages/tailwind-config/package.json new file mode 100644 index 0000000..fbf983c --- /dev/null +++ b/examples/with-tailwind/packages/tailwind-config/package.json @@ -0,0 +1,9 @@ +{ + "name": "tailwind-config", + "version": "0.0.0", + "private": true, + "main": "index.js", + "devDependencies": { + "tailwindcss": "^3.2.4" + } +} diff --git a/examples/with-tailwind/packages/tailwind-config/tailwind.config.js b/examples/with-tailwind/packages/tailwind-config/tailwind.config.js new file mode 100644 index 0000000..c0f237b --- /dev/null +++ b/examples/with-tailwind/packages/tailwind-config/tailwind.config.js @@ -0,0 +1,19 @@ +const colors = require("tailwindcss/colors"); + +module.exports = { + content: [ + // app content + `src/**/*.{js,ts,jsx,tsx}`, + // include packages if not transpiling + // "../../packages/**/*.{js,ts,jsx,tsx}", + ], + theme: { + extend: { + colors: { + brandblue: colors.blue[500], + brandred: colors.red[500], + }, + }, + }, + plugins: [], +}; |
