Skip to content

Commit f5ccf94

Browse files
bjgavilanesIvanM9
andauthoredJan 14, 2025··
Repo maintenance 2025 01 10 (#37)
* ci: drop malva dprint plugin as dependency biome does provide support for vanilla CSS. https://biomejs.dev/internals/language-support/ * ci: pnpm update * ci: biome check --fix * ci: dprint fmt pnpm-lock.yaml * add overrides in biome config Add compatibility settings suggested by biome --------- Co-authored-by: Iván Manzaba <[email protected]>
1 parent ba17bc8 commit f5ccf94

File tree

5 files changed

+174
-163
lines changed

5 files changed

+174
-163
lines changed
 

‎biome.json

+14-1
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,18 @@
2626
"formatter": {
2727
"quoteStyle": "double"
2828
}
29-
}
29+
},
30+
"overrides": [
31+
{
32+
"include": ["*.astro"],
33+
"linter": {
34+
"rules": {
35+
"style": {
36+
"useConst": "off",
37+
"useImportType": "off"
38+
}
39+
}
40+
}
41+
}
42+
]
3043
}

‎dprint.json

-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
{
22
"dockerfile": {},
33
"biome": {},
4-
"malva": {},
54
"markup": {},
65
"yaml": {},
76
"excludes": ["**/node_modules"],
87
"plugins": [
98
"https://plugins.dprint.dev/dockerfile-0.3.2.wasm",
109
"https://plugins.dprint.dev/biome-0.7.1.wasm",
11-
"https://plugins.dprint.dev/g-plane/malva-v0.11.1.wasm",
1210
"https://plugins.dprint.dev/g-plane/markup_fmt-v0.18.0.wasm",
1311
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.0.wasm"
1412
]

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@astrojs/tailwind": "^5.1.4",
1717
"@types/alpinejs": "^3.13.11",
1818
"alpinejs": "^3.14.8",
19-
"astro": "^5.1.2",
19+
"astro": "^5.1.5",
2020
"astro-compressor": "^1.0.0",
2121
"tailwindcss": "^3.4.17"
2222
},

‎pnpm-lock.yaml

+118-118
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/styles/globals.css

+41-41
Original file line numberDiff line numberDiff line change
@@ -3,51 +3,51 @@
33
@tailwind utilities;
44

55
@font-face {
6-
font-family: "montserrat";
7-
src: url("../assets/fonts/Montserrat.ttf") format("truetype");
6+
font-family: "montserrat";
7+
src: url("../assets/fonts/Montserrat.ttf") format("truetype");
88
}
99

1010
@font-face {
11-
font-family: "gabarito";
12-
src: url("../assets/fonts/Gabarito.ttf") format("truetype");
11+
font-family: "gabarito";
12+
src: url("../assets/fonts/Gabarito.ttf") format("truetype");
1313
}
1414

1515
@layer {
16-
/* Global text styles */
17-
h1,
18-
h2,
19-
h3 {
20-
@apply font-montserrat;
21-
}
22-
23-
h4,
24-
h5,
25-
a,
26-
p,
27-
span {
28-
@apply font-gabarito;
29-
}
30-
31-
p {
32-
@apply text-lg;
33-
}
34-
35-
span,
36-
svg{
37-
@apply text-sm;
38-
}
39-
40-
/* Avoids undesired offcanvas menu 'blink' when closing */
41-
[x-cloak] {
42-
display: none !important;
43-
}
44-
45-
/* Components custom styles */
46-
.faqs-container {
47-
@apply mx-auto shadow-md p-6 pt-0 rounded-xl;
48-
}
49-
50-
.accordion-transition {
51-
transition: all 400ms ease-in-out;
52-
}
16+
/* Global text styles */
17+
h1,
18+
h2,
19+
h3 {
20+
@apply font-montserrat;
21+
}
22+
23+
h4,
24+
h5,
25+
a,
26+
p,
27+
span {
28+
@apply font-gabarito;
29+
}
30+
31+
p {
32+
@apply text-lg;
33+
}
34+
35+
span,
36+
svg {
37+
@apply text-sm;
38+
}
39+
40+
/* Avoids undesired offcanvas menu 'blink' when closing */
41+
[x-cloak] {
42+
display: none !important;
43+
}
44+
45+
/* Components custom styles */
46+
.faqs-container {
47+
@apply mx-auto shadow-md p-6 pt-0 rounded-xl;
48+
}
49+
50+
.accordion-transition {
51+
transition: all 400ms ease-in-out;
52+
}
5353
}

0 commit comments

Comments
 (0)
Please sign in to comment.