Skip to content

Commit

Permalink
[puzzle-geometry] Update FTO colors to LanLan FTO.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarron committed Aug 31, 2020
1 parent 7693a7f commit db0d21b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
6 changes: 6 additions & 0 deletions app/twisty/inline.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@
background:
</p>
<div id="js-init-example"></div>

<p>
FTO PG3D:
</p>
<twisty-player puzzle="FTO" visualization="PG3D"></twisty-player>

<p>
Custom PG3D:
</p>
Expand Down
4 changes: 4 additions & 0 deletions app/twisty/inline.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import { useNewFaceNames } from "../../src/puzzle-geometry";

useNewFaceNames(true);

import { BareBlockMove, parse, Sequence } from "../../src/alg/index";
import "../../src/twisty/dom/TwistyPlayer";
import { TwistyPlayer } from "../../src/twisty/index";
Expand Down
16 changes: 8 additions & 8 deletions src/puzzle-geometry/PuzzleGeometry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,14 @@ function defaultcolors(): any {
},
8: NEW_FACE_NAMES
? {
U: "#e085b9",
F: "#080d99",
R: "#c1e35c",
D: "#22955e",
B: "#9121ab",
L: "#b27814",
BL: "#0d35ad",
BR: "#eb126b",
U: "#ffffff", //"#e085b9",
F: "#ff0000",
R: "#00bb00",
D: "#ffff00",
B: "#1122ff",
L: "#9524c5",
BL: "#ff8800",
BR: "#aaaaaa",
}
: {
U: "#e085b9",
Expand Down

0 comments on commit db0d21b

Please sign in to comment.