mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-18 15:00:39 +02:00

Co-authored-by: dwelle <luzar.david@gmail.com> Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
38 lines
796 B
SCSS
38 lines
796 B
SCSS
@import "open-color/open-color.scss";
|
|
|
|
@mixin isMobile() {
|
|
@at-root .excalidraw--mobile#{&} {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
@mixin toolbarButtonColorStates {
|
|
.ToolIcon_type_radio,
|
|
.ToolIcon_type_checkbox {
|
|
& + .ToolIcon__icon:active {
|
|
background: var(--color-primary-light);
|
|
}
|
|
&:checked + .ToolIcon__icon {
|
|
background: var(--color-primary);
|
|
--icon-fill-color: #{$oc-white};
|
|
--keybinding-color: #{$oc-white};
|
|
}
|
|
&:checked + .ToolIcon__icon:active {
|
|
background: var(--color-primary-darker);
|
|
}
|
|
}
|
|
|
|
.ToolIcon__keybinding {
|
|
bottom: 4px;
|
|
right: 4px;
|
|
}
|
|
}
|
|
|
|
$theme-filter: "invert(93%) hue-rotate(180deg)";
|
|
$right-sidebar-width: "302px";
|
|
|
|
:export {
|
|
themeFilter: unquote($theme-filter);
|
|
rightSidebarWidth: unquote($right-sidebar-width);
|
|
}
|