Skip to content
Snippets Groups Projects
Commit 364e1b35 authored by Emmanuel Raviart's avatar Emmanuel Raviart
Browse files

Fix flowbite configuration

parent 2449740a
No related branches found
No related tags found
1 merge request!90Carte budget etat
const flowbytePlugin = require("flowbite/plugin")
const typography = require("@tailwindcss/typography") const typography = require("@tailwindcss/typography")
const colors = require("tailwindcss/colors") const colors = require("tailwindcss/colors")
const config = { const config = {
content: ["./src/**/*.{html,js,svelte,ts}", "./src/**/*.{html,js,svelte,ts}", content: [
"./node_modules/flowbite-svelte/**/*.{html,js,svelte,ts}",], "./src/**/*.{html,js,svelte,ts}",
plugins: [ "./node_modules/flowbite-svelte/**/*.{html,js,svelte,ts}",
[
require('flowbite/plugin')
], ],
plugins: [
flowbytePlugin,
typography, typography,
function ({ addUtilities }) { function ({ addUtilities }) {
const extendLineThrough = { const extendLineThrough = {
...@@ -27,20 +27,6 @@ const config = { ...@@ -27,20 +27,6 @@ const config = {
}, },
], ],
theme: { theme: {
screens: {
sm: "640px",
// => @media (min-width: 640px) { ... }
md: "768px",
// => @media (min-width: 768px) { ... }
lg: "1024px",
// => @media (min-width: 1024px) { ... }
xl: "1280px",
// => @media (min-width: 1280px) { ... }
"2xl": "1536px",
// => @media (min-width: 1536px) { ... }
"3xl": "2200px",
// => @media (min-width: 2200px) { ... }
},
extend: { extend: {
blur: { blur: {
xs: "1.2px", xs: "1.2px",
...@@ -77,6 +63,20 @@ const config = { ...@@ -77,6 +63,20 @@ const config = {
"monospace", "monospace",
], ],
}, },
screens: {
sm: "640px",
// => @media (min-width: 640px) { ... }
md: "768px",
// => @media (min-width: 768px) { ... }
lg: "1024px",
// => @media (min-width: 1024px) { ... }
xl: "1280px",
// => @media (min-width: 1280px) { ... }
"2xl": "1536px",
// => @media (min-width: 1536px) { ... }
"3xl": "2200px",
// => @media (min-width: 2200px) { ... }
},
}, },
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment