fix: lint errors + wrong color
This commit is contained in:
parent
f0c3d38ea7
commit
f6b1e13113
2 changed files with 2 additions and 2 deletions
|
|
@ -53,7 +53,7 @@ class StrudelRepl extends HTMLElement {
|
||||||
attributeChangedCallback(name, oldValue, newValue) {
|
attributeChangedCallback(name, oldValue, newValue) {
|
||||||
if (name === 'code') {
|
if (name === 'code') {
|
||||||
this.code = newValue;
|
this.code = newValue;
|
||||||
this.editor?.setCode(initialCode);
|
this.editor?.setCode(newValue);
|
||||||
} else if (settingAttributes.includes(name)) {
|
} else if (settingAttributes.includes(name)) {
|
||||||
const camel = kebabToCamel(name);
|
const camel = kebabToCamel(name);
|
||||||
this.settings[camel] = parseAttribute(name, newValue);
|
this.settings[camel] = parseAttribute(name, newValue);
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import HeadCommonNew from '../../components/HeadCommonNew.astro';
|
||||||
<!-- <HeadCommonNew /> -->
|
<!-- <HeadCommonNew /> -->
|
||||||
<style>
|
<style>
|
||||||
:root {
|
:root {
|
||||||
--background: #cd8b8b;
|
--background: #222;
|
||||||
--lineBackground: #22222299;
|
--lineBackground: #22222299;
|
||||||
--foreground: #fff;
|
--foreground: #fff;
|
||||||
--caret: #ffcc00;
|
--caret: #ffcc00;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue