Files
scratch-gui/src/lib/tw-theme-dark.css
T

112 lines
2.5 KiB
CSS

/* GUI */
:root {
background: #111;
color: #eee;
color-scheme: dark;
/* see colors.csss */
--ui-primary: rgb(17, 17, 17);
--ui-secondary: rgb(30, 30, 30);
--ui-tertiary: rgb(46, 46, 46);
--ui-modal-overlay: #333a;
--ui-black-transparent: rgba(255, 255, 255, 0.15);
--text-primary: #eee;
/* scratch-paint */
--paint-ui-pane-border: var(--ui-black-transparent);
--paint-text-primary: #eee;
--paint-form-border: var(--ui-black-transparent);
}
/* Blockly */
.blocklySvg {
background-color: var(--ui-secondary) !important;
color-scheme: light;
}
[id^="blocklyGridPattern"] > line {
stroke: #484848;
}
.blocklyFlyoutBackground {
fill: #111;
}
.blocklyFlyoutLabelText {
fill: #ccc;
}
.blocklyFlyoutButton .blocklyText {
fill: #ccc;
}
.blocklyFlyoutButton:hover {
fill: #111;
}
/* blocklyFlyoutCheckboxPath stroke and blocklyFlyoutCheckbox fill must match */
.blocklyFlyoutCheckboxPath {
stroke: #111;
}
.blocklyFlyoutCheckbox {
fill: #111;
}
.checked > .blocklyFlyoutCheckbox {
stroke: #a1c6fa;
}
.checked > .blocklyFlyoutCheckboxPath {
stroke: white;
}
.scratchCategoryMenu {
color: #ccc;
}
.blocklyToolboxDiv,
.scratchCategoryMenu {
background: #111 !important;
}
.blocklyScrollbarHandle {
fill: #666;
}
.blocklyZoom {
filter: invert(100%);
}
.scratchCategoryMenuItem.categorySelected {
background: var(--ui-secondary);
}
.valueReportBox {
color: black;
}
.blocklyWidgetDiv {
color-scheme: light;
}
.blocklyWidgetDiv .goog-menu {
background: var(--ui-primary);
border-color: var(--ui-black-transparent);
}
.blocklyWidgetDiv .goog-menuitem {
color: var(--text-primary);
}
.blocklyWidgetDiv .goog-menuitem-disabled .goog-menuitem-content {
color: #666 !important;
}
.sa-blockly-menu-item-border {
border-top-color: var(--ui-black-transparent) !important;
}
.blocklyWidgetDiv .goog-menuitem.goog-menuitem-highlight {
background-color: var(--ui-tertiary);
border-color: transparent; /* remove border */
}
.scratchCommentText {
color: black;
}
.blocklyInsertionMarker > .blocklyPath {
fill: #ccc;
}
/* Other / Multipurpose */
.Popover {
/* weird Chrome bug displays white bar above popovers with color-scheme: dark */
color-scheme: light;
}
.Popover-body {
background: var(--ui-secondary);
border-color: var(--ui-black-transparent);
color: var(--text-primary);
}
.Popover-tipShape {
fill: var(--ui-secondary);
stroke: var(--ui-black-transparent);
}