Skip to content

Commit

Permalink
Set dark theme fro the cube
Browse files Browse the repository at this point in the history
  • Loading branch information
Fennec committed Nov 28, 2024
1 parent de4fa29 commit 4a9c90b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions docs/public/samples/responsive.html
Original file line number Diff line number Diff line change
Expand Up @@ -324,12 +324,6 @@
};

function getGizmoConfig() {
// Gizmo URL type `?type=sphere|cube`
const urlParams = new URLSearchParams(window.location.search);
const type = urlParams.get("type") || "sphere";

if (type === "sphere") return {};

const darkColors = {
color: 0x333333,
labelColor: 0xdddddd,
Expand All @@ -345,7 +339,7 @@
};

const darkCubeConfig = {
type,
type: "cube",
background: darkBackground,
corners: darkColors,
edges: darkColors,
Expand Down

0 comments on commit 4a9c90b

Please sign in to comment.