TextDrawer does not separate whitespace from printables

This commit is contained in:
Sasha Koshka
2023-02-14 18:11:11 -05:00
parent 4d87972235
commit 0c22977693
3 changed files with 21 additions and 23 deletions

View File

@@ -3,6 +3,10 @@ package theme
import "image/color"
import "git.tebibyte.media/sashakoshka/tomo/artist"
// var backgroundPattern = artist.Gradient {
// First: uhex(0xFF0000FF),
// Second: uhex(0x00FF00FF),
// }
var accentPattern = artist.NewUniform(hex(0x408090FF))
var backgroundPattern = artist.NewUniform(color.Gray16 { 0xAAAA })
var foregroundPattern = artist.NewUniform(color.Gray16 { 0x0000 })