Skip to content

Commit 47fea33

Browse files
committed
use some grays
1 parent 89378aa commit 47fea33

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

examples/display_shapes_simpletest_magtag.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
"""
2-
Simpletest example adapted for use on the MagTag
3-
"""
41
import board
52
import displayio
63
from adafruit_display_shapes.rect import Rect
@@ -50,10 +47,10 @@
5047
)
5148
splash.append(polygon)
5249

53-
triangle = Triangle(170, 20, 140, 90, 210, 100, fill=0xFFFFFF, outline=0x000000)
50+
triangle = Triangle(170, 20, 140, 90, 210, 100, fill=0x999999, outline=0x000000)
5451
splash.append(triangle)
5552

56-
rect = Rect(80, 20, 41, 41, fill=0x0)
53+
rect = Rect(80, 20, 41, 41, fill=0x999999, outline=0x666666)
5754
splash.append(rect)
5855

5956
circle = Circle(100, 100, 20, fill=0xFFFFFF, outline=0x000000)
@@ -62,7 +59,7 @@
6259
rect2 = Rect(70, 85, 61, 30, outline=0x0, stroke=3)
6360
splash.append(rect2)
6461

65-
roundrect = RoundRect(10, 10, 61, 51, 10, fill=0x000000, outline=0x000000, stroke=6)
62+
roundrect = RoundRect(10, 10, 61, 51, 10, fill=0x666666, outline=0x000000, stroke=6)
6663
splash.append(roundrect)
6764

6865
display.refresh()

0 commit comments

Comments
 (0)