git ssb

0+

mixmix / patchbay-scry



Tree: 6f1247273f01aa4cd3d498b3c19fcea474f504ae

Files: 6f1247273f01aa4cd3d498b3c19fcea474f504ae / views / new.test.js

594 bytesRaw
1// run:
2// $ npx electro views/new.test.js
3
4const h = require('mutant/h')
5
6const NewScry = require('./new')
7require('../lib/styles-inject')()
8
9const newScry = NewScry({
10})
11
12document.body.appendChild(newScry)
13document.head.appendChild(
14 h('style', `
15 body {
16 --gradient: linear-gradient(45deg, hsla(60, 100%, 56%, .5), hsla(280, 100%, 46%, 0.3));
17 --texture: left top 0 / 3px radial-gradient(white, #de82e6) repeat ;
18 background: var(--texture), var(--gradient);
19 background-blend-mode: darken;
20
21 width: 100vh;
22 height: 100vh;
23 padding: 2rem;
24 }
25 `)
26)
27

Built with git-ssb-web