taxonomy/styles/editor.css
2023-04-24 15:10:49 +04:00

61 lines
No EOL
1.5 KiB
CSS

.dark .ce-block--selected .ce-block__content,
.dark .ce-inline-toolbar,
.dark .codex-editor--narrow .ce-toolbox,
.dark .ce-conversion-toolbar,
.dark .ce-settings,
.dark .ce-settings__button,
.dark .ce-toolbar__settings-btn,
.dark .cdx-button,
.dark .ce-popover,
.dark .ce-toolbar__plus:hover {
background: theme('colors.popover.DEFAULT');
color: inherit;
border-color: theme('colors.border');
}
.dark .ce-inline-tool,
.dark .ce-conversion-toolbar__label,
.dark .ce-toolbox__button,
.dark .cdx-settings-button,
.dark .ce-toolbar__plus {
color: inherit;
}
.dark .ce-popover__item-icon,
.dark .ce-conversion-tool__icon {
background-color: theme('colors.muted.DEFAULT');
box-shadow: none;
}
.dark .cdx-search-field {
border-color: theme('colors.border');
background: theme('colors.input');
color: inherit;
}
.dark ::selection {
background: theme('colors.accent.DEFAULT');
}
.dark .cdx-settings-button:hover,
.dark .ce-settings__button:hover,
.dark .ce-toolbox__button--active,
.dark .ce-toolbox__button:hover,
.dark .cdx-button:hover,
.dark .ce-inline-toolbar__dropdown:hover,
.dark .ce-inline-tool:hover,
.dark .ce-popover__item:hover,
.dark .ce-conversion-tool:hover,
.dark .ce-toolbar__settings-btn:hover {
background-color:theme('colors.accent.DEFAULT');
color: theme('colors.accent.foreground');;
}
.dark .cdx-notify--error {
background: theme('colors.destructive.DEFAULT') !important;
}
.dark .cdx-notify__cross::after,
.dark .cdx-notify__cross::before {
background: white;
}