From 3d1be38858c7c1397f16c168f0ac695cb01978ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thea=20Sch=C3=B6bl?= Date: Thu, 6 Jul 2023 22:54:48 +0200 Subject: [PATCH] radial thing --- icons.config.js | 3 + src/lib/components/LayoutCC1.svelte | 94 ++++++++++++++++++++++++++++- src/lib/components/RingInput.svelte | 38 ++++++++---- 3 files changed, 123 insertions(+), 12 deletions(-) diff --git a/icons.config.js b/icons.config.js index d4f1158b..6930cb79 100644 --- a/icons.config.js +++ b/icons.config.js @@ -20,6 +20,9 @@ export default { "restart_alt", "usb", "rule_settings", + "123", + "abc", + "function", ], codePoints: { speed: "e9e4", diff --git a/src/lib/components/LayoutCC1.svelte b/src/lib/components/LayoutCC1.svelte index 367cd6a8..f74e5c63 100644 --- a/src/lib/components/LayoutCC1.svelte +++ b/src/lib/components/LayoutCC1.svelte @@ -1,5 +1,97 @@ - +
+ {#each [["Numeric Layer", "123", 1], ["Primary Layer", "abc", 0], ["Function Layer", "function", 2]] as [title, icon, value]} + + {/each} +
+ +
+ +
+ + +
+
+ + +
+ +
+ + diff --git a/src/lib/components/RingInput.svelte b/src/lib/components/RingInput.svelte index aa596057..ef47db23 100644 --- a/src/lib/components/RingInput.svelte +++ b/src/lib/components/RingInput.svelte @@ -1,6 +1,5 @@
- {#each layout as key, j} - - @@ -24,6 +38,8 @@