feat:增加点和数字切换,减小点最大尺寸,增加range配色方案

This commit is contained in:
lenn
2026-04-09 09:17:07 +08:00
parent 1c3a811154
commit a3cefc3c79
78 changed files with 786 additions and 296 deletions

View File

@@ -89,6 +89,10 @@
colorMapPreset = "emerald";
}
function handleSubmit(): void {
dispatch("close");
}
$: selectedColorMap = colorMapOptions.find((option) => option.id === colorMapPreset) ?? colorMapOptions[0];
$: {
@@ -120,7 +124,7 @@
}
</script>
<section class="config-panel" aria-label={title}>
<form class="config-panel" aria-label={title} on:submit|preventDefault={handleSubmit}>
<header class="config-head">
<div class="config-copy">
<p class="config-label">Stage Config</p>
@@ -214,7 +218,7 @@
<p class="live-note">{applyLiveHint}</p>
<button type="button" class="reset-btn" on:click={resetDefaults}>{resetLabel}</button>
</footer>
</section>
</form>
<style>
.config-panel {