diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2024-08-17 14:05:07 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2024-08-17 14:05:07 -0400 |
| commit | 32f1b20c3e93457dec949e7e426fd3ab17dc3d5c (patch) | |
| tree | 201321e995e9f74cab877dac64e74eb654946f1b /examples/layout/theme.go | |
| parent | ee1ecb5c17ebe98d18dc62390ecb6c09f648a52e (diff) | |
| parent | 8d183ef96a57e3a2f42c0cb4ec0ab4c256e0d47e (diff) | |
| download | gui-32f1b20c3e93457dec949e7e426fd3ab17dc3d5c.zip | |
Merge remote-tracking branch 'keitio/master'
layout
Diffstat (limited to 'examples/layout/theme.go')
| -rw-r--r-- | examples/layout/theme.go | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/layout/theme.go b/examples/layout/theme.go new file mode 100644 index 0000000..e37c0c0 --- /dev/null +++ b/examples/layout/theme.go @@ -0,0 +1,19 @@ +package main + +import ( + "image/color" + + "golang.org/x/image/font" +) + +type Theme struct { + Face font.Face + + Background color.Color + Empty color.Color + Text color.Color + Highlight color.Color + ButtonUp color.Color + ButtonOver color.Color + ButtonDown color.Color +} |