mirror of
https://codeberg.org/uzu/strudel
synced 2026-09-09 16:07:00 -04:00
fix: lint errors + wrong color
This commit is contained in:
@@ -53,7 +53,7 @@ class StrudelRepl extends HTMLElement {
|
||||
attributeChangedCallback(name, oldValue, newValue) {
|
||||
if (name === 'code') {
|
||||
this.code = newValue;
|
||||
this.editor?.setCode(initialCode);
|
||||
this.editor?.setCode(newValue);
|
||||
} else if (settingAttributes.includes(name)) {
|
||||
const camel = kebabToCamel(name);
|
||||
this.settings[camel] = parseAttribute(name, newValue);
|
||||
|
||||
@@ -8,7 +8,7 @@ import HeadCommonNew from '../../components/HeadCommonNew.astro';
|
||||
<!-- <HeadCommonNew /> -->
|
||||
<style>
|
||||
:root {
|
||||
--background: #cd8b8b;
|
||||
--background: #222;
|
||||
--lineBackground: #22222299;
|
||||
--foreground: #fff;
|
||||
--caret: #ffcc00;
|
||||
|
||||
Reference in New Issue
Block a user