struct
Tessell::Kit::Palette
- Tessell::Kit::Palette
- Struct
- Value
- Object
Overview
语义色。组件不得在绘制代码里直接写最终色值。
Defined in:
tessell/kit/theme.crConstructors
Instance Method Summary
- #accent : UInt32
- #accent_foreground : UInt32
- #accent_hover : UInt32
- #accent_pressed : UInt32
- #border : UInt32
- #canvas : UInt32
- #danger : UInt32
- #danger_foreground : UInt32
- #danger_hover : UInt32
- #danger_pressed : UInt32
- #focus : UInt32
- #foreground : UInt32
- #muted : UInt32
- #scrim : UInt32
- #selection : UInt32
- #success : UInt32
- #surface : UInt32
- #surface_raised : UInt32
Constructor Detail
def self.new(canvas : UInt32, surface : UInt32, surface_raised : UInt32, foreground : UInt32, muted : UInt32, border : UInt32, accent : UInt32, accent_hover : UInt32, accent_pressed : UInt32, accent_foreground : UInt32, danger : UInt32, danger_hover : UInt32, danger_pressed : UInt32, danger_foreground : UInt32, success : UInt32, focus : UInt32, selection : UInt32, scrim : UInt32)
#