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
@@ -5,13 +5,13 @@ import { getOriginalContainerHeightFromCache } from "@excalidraw/element";
import {
CODES,
colorToHex,
KEYS,
FONT_FAMILY,
TEXT_ALIGN,
THEME,
VERTICAL_ALIGN,
applyDarkModeFilter,
tinycolor,
} from "@excalidraw/common";
import type {
@@ -1672,7 +1672,7 @@ describe("textWysiwyg", () => {
// Helper to compare colors (browser may return rgb format)
const colorsAreEqual = (color1: string, color2: string) => {
return tinycolor(color1).toHex() === tinycolor(color2).toHex();
return colorToHex(color1) === colorToHex(color2);
};
beforeEach(async () => {