reuse scss variables in js for SSOT (#2867)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
@import "open-color/open-color.scss";
|
||||
|
||||
// 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);
|
||||
}
|
||||
Reference in New Issue
Block a user