Files: 920f29c78bb0076a529cda4bbc4f01b19cabd924 / app / styles / mixins.js
725 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: var(--page-color) |
19 | } |
20 | |
21 | $textSubtle { |
22 | color: gray |
23 | } |
24 | |
25 | $colorPrimary { |
26 | color: #fff |
27 | background-color: #3dc8c3 |
28 | |
29 | (a) { |
30 | color: #5c6bc0 |
31 | } |
32 | } |
33 | |
34 | $borderPrimary { |
35 | border: 1px solid #3dc8c3 |
36 | } |
37 | |
38 | $backgroundPrimary { |
39 | background-color: #fff |
40 | } |
41 | |
42 | $avatarLarge { |
43 | width: 56px |
44 | height: 56px |
45 | } |
46 | |
47 | $avatarSmall { |
48 | width: 32px |
49 | height: 32px |
50 | } |
51 | |
52 | $threadWidth { |
53 | min-width: 780px |
54 | max-width: 840px |
55 | } |
56 | ` |
57 |
Built with git-ssb-web