Select Git revision
tailwind.config.cjs
tailwind.config.cjs 6.54 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",
},
backgroundImage: {
/* Graph paper - Heropatterns.com échelle réduite */
"graph-paper":
"url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 100 100'%3E%3Crect width='100%' height='100%' fill='%23fff'/%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ded500' fill-opacity='0.4'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E\")",
/* Polka dots - Heropatterns.com échelle réduite */
"polka-dots":
"url(\"data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='100%' height='100%' fill='%23fff'/%3E%3Cg fill='%23ded500' fill-opacity='0.4' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E\")",
"diagonal-stripes":
"url(\"data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='1' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E\")",
},
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",
},