@floegence/floe-webapp-core 0.103.2 → 0.103.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ui/ThemePicker.js +75 -56
- package/dist/styles.css +1 -1
- package/dist/ui.css +3 -3
- package/package.json +1 -1
package/dist/ui.css
CHANGED
|
@@ -1952,14 +1952,14 @@
|
|
|
1952
1952
|
status and show progress on the exact choice being committed. */
|
|
1953
1953
|
.floe-theme-picker__status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
|
|
1954
1954
|
.floe-theme-picker button { position: relative; }
|
|
1955
|
-
.floe-theme-picker button[
|
|
1955
|
+
.floe-theme-picker button[data-progress]::after { content: ''; position: absolute; inset-inline-end: 3px; top: 3px; width: 8px; height: 8px; border: 1px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: floe-theme-picker-spin 700ms linear infinite; }
|
|
1956
1956
|
@keyframes floe-theme-picker-spin { to { transform: rotate(360deg); } }
|
|
1957
1957
|
.floe-theme-picker__presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
|
|
1958
1958
|
.floe-theme-picker__presets > button { min-width: 0; padding: 6px; border: 1px solid var(--border); border-radius: var(--floe-radius-md); background: var(--card); text-align: start; cursor: pointer; transition: border-color var(--floe-duration-fast), background-color var(--floe-duration-fast); }
|
|
1959
1959
|
.floe-theme-picker__presets > button:hover { background: var(--accent); }
|
|
1960
1960
|
.floe-theme-picker__presets > [aria-checked='true'] { border-color: var(--primary); background: var(--accent); }
|
|
1961
1961
|
.floe-theme-picker button:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
|
|
1962
|
-
.floe-theme-picker button[aria-disabled='true'] {
|
|
1962
|
+
.floe-theme-picker button:active:not([aria-disabled='true']) { background: var(--accent); }
|
|
1963
1963
|
.floe-theme-picker__preview { display: flex; gap: 6px; height: 48px; padding: 6px; border: 1px solid var(--theme-preview-border, var(--border)); border-radius: var(--floe-radius-sm); background: var(--theme-preview-bg, var(--background)); }
|
|
1964
1964
|
.floe-theme-picker__preview-sidebar { width: 12px; border-radius: 3px; background: var(--theme-preview-sidebar, var(--muted)); }
|
|
1965
1965
|
.floe-theme-picker__preview-body { display: flex; flex: 1; min-width: 0; flex-direction: column; justify-content: space-between; padding: 5px; border-radius: 3px; background: var(--theme-preview-surface, var(--card)); }
|
|
@@ -1973,7 +1973,7 @@
|
|
|
1973
1973
|
.floe-theme-picker__check { display: inline-flex; width: 14px; height: 14px; flex: none; visibility: hidden; }
|
|
1974
1974
|
.floe-theme-picker__check > svg { width: 14px; height: 14px; }
|
|
1975
1975
|
[aria-checked='true'] > .floe-theme-picker__caption > .floe-theme-picker__check { visibility: visible; }
|
|
1976
|
-
.floe-theme-picker__error { margin-
|
|
1976
|
+
.floe-theme-picker__error { display: block; white-space: normal; overflow-wrap: anywhere; margin-block: 4px; font-size: var(--floe-type-control); color: var(--destructive); }
|
|
1977
1977
|
@container floe-theme-picker (width < 450px) { .floe-theme-picker__presets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
|
1978
1978
|
@media (pointer: coarse) { .floe-theme-picker__modes > button { min-height: 44px; } }
|
|
1979
1979
|
@media (prefers-reduced-motion: reduce) { .floe-theme-picker button { transition: none; } .floe-theme-picker button::after { animation: none; } }
|