class
Sheen::AdaptiveColor
- Sheen::AdaptiveColor
- Sheen::TerminalColor
- Reference
- Object
Overview
A light+dark pair. The renderer's background darkness selects which one gets applied.
Defined in:
sheen/color.crConstructors
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. - #dark : String
-
#hash(hasher)
See
Object#hash(hasher) - #light : String
-
#resolve(renderer : Renderer) : Foundation::SGRColor | Nil
Resolves to the SGR color for renderer's profile, or nil for no color
Instance methods inherited from class Sheen::TerminalColor
resolve(renderer : Renderer) : Foundation::SGRColor | Nil
resolve
Constructor Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true if this reference is the same as other. Invokes same?.
Description copied from class Sheen::TerminalColor
Resolves to the SGR color for renderer's profile, or nil for no color