Spaces:
Runtime error
Runtime error
File size: 1,320 Bytes
8fd7a1d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
@import "../../css/colors.css";
/* This is for overriding some styles that don't really "belong" to any existing stylesheets */
/* Try to use this sparingly, otherwise this will become unmaintainable again... */
:root {
color-scheme: var(--color-scheme);
}
/* popover is used by gui and paint */
/* some of these are duplicated over there too; !important makes sure these win */
:global(.Popover) {
color-scheme: light !important;
}
:global(.Popover-body) {
color: $text-primary !important;
background: $popover-background !important;
border: 1px solid $ui-black-transparent !important;
box-shadow: 0px 0px 8px 1px $shadow !important;
}
:global(.Popover-tipShape) {
fill: $popover-background !important;
stroke: $ui-black-transparent !important;
}
/* ScratchAdddons editor-dark-mode compatibility */
:root {
--editorDarkMode-primary: $looks-secondary;
--editorDarkMode-primary-transparent35: $looks-transparent;
--editorDarkMode-primary-variant: $looks-secondary-dark;
--editorDarkMode-border: $ui-black-transparent;
--editorDarkMode-accent: $ui-modal-background;
--editorDarkMode-categoryMenu-text: $text-primary;
--editorDarkMode-accent-text: $text-primary;
--editorDarkMode-page: $ui-primary;
--editorDarkMode-highlightText: $looks-secondary;
}
|