Commit aeb64ef804d9d89d3664419052ca631bf516c9ec
style tweaks
Matt McKegg committed on 10/27/2016, 1:44:07 PMParent: 933c5c308e2f9b5a63a0982d7a28e9ced1f3f9e2
Files changed
styles/base.mcss | changed |
styles/index.js | changed |
styles/main-window.mcss | changed |
styles/patchbay-tweaks.css | added |
styles/base.mcss | ||
---|---|---|
@@ -1,6 +1,6 @@ | ||
1 | 1 | html, body { |
2 | - background: #ccc | |
2 | + background: #f5f5f5 | |
3 | 3 | margin: 0 |
4 | 4 | font-family: caption, sans-serif |
5 | 5 | overflow: hidden |
6 | 6 | height: 100% |
@@ -15,13 +15,11 @@ | ||
15 | 15 | line-height: 1.2 |
16 | 16 | } |
17 | 17 | |
18 | 18 | h1 { |
19 | - color: #C0C0C0 | |
20 | 19 | font-size: 200% |
21 | 20 | margin: 4px 0 |
22 | 21 | font-weight: normal |
23 | - text-shadow: 0px 0px 2px black | |
24 | 22 | flex: 1 |
25 | 23 | } |
26 | 24 | |
27 | 25 | select { |
@@ -75,9 +73,9 @@ | ||
75 | 73 | font-family: inherit |
76 | 74 | } |
77 | 75 | |
78 | 76 | a { |
79 | - color: #ebf7b1 | |
77 | + color: #286bc3 | |
80 | 78 | text-decoration: none |
81 | 79 | |
82 | 80 | code { |
83 | 81 | color: #8EC1FC |
styles/index.js | ||
---|---|---|
@@ -3,17 +3,18 @@ | ||
3 | 3 | var compile = require('micro-css') |
4 | 4 | var result = '' |
5 | 5 | var additional = '' |
6 | 6 | |
7 | +additional += fs.readFileSync(require.resolve('patchbay/style.css'), 'utf8') | |
8 | + | |
7 | 9 | fs.readdirSync(__dirname).forEach(function (file) { |
8 | 10 | if (/\.mcss$/i.test(file)) { |
9 | 11 | result += fs.readFileSync(path.resolve(__dirname, file), 'utf8') + '\n' |
10 | 12 | } |
11 | 13 | |
12 | 14 | if (/\.css$/i.test(file)) { |
15 | + console.log(file) | |
13 | 16 | additional += fs.readFileSync(path.resolve(__dirname, file), 'utf8') + '\n' |
14 | 17 | } |
15 | 18 | }) |
16 | 19 | |
17 | -additional += fs.readFileSync(require.resolve('patchbay/style.css'), 'utf8') | |
18 | - | |
19 | 20 | module.exports = compile(result) + additional |
Built with git-ssb-web