feat: Add global.scss & use scss for new ui

This commit is contained in:
Suraj Shetty 2020-05-09 13:55:49 +05:30
parent 666929865f
commit ecfa933277
4 changed files with 54 additions and 44 deletions

View file

@ -113,6 +113,7 @@
"public/less/social.less",
"public/scss/website.scss",
"public/scss/new_ui.scss",
"public/scss/global.scss",
"node_modules/frappe-charts/dist/frappe-charts.min.css"
],
"css/frappe-rtl.css": [

View file

@ -1,44 +0,0 @@
@import "variables.less";
body {
font-family: Inter;
}
a {
color: @text-color;
}
.btn {
border: none;
border-radius: @border-radius;
}
.btn-secondary, .btn-default {
background-color: @control-bg;
}
.btn-primary {
background: @brand-gradient;
}
.form-control {
border: none;
background-color: @control-bg;
color: @text-light;
box-shadow: none;
border-radius: @border-radius;
}
.navbar-default {
background: white;
border-bottom: 1px solid @border-color;
}
h1, h2, h3 {
color: @text-color;
font-weight: bold;
}
h1 {
font-size: 20px;
}

View file

@ -0,0 +1,9 @@
@import "variables";
body {
font-family: Inter;
}
a {
color: $text-color;
}

View file

@ -0,0 +1,44 @@
@import "variables";
body {
font-family: Inter;
}
a {
color: $text-color;
}
.btn {
border: none;
border-radius: $border-radius;
}
.btn-secondary, .btn-default {
background-color: $control-bg;
}
.btn-primary {
background: $brand-gradient;
}
.form-control {
border: none;
background-color: $control-bg;
color: $text-light;
box-shadow: none;
border-radius: $border-radius;
}
.navbar-default {
background: white;
border-bottom: 1px solid $border-color;
}
h1, h2, h3 {
color: $text-color;
font-weight: bold;
}
h1 {
font-size: 20px;
}