Compare commits
1 Commits
d1266f24a3
...
v0.1.12
| Author | SHA1 | Date | |
|---|---|---|---|
| 4921afe296 |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@panic/web-ui",
|
||||
"version": "0.1.11",
|
||||
"version": "0.1.12",
|
||||
"license": "AGPL-3.0-only",
|
||||
"description": "Core components for panic.haus web applications",
|
||||
"type": "module",
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
--field-disabled-border: #3f3f46;
|
||||
--field-disabled-text: #bbb6c3;
|
||||
--field-disabled-placeholder: #71717a;
|
||||
--field-selection-bg: rgb(var(--accent-500) / 0.42);
|
||||
--field-selection-text: var(--text-primary);
|
||||
--ghost-bg: rgba(24, 24, 27, 0.5);
|
||||
--ghost-border: #3f3f46;
|
||||
--ghost-hover: rgba(39, 39, 42, 0.7);
|
||||
@@ -69,6 +71,8 @@
|
||||
--field-disabled-border: #d7d7d7;
|
||||
--field-disabled-text: #71717a;
|
||||
--field-disabled-placeholder: #a1a1aa;
|
||||
--field-selection-bg: rgb(var(--accent-500) / 0.24);
|
||||
--field-selection-text: var(--text-primary);
|
||||
--ghost-bg: rgba(255, 255, 255, 0.88);
|
||||
--ghost-border: #d4d4d8;
|
||||
--ghost-hover: #f4f4f5;
|
||||
|
||||
@@ -24,6 +24,30 @@
|
||||
color: var(--text-soft);
|
||||
}
|
||||
|
||||
.field::selection {
|
||||
background-color: var(--field-selection-bg);
|
||||
color: var(--field-selection-text);
|
||||
-webkit-text-fill-color: var(--field-selection-text);
|
||||
}
|
||||
|
||||
.field[type='date']::-webkit-datetime-edit-day-field:focus,
|
||||
.field[type='date']::-webkit-datetime-edit-month-field:focus,
|
||||
.field[type='date']::-webkit-datetime-edit-year-field:focus,
|
||||
.field[type='time']::-webkit-datetime-edit-hour-field:focus,
|
||||
.field[type='time']::-webkit-datetime-edit-minute-field:focus,
|
||||
.field[type='time']::-webkit-datetime-edit-ampm-field:focus,
|
||||
.field[type='datetime-local']::-webkit-datetime-edit-day-field:focus,
|
||||
.field[type='datetime-local']::-webkit-datetime-edit-month-field:focus,
|
||||
.field[type='datetime-local']::-webkit-datetime-edit-year-field:focus,
|
||||
.field[type='datetime-local']::-webkit-datetime-edit-hour-field:focus,
|
||||
.field[type='datetime-local']::-webkit-datetime-edit-minute-field:focus,
|
||||
.field[type='datetime-local']::-webkit-datetime-edit-ampm-field:focus {
|
||||
border-radius: 0.375rem;
|
||||
background-color: var(--field-selection-bg);
|
||||
color: var(--field-selection-text);
|
||||
-webkit-text-fill-color: var(--field-selection-text);
|
||||
}
|
||||
|
||||
.field:disabled {
|
||||
border-color: var(--field-disabled-border);
|
||||
background-color: var(--field-disabled-bg);
|
||||
|
||||
Reference in New Issue
Block a user