diff --git a/src/utils/utils.ts b/src/utils/utils.ts
index dc75661..67d0550 100644
--- a/src/utils/utils.ts
+++ b/src/utils/utils.ts
@@ -1,6 +1,6 @@
// https://stackoverflow.com/a/46545530/14781260
-export function shuffleArray(unshuffled: any[]) {
- let shuffled = unshuffled
+export function shuffleArray(unshuffled: unknown[]) {
+ const shuffled = unshuffled
.map((value) => ({ value, sort: Math.random() }))
.sort((a, b) => a.sort - b.sort)
.map(({ value }) => value);
diff --git a/tailwind.config.js b/tailwind.config.js
index 5ece5a7..5516048 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -6,6 +6,16 @@ export default withMT({
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
plugins: [require("@tailwindcss/typography")],
theme: {
+ borderWidth: {
+ DEFAULT: "1px",
+ 0: "0",
+ 1: "1px",
+ 2: "2px",
+ 3: "3px",
+ 4: "4px",
+ 6: "6px",
+ 8: "8px",
+ },
colors: {
...colors,
primary: "red",
@@ -22,6 +32,9 @@ export default withMT({
sans: ["Ubuntu", "sans-serif"],
},
extend: {
+ aspectRatio: {
+ "3/4": "3 / 4",
+ },
// https://jackwhiting.co.uk/posts/creating-a-marquee-with-tailwind/
animation: {
marquee: "marquee 36s linear infinite",
@@ -39,11 +52,7 @@ export default withMT({
},
container: {
padding: {
- DEFAULT: "1rem",
- sm: "2rem",
- lg: "4rem",
- xl: "5rem",
- "2xl": "6rem",
+ DEFAULT: "0",
},
},
},