www/gcode_viewer_card.js

This commit is contained in:
Home Assistant Version Control
2026-08-10 05:33:40 +00:00
parent 04b0c8740b
commit 014dfd9086
+2 -2
View File
@@ -1,7 +1,7 @@
import * as THREE from "./three.module.js";
const EXT_COLOR = "var(--gcode-extrusion-color, #ffb300)";
const TRAVEL_COLOR = "var(--gcode-travel-color, #7986cb)";
const EXT_COLOR = "#ffb300";
const TRAVEL_COLOR = "#7986cb";
function cssVar(name, fallback) {
const v = getComputedStyle(document.body).getPropertyValue(name).trim();