Spaces:
Runtime error
Runtime error
@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 ; | |
} | |
:global(.Popover-body) { | |
color: $text-primary ; | |
background: $popover-background ; | |
border: 1px solid $ui-black-transparent ; | |
box-shadow: 0px 0px 8px 1px $shadow ; | |
} | |
:global(.Popover-tipShape) { | |
fill: $popover-background | ;|
stroke: $ui-black-transparent | ;|
} | |
/* 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; | |
} | |