mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
reuse scss variables in js for SSOT (#2867)
This commit is contained in:
parent
978e85a33b
commit
d4e12a2962
20 changed files with 24 additions and 22 deletions
|
@ -1,4 +1,4 @@
|
|||
@import "./_variables";
|
||||
@import "./variables.module";
|
||||
@import "./theme";
|
||||
|
||||
.excalidraw {
|
||||
|
|
|
@ -2,3 +2,7 @@
|
|||
|
||||
// keep up to date with is-mobile.tsx
|
||||
$is-mobile-query: "(max-width: 600px), (max-height: 500px) and (max-width: 1000px)";
|
||||
|
||||
:export {
|
||||
isMobileQuery: unquote($is-mobile-query);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue