From ad8b844942d1c87783cd3806d3e081b4f6398001 Mon Sep 17 00:00:00 2001 From: Suraj Shetty Date: Tue, 25 May 2021 15:51:59 +0530 Subject: [PATCH] feat: Add grid breakpoint css_variables So that other apps does not have to be dependant on 'variables' file to get grid sizes --- frappe/public/scss/desk/css_variables.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/frappe/public/scss/desk/css_variables.scss b/frappe/public/scss/desk/css_variables.scss index 135bb7a9f5..5bb2614dcc 100644 --- a/frappe/public/scss/desk/css_variables.scss +++ b/frappe/public/scss/desk/css_variables.scss @@ -13,6 +13,14 @@ $input-height: 28px !default; --text-2xl: 20px; --text-3xl: 22px; + // breakpoints + --xxl-width: map-get($grid-breakpoints, '2xl'); + --xl-width: map-get($grid-breakpoints, 'xl'); + --lg-width: map-get($grid-breakpoints, 'lg'); + --md-width: map-get($grid-breakpoints, 'md'); + --sm-width: map-get($grid-breakpoints, 'sm'); + --xs-width: map-get($grid-breakpoints, 'xs'); + --text-bold: 500; --navbar-height: 60px;