diff --git a/postcss.config.cjs b/postcss.config.cjs new file mode 100644 index 0000000..33ad091 --- /dev/null +++ b/postcss.config.cjs @@ -0,0 +1,6 @@ +module.exports = { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +} diff --git a/src/app.css b/src/app.css new file mode 100644 index 0000000..27a4ccd --- /dev/null +++ b/src/app.css @@ -0,0 +1,11 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + +@font-face { + font-family: 'General-Sans'; + src: url('/fonts/GeneralSans-Variable.woff2') format('woff2'); + font-weight: 200 700; + font-display: swap; + font-style: normal; +} diff --git a/tailwind.config.cjs b/tailwind.config.cjs new file mode 100644 index 0000000..fe00e7a --- /dev/null +++ b/tailwind.config.cjs @@ -0,0 +1,19 @@ +/** @type {import('tailwindcss').Config} */ +module.exports = { + darkMode: 'class', + content: ['./src/**/*.{html,js,svelte,ts}'], + theme: { + extend: { + colors: { + dark: '#161616' + }, + fontFamily: { + sans: ['General-Sans', 'sans-serif'] + }, + fontSize: { + mini: '14px' + } + } + }, + plugins: [] +};