2022-10-07 08:14:10 +00:00
|
|
|
const colors = require("./assets/tailwindcss/colours.cjs");
|
2022-08-13 11:32:33 +00:00
|
|
|
const defaultTheme = require("tailwindcss/defaultTheme");
|
|
|
|
const { fontFamily } = defaultTheme;
|
2021-06-30 07:00:00 +00:00
|
|
|
|
2022-10-07 08:14:10 +00:00
|
|
|
/** @type {import('tailwindcss').Config} */
|
2021-06-30 07:00:00 +00:00
|
|
|
module.exports = {
|
2022-08-13 11:32:33 +00:00
|
|
|
mode: "jit",
|
|
|
|
darkMode: "media",
|
2021-06-30 07:00:00 +00:00
|
|
|
important: true,
|
2023-04-22 20:57:02 +00:00
|
|
|
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
|
2021-06-30 07:00:00 +00:00
|
|
|
theme: {
|
2021-10-05 11:00:00 +00:00
|
|
|
outline: {
|
2022-08-13 11:32:33 +00:00
|
|
|
black: "1px solid black",
|
|
|
|
white: "1px solid white",
|
2021-10-05 11:00:00 +00:00
|
|
|
},
|
2021-06-30 07:00:00 +00:00
|
|
|
extend: {
|
|
|
|
colors,
|
|
|
|
fontFamily: {
|
|
|
|
sans: [
|
2022-08-13 11:32:33 +00:00
|
|
|
"Roboto Condensed",
|
|
|
|
"Arial",
|
|
|
|
"Helvetica Neue",
|
|
|
|
"Helvetica",
|
|
|
|
"sans-serif",
|
2021-06-30 07:00:00 +00:00
|
|
|
],
|
|
|
|
mono: [
|
2022-08-13 11:32:33 +00:00
|
|
|
"ui-monospace",
|
|
|
|
"SFMono-Regular",
|
|
|
|
"SF Mono",
|
|
|
|
"Consolas",
|
|
|
|
"Liberation Mono",
|
|
|
|
...fontFamily.mono,
|
|
|
|
],
|
2021-06-30 07:00:00 +00:00
|
|
|
},
|
|
|
|
spacing: {
|
2022-08-13 11:32:33 +00:00
|
|
|
"2px": "2px",
|
2021-06-30 07:00:00 +00:00
|
|
|
},
|
|
|
|
borderWidth: {
|
2022-08-13 11:32:33 +00:00
|
|
|
3: "3px",
|
2021-06-30 07:00:00 +00:00
|
|
|
},
|
|
|
|
width: {
|
2022-08-13 11:32:33 +00:00
|
|
|
96: "24rem",
|
|
|
|
},
|
|
|
|
},
|
2021-06-30 07:00:00 +00:00
|
|
|
},
|
|
|
|
corePlugins: {
|
2022-08-13 11:32:33 +00:00
|
|
|
container: false,
|
2021-06-30 07:00:00 +00:00
|
|
|
},
|
|
|
|
plugins: [
|
2022-10-07 08:14:10 +00:00
|
|
|
require("./assets/tailwindcss/plugins/focus-visible.cjs"),
|
|
|
|
require("@tailwindcss/nesting"),
|
2022-08-13 11:32:33 +00:00
|
|
|
require("@tailwindcss/aspect-ratio"),
|
|
|
|
require("@tailwindcss/forms"),
|
|
|
|
require("@tailwindcss/typography"),
|
|
|
|
],
|
|
|
|
};
|