www/gcode_viewer_card.js
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import * as THREE from "./three.module.js";
|
import * as THREE from "./three.module.js";
|
||||||
|
|
||||||
const EXT_COLOR = "var(--gcode-extrusion-color, #ffb300)";
|
const EXT_COLOR = "#ffb300";
|
||||||
const TRAVEL_COLOR = "var(--gcode-travel-color, #7986cb)";
|
const TRAVEL_COLOR = "#7986cb";
|
||||||
|
|
||||||
function cssVar(name, fallback) {
|
function cssVar(name, fallback) {
|
||||||
const v = getComputedStyle(document.body).getPropertyValue(name).trim();
|
const v = getComputedStyle(document.body).getPropertyValue(name).trim();
|
||||||
|
|||||||
Reference in New Issue
Block a user