Files: ca60633113df0b41f3bab3e4319dcd13a9c9555e / styles / mixins.js
482 bytesRaw
1 | const nest = require('depnest') |
2 | const { assign } = Object |
3 | |
4 | exports.gives = nest('styles.mixins') |
5 | |
6 | exports.create = (api) => { |
7 | return nest('styles.mixins', (sofar = {}) => { |
8 | return assign(sofar, { mainMixins }) |
9 | }) |
10 | } |
11 | |
12 | const mainMixins = ` |
13 | $primaryColor { |
14 | color: white |
15 | background-color: #3dc8c3 |
16 | } |
17 | |
18 | $colorSubtle { |
19 | color: #222 |
20 | } |
21 | |
22 | $smallAvatar { |
23 | width: 3rem |
24 | height: 3rem |
25 | border-radius: 1.5rem |
26 | } |
27 | |
28 | $largeAvatar { |
29 | width: 6rem |
30 | height: 6rem |
31 | border-radius: 3rem |
32 | } |
33 | ` |
34 | |
35 | |
36 |
Built with git-ssb-web