1 $primary-color: #3367d6;
2 $secondary-color: #4285f4;
5 // /!\ Keep background colors sync with `theme-color` meta info
8 card-background: #ffffff,
11 text-subtitle: #424242,
12 card-shadow: rgba(0, 0, 0, 0.1),
17 card-background: #2b2b2b,
20 text-subtitle: #f5f5f5,
21 card-shadow: rgba(0, 0, 0, 0.4),
25 /* raleway-regular - latin */
27 font-family: 'Raleway';
31 src: local('Raleway'), local('Raleway-Regular'),
32 url('./webfonts/raleway/raleway-v14-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
33 url('./webfonts/raleway/raleway-v14-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
36 /* lato-regular - latin */
42 src: local('Lato Regular'), local('Lato-Regular'),
43 url('./webfonts/lato/lato-v16-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
44 url('./webfonts/lato/lato-v16-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
47 @mixin theme($theme) {
48 background-color: map-get($theme, "background");
49 color: map-get($theme, "text");
52 color: map-get($theme, "a-hover");
57 color: map-get($theme, "text-title");
60 color: map-get($theme, "text-subtitle");
64 background-color: map-get($theme, "card-background");
65 box-shadow: 0 2px 15px 0 map-get($theme, "card-shadow");
67 background-color: map-get($theme, "card-background");
72 background-color: map-get($theme, "card-background");
73 box-shadow: 0 2px 15px 0 map-get($theme, "card-shadow");
82 font-family: 'Raleway', sans-serif;
87 transition: background-color cubic-bezier(0.165, 0.84, 0.44, 1) 300ms;
90 @include theme($theme-light);
93 @media (prefers-color-scheme: light), (prefers-color-scheme: no-preference) {
94 @include theme($theme-light);
96 @media (prefers-color-scheme: dark) {
97 @include theme($theme-dark);
100 // User override theme
102 @include theme($theme-light);
105 @include theme($theme-dark);
109 h1, h2, h3, h4, h5, h6 {
110 font-family: 'Lato', sans-serif;
128 color: $secondary-color;
140 padding: 6px 0 0 80px;
145 vertical-align: center;
146 background-color: $primary-color;
179 background-color: $secondary-color;
185 background-color: lighten( $secondary-color, 5% );
196 border-bottom: 1px dashed #ccc;
197 padding-bottom: 10px;
208 text-overflow: ellipsis;
212 padding: 1.2rem .75rem;
217 box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.1);
234 color: $secondary-color;
235 background-color: $secondary-color;
241 transition: all 0.2s ease-out;
252 box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.1);
253 transition: cubic-bezier(0.165, 0.84, 0.44, 1) 300ms;
261 transform: translate(0, -3px);
284 .column div:first-of-type .card {
285 border-radius: 5px 5px 0 0;
288 .column div:last-child .card {
289 border-radius: 0 0 5px 5px;
302 transition: background-color cubic-bezier(0.165, 0.84, 0.44, 1) 300ms;
307 display: inline-block;
310 background-color: lighten( $secondary-color, 6% );
312 padding: 2px 12px 2px 30px;
314 transition: all 100ms linear;
323 background-color: #ffffff;
327 .search-label::before {
328 font-family: 'Font Awesome 5 Free';
338 &:focus-within .search-label::before {
344 display: inline-block;
358 vertical-align: middle;