From 71767d0a0e18bfd292ca340d9a8e8994bd1149b3 Mon Sep 17 00:00:00 2001 From: Federico Aguzzi Date: Wed, 15 Mar 2023 15:16:53 +0100 Subject: [PATCH] Added tailwindcss --- package.json | 3 +++ src/index.css | 4 ++++ tailwind.config.js | 10 ++++++++++ yarn.lock | 2 +- 4 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 tailwind.config.js diff --git a/package.json b/package.json index 51429d8..d7eb082 100644 --- a/package.json +++ b/package.json @@ -39,5 +39,8 @@ "last 1 firefox version", "last 1 safari version" ] + }, + "devDependencies": { + "tailwindcss": "^3.2.7" } } diff --git a/src/index.css b/src/index.css index ec2585e..17df0e7 100644 --- a/src/index.css +++ b/src/index.css @@ -1,3 +1,7 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', diff --git a/tailwind.config.js b/tailwind.config.js new file mode 100644 index 0000000..1490793 --- /dev/null +++ b/tailwind.config.js @@ -0,0 +1,10 @@ +/** @type {import('tailwindcss').Config} */ +module.exports = { + content: [ + "./src/**/*.{js,jsx,ts,tsx}", + ], + theme: { + extend: {}, + }, + plugins: [], +} diff --git a/yarn.lock b/yarn.lock index 5054af8..fc60906 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8394,7 +8394,7 @@ symbol-tree@^3.2.4: resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== -tailwindcss@^3.0.2: +tailwindcss@^3.0.2, tailwindcss@^3.2.7: version "3.2.7" resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-3.2.7.tgz#5936dd08c250b05180f0944500c01dce19188c07" integrity sha512-B6DLqJzc21x7wntlH/GsZwEXTBttVSl1FtCzC8WP4oBc/NKef7kaax5jeihkkCEWc831/5NDJ9gRNDK6NEioQQ==