Files: c05e98ca66758d61b5968645419a1efaaad16bfd / app / styles / mixins.js
612 bytesRaw
1 | const nest = require('depnest') |
2 | const { assign } = Object |
3 | |
4 | // this is either: |
5 | // - wrong domain |
6 | // - wrong gives |
7 | // |
8 | exports.gives = nest('styles.mixins') |
9 | |
10 | exports.create = function (api) { |
11 | return nest('styles.mixins', (sofar = {}) => { |
12 | return assign(sofar, { mainMixins }) |
13 | }) |
14 | } |
15 | |
16 | const mainMixins = ` |
17 | $textPrimary { |
18 | color: #222 |
19 | } |
20 | |
21 | $textSubtle { |
22 | color: gray |
23 | } |
24 | |
25 | $colorPrimary { |
26 | color: white |
27 | background-color: #3dc8c3 |
28 | |
29 | (a) { |
30 | color: #5c6bc0 |
31 | } |
32 | } |
33 | |
34 | $backgroundPrimary { |
35 | background-color: #50aadf |
36 | } |
37 | |
38 | $avatarLarge { |
39 | width: 56px |
40 | height: 56px |
41 | } |
42 | |
43 | $avatarSmall { |
44 | width: 32px |
45 | height: 32px |
46 | } |
47 | ` |
48 |
Built with git-ssb-web