This repository has been archived on 2023-08-08. You can view files and clone it, but cannot push or open issues or pull requests.
tomo-old/theme/list.go

44 lines
1.0 KiB
Go
Raw Normal View History

2023-01-23 07:05:09 +00:00
package theme
import "git.tebibyte.media/sashakoshka/tomo/artist"
var listPattern = artist.NewMultiBordered (
artist.Stroke { Weight: 1, Pattern: strokePattern },
artist.Stroke {
Weight: 1,
Pattern: artist.Beveled {
2023-01-30 22:57:24 +00:00
uhex(0x383C3AFF),
uhex(0x999C99FF),
2023-01-23 07:05:09 +00:00
},
},
2023-01-30 22:57:24 +00:00
artist.Stroke { Pattern: uhex(0x999C99FF) })
2023-01-23 07:05:09 +00:00
2023-01-30 22:57:24 +00:00
var focusedListPattern = artist.NewMultiBordered (
2023-01-26 16:53:49 +00:00
artist.Stroke { Weight: 1, Pattern: strokePattern },
artist.Stroke { Weight: 1, Pattern: accentPattern },
2023-01-30 22:57:24 +00:00
artist.Stroke { Pattern: uhex(0x999C99FF) })
var listEntryPattern = artist.Padded {
Stroke: uhex(0x383C3AFF),
Fill: uhex(0x999C99FF),
Sides: []int { 0, 0, 0, 1 },
}
var onListEntryPattern = artist.Padded {
Stroke: uhex(0x383C3AFF),
Fill: uhex(0x6e8079FF),
Sides: []int { 0, 0, 0, 1 },
}
var focusedListEntryPattern = artist.Padded {
Stroke: accentPattern,
Fill: uhex(0x999C99FF),
Sides: []int { 0, 1, 0, 1 },
}
var focusedOnListEntryPattern = artist.Padded {
Stroke: accentPattern,
Fill: uhex(0x6e8079FF),
Sides: []int { 0, 1, 0, 1 },
}