git ssb

16+

Dominic / patchbay



Commit 96fd009f7188e314e4308ddf338613c60913fa9a

FONT - add noto-color-emoji

mixmix committed on 6/11/2019, 4:22:39 AM
Parent: a035e0e448371bb320700598868f4917a757c12b

Files changed

app/html/app.mcsschanged
app/styles/css/noto-color-emoji.jsadded
app/sync/initialise/styles.jschanged
package-lock.jsonchanged
package.jsonchanged
app/html/app.mcssView
@@ -1,6 +1,7 @@
11 App {
22 background: var(--app-border-background)
3 + font-family: arial, sans-serif, NotoColorEmoji
34
45 overflow: hidden
56
67 min-height: 0px
app/styles/css/noto-color-emoji.jsView
@@ -1,0 +1,11 @@
1 +const nest = require('depnest')
2 +const requireStyle = require('require-style')
3 +const { assign } = Object
4 +
5 +exports.gives = nest('styles.css')
6 +
7 +exports.create = function (api) {
8 + return nest('styles.css', (sofar = {}) => {
9 + return assign(sofar, { notoColorEmoji: requireStyle('noto-color-emoji') })
10 + })
11 +}
app/sync/initialise/styles.jsView
@@ -34,9 +34,9 @@
3434 })
3535 )
3636 document.head.appendChild(
3737 h('style', {
38- innerHTML: when(openDyslexicEnabled, '.App { font-family: OpenDyslexicRegular; }', '')
38 + innerHTML: when(openDyslexicEnabled, '.App { font-family: OpenDyslexicRegular, arial, sans-serif, NotoColorEmoji; }', '')
3939 })
4040 )
4141 }
4242 }
package-lock.jsonView
The diff is too large to show. Use a local git client to view these changes.
Old file size: 762844 bytes
New file size: 763114 bytes
package.jsonView
@@ -66,8 +66,9 @@
6666 "marama": "^1.2.2",
6767 "micro-css": "^2.0.1",
6868 "mutant": "^3.22.3",
6969 "mutant-scroll": "^1.0.2",
70 + "noto-color-emoji": "^1.0.0",
7071 "open-dyslexic": "^1.0.3",
7172 "open-external": "^0.1.1",
7273 "patch-drafts": "0.0.6",
7374 "patch-history": "^1.0.0",

Built with git-ssb-web