mirror of
https://github.com/apricote/ein-pfeil-am-rechten-fleck.de.git
synced 2026-02-08 02:37:01 +00:00
chore(deps): re-init with latest svelte-kit
This commit is contained in:
parent
45e37e2038
commit
db8d8e47ee
24 changed files with 553 additions and 1499 deletions
|
|
@ -1,22 +1,7 @@
|
|||
const { tailwindExtractor } = require("tailwindcss/lib/lib/purgeUnusedStyles");
|
||||
const colors = require("tailwindcss/colors");
|
||||
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
module.exports = {
|
||||
mode: "aot",
|
||||
purge: {
|
||||
content: ["./src/**/*.{html,js,svelte,ts}"],
|
||||
options: {
|
||||
defaultExtractor: (content) => [
|
||||
// If this stops working, please open an issue at https://github.com/svelte-add/tailwindcss/issues rather than bothering Tailwind Labs about it
|
||||
...tailwindExtractor(content),
|
||||
// Match Svelte class: directives (https://github.com/tailwindlabs/tailwindcss/discussions/1731)
|
||||
...[...content.matchAll(/(?:class:)*([\w\d-/:%.]+)/gm)].map(
|
||||
([_match, group, ..._rest]) => group
|
||||
),
|
||||
],
|
||||
},
|
||||
safelist: [/^svelte-[\d\w]+$/],
|
||||
},
|
||||
content: ["./src/**/*.{html,js,svelte,ts}"],
|
||||
theme: {
|
||||
colors: {
|
||||
transparent: "transparent",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue