From a9072370ca1eb9a5cce928b1d487db0f307edea6 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Tue, 20 Sep 2022 15:24:27 +0800 Subject: feat: Move old apps into it's own directory --- old-apps/web-shared/src/styles/base/_breakpoints.scss | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 old-apps/web-shared/src/styles/base/_breakpoints.scss (limited to 'old-apps/web-shared/src/styles/base/_breakpoints.scss') diff --git a/old-apps/web-shared/src/styles/base/_breakpoints.scss b/old-apps/web-shared/src/styles/base/_breakpoints.scss new file mode 100644 index 0000000..9b61af3 --- /dev/null +++ b/old-apps/web-shared/src/styles/base/_breakpoints.scss @@ -0,0 +1,19 @@ +$breakpoints: ( + xs: "768px", + sm: "768px", + md: "1200px", + lg: "1200px", + xl: "1600px" +) !default; + +@mixin breakpoint($breakpoint, $logic: false) { + @if ($logic) { + @media #{$logic} and (min-width: map-get($map: $breakpoints, $key: $breakpoint)) { + @content; + } + } @else { + @media (min-width: map-get($map: $breakpoints, $key: $breakpoint)) { + @content; + } + } +} -- cgit v1.3