inputfield: readonly is more prominent
This commit is contained in:
@@ -132,8 +132,11 @@
|
||||
{/if}
|
||||
{#if readonly}
|
||||
<input {name} type="hidden" bind:value />
|
||||
{/if}
|
||||
{#if type === 'select'}
|
||||
|
||||
<span class="label"
|
||||
>{type == 'select' && typeof value === 'number' ? options[value].label : value}</span
|
||||
>
|
||||
{:else if type === 'select'}
|
||||
<select
|
||||
{name}
|
||||
bind:value
|
||||
@@ -176,7 +179,7 @@
|
||||
<style>
|
||||
:root {
|
||||
--form-control-color: var(--green); /* Changed from #6bff55 */
|
||||
--form-control-disabled: var(--overlay0); /* Changed from #959495 */
|
||||
--form-control-disabled: var(--subtext1); /* Changed from #959495 */
|
||||
}
|
||||
|
||||
.form-control {
|
||||
|
||||
Reference in New Issue
Block a user