Module: Dedalus

Defined in:
lib/dedalus/palette.rb,
lib/dedalus/version.rb,
lib/dedalus/elements.rb,
lib/dedalus/elements/icon.rb,
lib/dedalus/elements/text.rb,
lib/dedalus/elements/void.rb,
lib/dedalus/elements/image.rb,
lib/dedalus/view_traversal.rb,
lib/dedalus/elements/sprite.rb,
lib/dedalus/font_repository.rb,
lib/dedalus/application_view.rb,
lib/dedalus/elements/heading.rb,
lib/dedalus/image_repository.rb,
lib/dedalus/app_view_composer.rb,
lib/dedalus/elements/map_tile.rb,
lib/dedalus/elements/paragraph.rb,
lib/dedalus/elements/image_grid.rb,
lib/dedalus/elements/sprite_field.rb,
lib/dedalus/pattern_library/atoms/code.rb,
lib/dedalus/pattern_library/application.rb,
lib/dedalus/pattern_library/library_view.rb,
lib/dedalus/pattern_library/models/library.rb,
lib/dedalus/pattern_library/atoms/huge_text.rb,
lib/dedalus/pattern_library/atoms/tiny_text.rb,
lib/dedalus/pattern_library/application_view.rb,
lib/dedalus/pattern_library/atoms/large_text.rb,
lib/dedalus/pattern_library/screens/app_screen.rb,
lib/dedalus/pattern_library/models/library_item.rb,
lib/dedalus/pattern_library/organisms/app_footer.rb,
lib/dedalus/pattern_library/organisms/app_header.rb,
lib/dedalus/pattern_library/organisms/app_sidebar.rb,
lib/dedalus/pattern_library/models/library_section.rb,
lib/dedalus/pattern_library/templates/app_template.rb,
lib/dedalus/pattern_library/organisms/library_entry.rb,
lib/dedalus/pattern_library/molecules/periodic_table.rb,
lib/dedalus/pattern_library/molecules/library_section_tab.rb,
lib/dedalus/pattern_library/molecules/library_item_example.rb,
lib/dedalus/pattern_library/molecules/periodic_table_entry.rb

Defined Under Namespace

Modules: Elements, PatternLibrary, ZOrder Classes: ApplicationView, ApplicationViewComposer, Atom, Color, ColorPalette, Container, Element, FontRepository, ImageRepository, Layer, LayerStack, Molecule, Organism, Screen, Template, ViewTraversal

Constant Summary collapse

DesaturatedPalette =
ColorPalette.new(
  red: Color.new(140, 100, 100),
  green: Color.new(100, 140, 100),
  blue: Color.new(100, 100, 140),
  yellow: Color.new(150, 140, 100),
  purple: Color.new(140, 100, 140),
  gray: Color.new(80, 80, 80)
)
Palette =
DesaturatedPalette
VERSION =

dedalus version

"0.2.21"

Class Method Summary collapse

Class Method Details

.activate!(app_view) ⇒ Object



2
3
4
# File 'lib/dedalus/elements.rb', line 2

def self.activate!(app_view)
  @active_view = app_view
end

.active_viewObject



6
7
8
# File 'lib/dedalus/elements.rb', line 6

def self.active_view
  @active_view ||= nil
end