Files: dca0c3f17aa539ddd99053c9d36d42c371bc44b4 / styles / mixins.js
480 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 |
Built with git-ssb-web