lilact 0.15.3 → 0.15.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/root/index.html CHANGED
@@ -18,7 +18,7 @@
18
18
  <script type='text/jsx'>
19
19
 
20
20
  const { useRef, useEffect, useState, Suspense, Spinner, run, render } = Lilact;
21
- const { css,cx,injectGlobal } = Lilact.emotion;
21
+ const { css,cx,keyframes,injectGlobal } = Lilact.emotion;
22
22
 
23
23
 
24
24
  const cache = new Map();
@@ -72,8 +72,8 @@ injectGlobal({
72
72
  overflowWrap: "anywhere"
73
73
  },
74
74
  p: {padding: "10px"},
75
- body: { padding: "20px", background: "#1a2d2c", color: "#e7e7e7" },
76
- ":visited": {color: "#c16480"},
75
+ body: { padding: "20px", background: "#434b5f", color: "#fff", textShadow: "0 0 10px #0002", lineHeight: "1.4rem" },
76
+ ":visited": {color: "#fff"},
77
77
 
78
78
  });
79
79
 
@@ -195,6 +195,17 @@ function DemoBlock({entry})
195
195
  </div>
196
196
  }
197
197
 
198
+ const glow = keyframes`
199
+ 0% {
200
+ filter: drop-shadow(rgb(202, 131, 203) 0px 0px 8px);
201
+ }
202
+ 50% {
203
+ filter: drop-shadow(rgb(252, 131, 203) 0px 0px 18px);
204
+ }
205
+ 100% {
206
+ filter: drop-shadow(rgb(202, 131, 203) 0px 0px 8px);
207
+ }
208
+ `;
198
209
 
199
210
  function App()
200
211
  {
@@ -234,7 +245,7 @@ function App()
234
245
 
235
246
  return<>
236
247
  <center>
237
- <img src="icon.png" width="128"/><br/>
248
+ <img src="icon.png" width="128" style={`animation: ${glow} 5s ease-in-out infinite`}/><br/>
238
249
  <h1>Lilact Examples</h1>
239
250
 
240
251
  <p>These scripts are transpiled and run directly in your browser. You have already loaded Lilact completely!</p>
@@ -10240,7 +10240,7 @@ function run(jsx, path=`InlineJSX-${++_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__["
10240
10240
  appendSourcemap: false,
10241
10241
  blocks_info: _lilact_jsx__WEBPACK_IMPORTED_MODULE_0__["default"].blocks_info,
10242
10242
 
10243
- injectTraceLabels: false,
10243
+ injectTraceLabels: true,
10244
10244
  } );
10245
10245
  }
10246
10246
  catch(e) {