solarite 0.1.0 → 0.1.1

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.
@@ -146,7 +146,7 @@ function themeSolarIce(lang, isDark=false) {
146
146
  tag: [t.atom], // Css value like 'Arial' or 'none'. Keyword 'super' in javascript
147
147
  color: lang === 'js'
148
148
  ? (isDark ? '#26f' : '#00f')
149
- : (isDark ? '#75f' : '')
149
+ : (isDark ? '#26f' : '')
150
150
  },
151
151
  {
152
152
  tag: [t.unit],
@@ -26,7 +26,7 @@ document.addEventListener('DOMContentLoaded', () => {
26
26
  </style>`;
27
27
  let value = lines.join('\n');
28
28
 
29
- let pg = new Playground({value, language: pre.getAttribute('lang'), width: 75, maxHeight: 620, prefix, limitCodeEditorHeight: true})
29
+ let pg = new Playground({value, language: pre.getAttribute('lang'), width: 75, maxHeight: 1000, prefix, limitCodeEditorHeight: true})
30
30
  pre.replaceWith(pg);
31
31
  }
32
32
  })
@@ -3,8 +3,7 @@ import Draggable2 from "../util/Draggable2.js";
3
3
  import Util from "../util/Util.js";
4
4
 
5
5
  /**
6
- * Put this element between flex children to allow resizing them.
7
- * TODO: Allow vertical resizing. */
6
+ * Put this element between flex children to allow resizing them. */
8
7
  export default class FlexResizer extends Solarite {
9
8
 
10
9
  onStart = Util.callback();
@@ -9,7 +9,7 @@
9
9
  src: url("FiraCode400.woff2") format("woff")
10
10
  }
11
11
 
12
- html { background: var(--background) !important }
12
+ html { background: var(--background) !important; font-size: 16px !important }
13
13
  body::before { content: ''; position: fixed; inset: 0;
14
14
  opacity: .03; filter: grayscale(75%);
15
15
  background: url('solarite-machine.webp') no-repeat -200px -200px / 140% auto ; }
@@ -41,7 +41,7 @@ html:not([dark]) #write h3 { color: #678; }
41
41
  #write h6 { font-size: 100%; font-weight: normal; margin-top: .75em; margin-bottom: 0; text-decoration: underline }
42
42
 
43
43
 
44
- #write :is(p, h2, h3, h4, h5, h6, ol, ul) { max-width: 600px }
44
+ #write :is(p, h2, h3, h4, h5, h6, ol, ul) { max-width: 700px }
45
45
  #write p { text-align: justify }
46
46
  #write a, #write a:visited { color: #08c; text-decoration: none}
47
47
  #write a:hover { color: #08c; text-decoration: underline }