refac
This commit is contained in:
1 parent
c8f8fa451a
commit
29541cbb52
2 files changed
+9
-4
No files matched your search
@@ -409,6 +409,13 @@ input[type='number'] {
|
|||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* unlayered, so it beats the outline-none utilities used across the app */
|
||||||
|
:focus-visible,
|
||||||
|
.ProseMirror:focus-visible {
|
||||||
|
outline: 2px solid theme(--color-blue-500);
|
||||||
|
outline-offset: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
.ProseMirror p.is-editor-empty:first-child::before {
|
.ProseMirror p.is-editor-empty:first-child::before {
|
||||||
content: attr(data-placeholder);
|
content: attr(data-placeholder);
|
||||||
float: left;
|
float: left;
|
||||||
|
|||||||
@@ -38,10 +38,8 @@
|
|||||||
aria-label={ariaLabel || undefined}
|
aria-label={ariaLabel || undefined}
|
||||||
class="relative h-4 min-h-4 w-7 shrink-0 cursor-pointer rounded-full mx-[0.0625rem] transition-colors duration-150 disabled:cursor-not-allowed {($settings?.highContrastMode ??
|
class="relative h-4 min-h-4 w-7 shrink-0 cursor-pointer rounded-full mx-[0.0625rem] transition-colors duration-150 disabled:cursor-not-allowed {($settings?.highContrastMode ??
|
||||||
false)
|
false)
|
||||||
? 'focus:outline focus:outline-2 focus:outline-gray-800 focus:dark:outline-gray-200'
|
? 'focus:outline focus:outline-2 focus:outline-gray-800! focus:dark:outline-gray-200!'
|
||||||
: 'focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-gray-400 dark:focus-visible:outline-gray-500'} {state
|
: ''} {state ? 'bg-gray-900 dark:bg-white' : 'bg-gray-300 dark:bg-gray-700'}"
|
||||||
? 'bg-gray-900 dark:bg-white'
|
|
||||||
: 'bg-gray-300 dark:bg-gray-700'}"
|
|
||||||
onCheckedChange={async () => {
|
onCheckedChange={async () => {
|
||||||
await tick();
|
await tick();
|
||||||
dispatch('change', state);
|
dispatch('change', state);
|
||||||
|
|||||||
Reference in new issue
Block a user