git ssb

0+

mixmix / patchbay-scry



Tree: 6db5c06b9a1d5efd0d5d163b4ca48f35dc046267

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

574 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 height: 100vh;
22 padding: 2rem;
23 }
24 `)
25)
26

Built with git-ssb-web