refactor: update SCSS syntax & remove open-color dep (#10633)

This commit is contained in:
David Luzar
2026-01-10 18:15:14 +01:00
committed by GitHub
parent cc6c29c0b9
commit b9a255407f
78 changed files with 526 additions and 410 deletions
@@ -1,5 +1,4 @@
@import "open-color/open-color";
@import "../../css/variables.module.scss";
@use "../../css/variables.module" as *;
.excalidraw {
.sidebar {
@@ -19,6 +18,12 @@
pointer-events: var(--ui-pointerEvents);
overflow: hidden;
border-radius: 0;
width: calc(var(--right-sidebar-width) - var(--space-factor) * 2);
border-left: 1px solid var(--sidebar-border-color);
:root[dir="rtl"] & {
left: 0;
right: auto;
@@ -28,12 +33,6 @@
box-shadow: none;
}
overflow: hidden;
border-radius: 0;
width: calc(var(--right-sidebar-width) - var(--space-factor) * 2);
border-left: 1px solid var(--sidebar-border-color);
:root[dir="rtl"] & {
border-right: 1px solid var(--sidebar-border-color);
border-left: 0;
@@ -1,4 +1,4 @@
@import "../../css/variables.module.scss";
@use "../../css/variables.module" as *;
.excalidraw {
.sidebar-trigger {