diff --git a/icons.config.js b/icons.config.js index 864ec2fa..d4f1158b 100644 --- a/icons.config.js +++ b/icons.config.js @@ -16,6 +16,10 @@ export default { "warning", "cable", "person", + "sync", + "restart_alt", + "usb", + "rule_settings", ], codePoints: { speed: "e9e4", diff --git a/package-lock.json b/package-lock.json index acaeb339..25f133f0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,6 +16,7 @@ "@theaninova/prettier-config": "^1.0.0", "@types/w3c-web-serial": "^1.0.3", "@vite-pwa/sveltekit": "^0.2.5", + "autoprefixer": "^10.4.14", "fontkit": "^2.0.2", "prettier": "^2.8.0", "prettier-plugin-svelte": "^2.10.1", @@ -2623,6 +2624,39 @@ "node": ">= 4.0.0" } }, + "node_modules/autoprefixer": { + "version": "10.4.14", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.14.tgz", + "integrity": "sha512-FQzyfOsTlwVzjHxKEqRIAdJx9niO6VCBCoEwax/VLSoQF29ggECcPuBqUMZ+u8jCZOPSy8b8/8KnuFbp0SaFZQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/autoprefixer" + } + ], + "dependencies": { + "browserslist": "^4.21.5", + "caniuse-lite": "^1.0.30001464", + "fraction.js": "^4.2.0", + "normalize-range": "^0.1.2", + "picocolors": "^1.0.0", + "postcss-value-parser": "^4.2.0" + }, + "bin": { + "autoprefixer": "bin/autoprefixer" + }, + "engines": { + "node": "^10 || ^12 || >=14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, "node_modules/available-typed-arrays": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", @@ -3645,6 +3679,19 @@ "is-callable": "^1.1.3" } }, + "node_modules/fraction.js": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.2.0.tgz", + "integrity": "sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==", + "dev": true, + "engines": { + "node": "*" + }, + "funding": { + "type": "patreon", + "url": "https://www.patreon.com/infusion" + } + }, "node_modules/fs-extra": { "version": "9.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", @@ -4974,6 +5021,15 @@ "node": ">=0.10.0" } }, + "node_modules/normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/object-inspect": { "version": "1.12.3", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", diff --git a/package.json b/package.json index ad9fe5b8..a53846a9 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,7 @@ "vite": "^4.3.6", "vite-plugin-pwa": "^0.16.4", "svelte-preprocess": "^5.0.4", + "autoprefixer": "^10.4.14", "sass": "^1.63.6" }, "type": "module", diff --git a/src/lib/assets/quater-ring.svg b/src/lib/assets/quater-ring.svg new file mode 100644 index 00000000..c3566641 --- /dev/null +++ b/src/lib/assets/quater-ring.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/src/lib/components/LayoutCC1.svelte b/src/lib/components/LayoutCC1.svelte new file mode 100644 index 00000000..367cd6a8 --- /dev/null +++ b/src/lib/components/LayoutCC1.svelte @@ -0,0 +1,5 @@ + + + diff --git a/src/lib/components/RingInput.svelte b/src/lib/components/RingInput.svelte new file mode 100644 index 00000000..7fdbc266 --- /dev/null +++ b/src/lib/components/RingInput.svelte @@ -0,0 +1,125 @@ + + +
+ {#each Array.from({length: layers}) as _, i} + +
+ + + + +
+ {/each} +
+ + diff --git a/src/routes/config/layout/+page.svelte b/src/routes/config/layout/+page.svelte index e69de29b..1e7b077a 100644 --- a/src/routes/config/layout/+page.svelte +++ b/src/routes/config/layout/+page.svelte @@ -0,0 +1,5 @@ + + + diff --git a/svelte.config.js b/svelte.config.js index 49944fab..21ac37f4 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -1,9 +1,10 @@ import adapter from "@sveltejs/adapter-static" import preprocess from "svelte-preprocess" +import autoprefixer from "autoprefixer" /** @type {import('@sveltejs/kit').Config} */ const config = { - preprocess: [preprocess()], + preprocess: [preprocess({postcss: {plugins: autoprefixer()}})], kit: { adapter: adapter(), },