Skip to content

Commit 3d83bd6

Browse files
committed
Update tile1.html and tile2.html with color adjustments and canvas rotation
- Modified color values in tile1.html to enhance the visual appeal of the Islamic tile pattern, aligning with the design of tile2. - Adjusted the canvas rotation in tile2.html from 45 degrees to -45 degrees for improved alignment of the square grid pattern.
1 parent 995dc56 commit 3d83bd6

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

tile1.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@
2727

2828
const COLORS = {
2929
cream: '#f5e6d3',
30-
darkBlue: '#4a6b8a',
31-
lightBlue: '#6a88a8',
32-
darkGreen: '#3d5f52',
33-
lightGreen: '#5a7a6a',
34-
brown: '#9b7f57',
35-
darkBrown: '#6b5738',
36-
black: '#2a2a2a',
37-
gold: '#c8a870'
30+
darkBlue: '#0f1f2f', // replaced with tile2 navy
31+
lightBlue: '#4a7595', // replaced with tile2 lightBlue
32+
darkGreen: '#2d5540', // replaced with tile2 green
33+
lightGreen: '#5a8575', // replaced with tile2 green
34+
brown: '#6b4423', // replaced with tile2 gold
35+
darkBrown: '#5a3820', // replaced with tile2 gold
36+
black: '#1a2838', // replaced with tile2 navy
37+
gold: '#b68c4d' // warmer, richer gold
3838
};
3939

4040
const TRIANGLE_COLORS = [

tile2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919
canvas {
2020
display: block;
21-
transform: rotate(45deg);
21+
transform: rotate(-45deg);
2222
transform-origin: center center;
2323
}
2424
</style>

0 commit comments

Comments
 (0)