feat: Add global.scss & use scss for new ui
This commit is contained in:
parent
666929865f
commit
ecfa933277
4 changed files with 54 additions and 44 deletions
|
|
@ -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": [
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
9
frappe/public/scss/global.scss
Normal file
9
frappe/public/scss/global.scss
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
@import "variables";
|
||||
|
||||
body {
|
||||
font-family: Inter;
|
||||
}
|
||||
|
||||
a {
|
||||
color: $text-color;
|
||||
}
|
||||
44
frappe/public/scss/new_ui.scss
Normal file
44
frappe/public/scss/new_ui.scss
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue