Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Primary = HexToNRGBA("69f0ae") PrimaryLight = HexToNRGBA("9fffe0") PrimaryDark = HexToNRGBA("2bbd7e") Secondary = HexToNRGBA("ff80ab") SecondaryLight = HexToNRGBA("ffb2dd") SecondaryDark = HexToNRGBA("e94f7c") Black = HexToNRGBA("000000") White = HexToNRGBA("ffffff") Background = HexToNRGBA("eeeeee") )
Functions ¶
func HexToNRGBA ¶
func TextColor ¶
func TextColor(l material.LabelStyle, c color.NRGBA) material.LabelStyle
Types ¶
type AccountChangeStyle ¶
type AccountChangeStyle struct { Margin layout.Inset Padding layout.Inset Name material.LabelStyle Balance material.LabelStyle Comment material.LabelStyle }
func AccountChange ¶
func (AccountChangeStyle) Layout ¶
func (a AccountChangeStyle) Layout(gtx C) D
type AccountStyle ¶
type AccountStyle struct { Name material.LabelStyle Balance material.LabelStyle }
func (AccountStyle) Layout ¶
func (a AccountStyle) Layout(gtx C) D
type D ¶
type D = layout.Dimensions
type TransactionStyle ¶
type TransactionStyle struct { Margin layout.Inset Date material.LabelStyle Payee material.LabelStyle Accounts []AccountChangeStyle }
func Transaction ¶
func Transaction(th *material.Theme, tx *ledger.Transaction) TransactionStyle
func (TransactionStyle) Layout ¶
func (t TransactionStyle) Layout(gtx C) D
Click to show internal directories.
Click to hide internal directories.