This commit is contained in:
2026-01-13 01:38:15 -05:00
parent b67235b93d
commit d9db2a771d
10 changed files with 334 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
<template id="color-picker-template">
<style></style>
:host {
display: inline-block;
font-family: sans-serif;
}
.wrapper {
display: flex;
align-items: center;
gap: 0.5rem;
}
input[type="color"] {
border: none;
width: 2rem;
height: 2rem;
padding: 0;
background: none;
}
label {
font-size: 0.9rem;
user-select: none;
}
</style>
<div class="wrapper">
<label for="color-input">Background:</label>
<input type="color" id="color-input" value="#ffffff">
</div>
</template>