We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0ae714d + 4909adf commit d7f5b20Copy full SHA for d7f5b20
src/views/Settings/ThemeTab.vue
@@ -59,6 +59,13 @@
59
:class="$style.input"
60
/>
61
<!-- eslint-enable vue/valid-v-model --->
62
+ <div>
63
+ <input
64
+ v-model="(val[name as keyof typeof val] as string)"
65
+ type="color"
66
+ :class="$style.colorInput"
67
+ />
68
+ </div>
69
</div>
70
71
@@ -136,17 +143,22 @@ const resetToDark = () => {
136
143
.color {
137
144
display: flex;
138
145
margin: 4px 0;
146
+ gap: 0.5rem;
139
147
}
140
148
.name {
141
149
@include color-ui-secondary;
142
- margin-right: 8px;
150
151
.input {
152
margin-left: auto;
153
154
155
.resetButtonContainer {
156
+ margin-top: 1rem;
157
158
gap: 1rem;
159
160
+.colorInput {
161
+ width: 3rem;
162
+ height: 100%;
163
+}
164
</style>
0 commit comments