From ca905d46aa09889f3c87dcf17ce98c0b234e914d Mon Sep 17 00:00:00 2001 From: SphericalKat Date: Thu, 9 May 2024 18:41:47 +0530 Subject: [PATCH] fix(web): remove deprecated options Signed-off-by: SphericalKat --- assets/package-lock.json | 16 ++++++++++------ assets/tailwind.config.js | 12 ++++++------ 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/assets/package-lock.json b/assets/package-lock.json index 57e84c5..0b2891e 100644 --- a/assets/package-lock.json +++ b/assets/package-lock.json @@ -282,9 +282,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001338", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001338.tgz", - "integrity": "sha512-1gLHWyfVoRDsHieO+CaeYe7jSo/MT7D7lhaXUiwwbuR5BwQxORs0f1tAwUSQr3YbxRXJvxHM/PA5FfPQRnsPeQ==", + "version": "1.0.30001617", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001617.tgz", + "integrity": "sha512-mLyjzNI9I+Pix8zwcrpxEbGlfqOkF9kM3ptzmKNw5tizSyYwMe+nGLTqMK9cO+0E+Bh6TsBxNAaHWEM8xwSsmA==", "dev": true, "funding": [ { @@ -294,6 +294,10 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ] }, @@ -2164,9 +2168,9 @@ "dev": true }, "caniuse-lite": { - "version": "1.0.30001338", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001338.tgz", - "integrity": "sha512-1gLHWyfVoRDsHieO+CaeYe7jSo/MT7D7lhaXUiwwbuR5BwQxORs0f1tAwUSQr3YbxRXJvxHM/PA5FfPQRnsPeQ==", + "version": "1.0.30001617", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001617.tgz", + "integrity": "sha512-mLyjzNI9I+Pix8zwcrpxEbGlfqOkF9kM3ptzmKNw5tizSyYwMe+nGLTqMK9cO+0E+Bh6TsBxNAaHWEM8xwSsmA==", "dev": true }, "chokidar": { diff --git a/assets/tailwind.config.js b/assets/tailwind.config.js index 871c9fa..62d50b7 100644 --- a/assets/tailwind.config.js +++ b/assets/tailwind.config.js @@ -1,19 +1,19 @@ module.exports = { - purge: [ + content: [ "../lib/**/*.ex", "../lib/**/*.leex", "../lib/**/*.eex", "../lib/**/*.heex", "./js/**/*.js", ], - darkMode: false, // or 'media' or 'class' + darkMode: 'media', // or 'media' or 'class' theme: { extend: { - colors: { - amber: '#ff9800', - 'light-grey': '#212121', + colors: { + amber: "#ff9800", + "light-grey": "#212121", }, - }, + }, }, variants: { extend: {},