From 8c59cb334834c4613acfc8a15eb41d84fa6b6f33 Mon Sep 17 00:00:00 2001 From: r8btx <60275558+r8btx@users.noreply.github.com> Date: Sun, 15 Oct 2023 17:23:50 -0400 Subject: [PATCH] added tailwind --- front-end/package.json | 3 +++ front-end/src/index.css | 12 +++++++----- front-end/tailwind.config.js | 8 ++++++++ 3 files changed, 18 insertions(+), 5 deletions(-) create mode 100644 front-end/tailwind.config.js diff --git a/front-end/package.json b/front-end/package.json index 467cf33..b0d3eb4 100644 --- a/front-end/package.json +++ b/front-end/package.json @@ -34,5 +34,8 @@ "last 1 firefox version", "last 1 safari version" ] + }, + "devDependencies": { + "tailwindcss": "^3.3.3" } } diff --git a/front-end/src/index.css b/front-end/src/index.css index ec2585e..5138222 100644 --- a/front-end/src/index.css +++ b/front-end/src/index.css @@ -1,13 +1,15 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + body { margin: 0; - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', - 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', - sans-serif; + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', + 'Droid Sans', 'Helvetica Neue', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } code { - font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', - monospace; + font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace; } diff --git a/front-end/tailwind.config.js b/front-end/tailwind.config.js new file mode 100644 index 0000000..df44f24 --- /dev/null +++ b/front-end/tailwind.config.js @@ -0,0 +1,8 @@ +/** @type {import('tailwindcss').Config} */ +module.exports = { + content: ['./src/**/*.{html,js}'], + theme: { + extend: {}, + }, + plugins: [], +};