Select Git revision
tailwind.config.cjs 4.03 KiB
const typography = require("@tailwindcss/typography")
const colors = require("tailwindcss/colors")
const config = {
content: ["./src/**/*.{html,js,svelte,ts}"],
plugins: [
typography,
function ({ addUtilities }) {
const extendLineThrough = {
".line-through-amendment": {
textDecoration: "line-through",
"text-decoration-color": "rgba(222, 213, 0, 0.7)",
"text-decoration-thickness": "2px",
},
".line-through-bill": {
textDecoration: "line-through",
"text-decoration-color": "rgba(255, 107, 107, 0.7)",
"text-decoration-thickness": "2px",
},
}
addUtilities(extendLineThrough)
},
],
theme: {
extend: {
animation: {
blink: "blinker 300ms ease-in 2",
},
blur: {
xs: "1.2px",
xxs: "0.8px",
},
colors: {
gray: colors.neutral,
"le-bleu": "#343bff",
"le-bleu-light": "#d2dfff",
"le-jaune-light": "#EEEA8A",
"le-jaune": "#ded500",
"le-jaune-dark": "#9d970b",
"le-jaune-very-dark": "#6E6A08",
"le-rouge-bill": "#ff6b6b",
"le-gris-dispositif": "#5E709E",
"le-gris-dispositif-ultralight": "#EBEFFA",
"le-gris-dispositif-light": "#CCD3E7",
"le-gris-dispositif-dark": "#2F406A",
"le-vert-validation": "#13CC03",
"le-vert-validation-dark": "#377330",
"le-vert": {
50: "#f1f0e6",
100: "#e2e1cd",
200: "#c5c39c",
300: "#a8a66a",
400: "#8b8839",
500: "#6e6a07",
600: "#635f06",
700: "#585506",
800: "#424004",
900: "#2c2a03",
950: "#161501",
},
},
keyframes: {
blinker: {
"50%": { opacity: "60%" },
},
},
scale: {
25: "0.25",
},
transitionDuration: {