Making scroll theme agnostic

This commit is contained in:
Stamm
2020-03-12 13:03:56 +01:00
parent 4de6315dda
commit 36cee2c1f7
5 changed files with 30 additions and 29 deletions

View File

@ -1,27 +1,29 @@
/* latin */
@font-face {
font-family: 'Roboto';
font-family: "Roboto";
font-style: normal;
font-weight: 400;
font-display: swap;
src: local('Roboto'), local('Roboto-Regular'), url(../Roboto-Regular.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
src: local("Roboto"), local("Roboto-Regular"),
url(../Roboto-Regular.woff2) format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
U+2215, U+FEFF, U+FFFD;
}
:root {
--primary: #1E88E5;
--primary: #1e88e5;
// 1e88e5 or 196eb9 => Needs further investigations
--on-primary: white;
--secondary: #d8701b;
--on-secondary: black;
--error: rgb(255, 0, 0);
--on-error: white;
--primary-transparent: #196eb917;
--success: #28a745;
--on-success: white;
}
$primary: var(--primary) !default;
@ -44,4 +46,5 @@ $on-success: var(--on-success) !default;
@import "./base/_header.scss";
@import "./base/_card.scss";
@import "./base/_grid.scss";
@import "./base/table.scss";
@import "./base/_table.scss";
@import "./base/_scroll";