diff --git a/package-lock.json b/package-lock.json index 2565d77..1838e32 100755 --- a/package-lock.json +++ b/package-lock.json @@ -43,8 +43,8 @@ "pug": "^3.0.2", "sanitize-filename": "^1.6.3", "sharp": "^0.31.3", - "shoelace-fontawesome-pug": "^6.2.1", - "shoelace-pug-loader": "^1.0.2", + "shoelace-fontawesome-pug": "^6.4.2", + "shoelace-pug-loader": "^2.9.2", "submodule": "^1.2.1", "tailwindcss": "^3.2.7", "typescript": "^5.1.6", @@ -7042,22 +7042,28 @@ } }, "node_modules/shoelace-fontawesome-pug": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/shoelace-fontawesome-pug/-/shoelace-fontawesome-pug-6.2.1.tgz", - "integrity": "sha512-Sk+GbhlM5paLBjeNGcQgJY7km6o3ORMnZ6TYDRSgrcmQwzL34fikfLKFhsydfAXWmMwik99qpvbc1lrwxtdcng==", + "version": "6.4.2", + "resolved": "https://registry.npmjs.org/shoelace-fontawesome-pug/-/shoelace-fontawesome-pug-6.4.2.tgz", + "integrity": "sha512-aV5oEqzJ/nXjMplRAGuWJ+v/a805M2oXq35cFLShB4ziU+6HgP3omhhuL5VVhZ7da10HzAXtEGqqXAEqrwRjVA==", "dependencies": { "pug": "^3.0.2" }, "bin": { "sl-fa": "sl-fa-bin.js" + }, + "engines": { + "node": ">=16.0.0" } }, "node_modules/shoelace-pug-loader": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/shoelace-pug-loader/-/shoelace-pug-loader-1.0.2.tgz", - "integrity": "sha512-KG+96K0p3ySKBJ5ew+5D7DdT1IjktHdG7IF152Q1ip45nQID4Eah+/N1QQApEGF+M2N9ln/DYIJiZFvafgP2wg==", + "version": "2.9.2", + "resolved": "https://registry.npmjs.org/shoelace-pug-loader/-/shoelace-pug-loader-2.9.2.tgz", + "integrity": "sha512-WZrZFViykg/gI8eQpwefhZnKXLyGlhNjZpTpw9YdaBv5XG7oe+LKKHfvLEmeVet35LGSg9TfmKltePLnYtn+lw==", "dependencies": { "pug": "^3.0.2" + }, + "engines": { + "node": ">0.0.0" } }, "node_modules/side-channel": { @@ -13324,17 +13330,17 @@ "integrity": "sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==" }, "shoelace-fontawesome-pug": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/shoelace-fontawesome-pug/-/shoelace-fontawesome-pug-6.2.1.tgz", - "integrity": "sha512-Sk+GbhlM5paLBjeNGcQgJY7km6o3ORMnZ6TYDRSgrcmQwzL34fikfLKFhsydfAXWmMwik99qpvbc1lrwxtdcng==", + "version": "6.4.2", + "resolved": "https://registry.npmjs.org/shoelace-fontawesome-pug/-/shoelace-fontawesome-pug-6.4.2.tgz", + "integrity": "sha512-aV5oEqzJ/nXjMplRAGuWJ+v/a805M2oXq35cFLShB4ziU+6HgP3omhhuL5VVhZ7da10HzAXtEGqqXAEqrwRjVA==", "requires": { "pug": "^3.0.2" } }, "shoelace-pug-loader": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/shoelace-pug-loader/-/shoelace-pug-loader-1.0.2.tgz", - "integrity": "sha512-KG+96K0p3ySKBJ5ew+5D7DdT1IjktHdG7IF152Q1ip45nQID4Eah+/N1QQApEGF+M2N9ln/DYIJiZFvafgP2wg==", + "version": "2.9.2", + "resolved": "https://registry.npmjs.org/shoelace-pug-loader/-/shoelace-pug-loader-2.9.2.tgz", + "integrity": "sha512-WZrZFViykg/gI8eQpwefhZnKXLyGlhNjZpTpw9YdaBv5XG7oe+LKKHfvLEmeVet35LGSg9TfmKltePLnYtn+lw==", "requires": { "pug": "^3.0.2" } diff --git a/package.json b/package.json index cf47ec9..d9adacf 100644 --- a/package.json +++ b/package.json @@ -58,8 +58,8 @@ "pug": "^3.0.2", "sanitize-filename": "^1.6.3", "sharp": "^0.31.3", - "shoelace-fontawesome-pug": "^6.2.1", - "shoelace-pug-loader": "^1.0.2", + "shoelace-fontawesome-pug": "^6.4.2", + "shoelace-pug-loader": "^2.9.2", "submodule": "^1.2.1", "tailwindcss": "^3.2.7", "typescript": "^5.1.6", diff --git a/views2/setup.pug b/views2/setup.pug index d69bcb5..5337a7c 100644 --- a/views2/setup.pug +++ b/views2/setup.pug @@ -6,12 +6,11 @@ html.dark.sl-theme-dark(lang='en') title ass setup meta(name='theme-color' content='black') link(rel='stylesheet', href='/.css') - //- Shoelace-FontAwesome Pug mixin + //- Shoelace/Font Awesome mixins include ../node_modules/shoelace-fontawesome-pug/sl-fa-mixin.pug include ../node_modules/shoelace-pug-loader/loader.pug +slTheme('dark') - //- Shoelace components - +slComponents('input', 'icon', 'button') + +slAuto body.w-screen.h-screen.flex.flex-col //- Header