Skip to content

Commit ecb09f8

Browse files
committed
fix: enhance table properties form styles for dark and light themes
1 parent 7cca8ff commit ecb09f8

File tree

1 file changed

+64
-1
lines changed

1 file changed

+64
-1
lines changed

custom/quillEditor.vue

Lines changed: 64 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,13 @@ function removeCompletionOnBlur() {
756756
@apply dark:bg-darkInputBackground;
757757
}
758758
759-
.ql-table-menus-container, .ql-table-dropdown-list {
759+
.ql-table-menus-container, .ql-table-dropdown-list, .ql-table-properties-form {
760+
761+
h2 {
762+
@apply dark:text-darkInputText;
763+
@apply text-lightInputText;
764+
}
765+
760766
@apply dark:bg-darkForm;
761767
@apply bg-lightForm;
762768
@apply dark:border-darkInputBorder;
@@ -791,8 +797,48 @@ function removeCompletionOnBlur() {
791797
@apply dark:fill-darkInputBackground dark:stroke-darkPrimary;
792798
}
793799
800+
.properties-form-action-row {
801+
button {
802+
@apply dark:bg-darkEditViewButtonBackground;
803+
@apply bg-lightEditViewButtonBackground;
804+
@apply dark:text-darkInputText;
805+
@apply text-lightInputText;
806+
807+
&:hover {
808+
@apply dark:bg-darkEditViewButtonBackgroundHover;
809+
@apply bg-lightEditViewButtonBackgroundHover;
810+
}
811+
}
812+
}
813+
814+
label {
815+
top: -75%;
816+
@apply dark:text-darkInputText;
817+
@apply text-lightInputText;
818+
@apply dark:bg-darkForm;
819+
@apply bg-lightForm;
820+
}
794821
}
795822
823+
.ql-table-properties-form .properties-form-row .ql-table-check-container .ql-table-btns-checked {
824+
@apply dark:bg-darkEditViewButtonBackgroundHover;
825+
@apply bg-lightEditViewButtonBackgroundHover;
826+
svg path {
827+
@apply dark:stroke-darkPrimary;
828+
@apply stroke-lightPrimary;
829+
}
830+
}
831+
832+
.ql-table-properties-form .properties-form-row .ql-table-check-container .ql-table-tooltip-hover:hover {
833+
@apply dark:bg-darkEditViewButtonBackgroundHover;
834+
@apply bg-lightEditViewButtonBackgroundHover;
835+
}
836+
837+
.ql-table-dropdown-properties .ql-table-dropdown-list li:hover {
838+
@apply dark:bg-darkInputBackground;
839+
@apply bg-lightInputBackground;
840+
}
841+
796842
.ql-table-dropdown,.ql-table-dropdown li {
797843
&:hover {
798844
@apply dark:bg-darkInputBackground;
@@ -813,4 +859,21 @@ function removeCompletionOnBlur() {
813859
border-bottom: theme('colors.darkForm') !important;
814860
}
815861
862+
.ql-table-color-container .color-picker .color-picker-select {
863+
@apply dark:bg-darkForm;
864+
@apply bg-lightForm;
865+
.erase-container:hover {
866+
@apply dark:bg-darkInputBackground;
867+
@apply bg-lightInputBackground;
868+
}
869+
svg path {
870+
@apply dark:stroke-darkPrimary;
871+
@apply stroke-lightPrimary;
872+
}
873+
.color-picker-palette {
874+
@apply dark:bg-darkForm;
875+
@apply bg-lightForm;
876+
}
877+
}
878+
816879
</style>

0 commit comments

Comments
 (0)