Class: Yass::Declarations::Color

Inherits:
Object
  • Object
show all
Includes:
Node
Defined in:
lib/yass/declarations.rb

Defined Under Namespace

Classes: Absolute, AbsoluteColor, Auto, ColorComponents, ColorFunction, ColorFunctionComponent, ColorInterpolationMethod, ColorMix, ColorMixItem, CurrentColor, LightDark, SystemColor

Constant Summary collapse

RUBY_METHODS =
%i(color kind).freeze

Instance Method Summary collapse

Methods included from Node

#to_h

Instance Method Details

#accept(visitor) ⇒ Object



2746
2747
2748
# File 'lib/yass/declarations.rb', line 2746

def accept(visitor)
  visitor.visit_declaration_color(self)
end

#kindObject



2750
2751
2752
# File 'lib/yass/declarations.rb', line 2750

def kind
  :color
end