Module: NfgUi::Components::Traits::Navbar

Included in:
Patterns::Navbar
Defined in:
lib/nfg_ui/components/traits/navbar.rb

Overview

Access to pre-designed traits

Constant Summary collapse

TRAITS =
%i[white].freeze

Instance Method Summary collapse

Instance Method Details

#white_traitObject



10
11
12
13
14
# File 'lib/nfg_ui/components/traits/navbar.rb', line 10

def white_trait
  options[:light] = true
  # options[:class] += ' bg-white'
  options[:theme] = :white
end