chore: lint and fmt

This commit is contained in:
Julien Calixte
2026-03-28 09:38:55 +01:00
parent 8e8706e258
commit 5f48aa5690
108 changed files with 726 additions and 680 deletions

View File

@@ -1,5 +1,5 @@
/** @type {import('tailwindcss').Config} */
const dotenv = require('dotenv')
const dotenv = require("dotenv")
dotenv.config()
@@ -10,54 +10,54 @@ const defaultTitleStyles = Array.from(
(acc, heading) => ({
...acc,
[heading]: {
'margin-top': '0',
'margin-bottom': '0.5em'
"margin-top": "0",
"margin-bottom": "0.5em"
}
}),
{}
)
const BOX_SHADOW = '6px'
const BOX_SHADOW = "6px"
module.exports = {
content: ['./src/**/*.{vue,js,ts}'],
content: ["./src/**/*.{vue,js,ts}"],
theme: {
extend: {
typography: () => ({
DEFAULT: {
css: {
...defaultTitleStyles,
'font-size': '13pt',
'font-family': '"Libertinus Serif", serif',
"font-size": "13pt",
"font-family": '"Libertinus Serif", serif',
p: {
'margin-top': '0.8em',
'margin-bottom': '0.8em',
'text-align': 'left'
"margin-top": "0.8em",
"margin-bottom": "0.8em",
"text-align": "left"
// "text-wrap": "balance",
},
'img, video': {
margin: 'auto',
'border-radius': '0.5rem',
'box-shadow':
'rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px',
'max-width': `calc(100% - 2 * ${BOX_SHADOW})`
"img, video": {
margin: "auto",
"border-radius": "0.5rem",
"box-shadow":
"rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px",
"max-width": `calc(100% - 2 * ${BOX_SHADOW})`
},
a: {
'font-weight': 600,
"font-weight": 600,
// "text-decoration": "wavy underline var(--color-contrast-content)",
// "text-decoration-thickness": "0.1em",
'text-decoration': 'none',
color: 'var(--color-accent)'
"text-decoration": "none",
color: "var(--color-accent)"
},
'a.btn-primary': {
color: 'var(--color-secondary-content)'
"a.btn-primary": {
color: "var(--color-secondary-content)"
},
'a:hover': {
'text-decoration': 'underline'
"a:hover": {
"text-decoration": "underline"
},
li: {
'margin-top': 0,
'margin-bottom': 0
"margin-top": 0,
"margin-bottom": 0
}
}
}