Class: RailsBase::Configuration::Display::Text

Inherits:
Base
  • Object
show all
Defined in:
lib/rails_base/configuration/display/text.rb

Constant Summary collapse

APPEARANCE_TEXT_CLASS =
'color-text-class'
DEFAULT_VALUES =
{
  dark_mode: {
    type: :string_nil,
    default: 'text-white',
    description: 'Color of text for dark mode. Text that is outside of standard elems (tables, navbars): https://getbootstrap.com/docs/4.0/utilities/colors/'
  },
  light_mode: {
    type: :string_nil,
    default: 'text-dark',
    description: 'Color of text for light mode. Text that is outside of standard elems (tables, navbars): https://getbootstrap.com/docs/4.0/utilities/colors/'
  },
}

Constants inherited from Base

Base::ALLOWED_TYPES

Method Summary

Methods inherited from Base

_allow_write_block?, _unset_allow_write!, #assign_default_values!, #dig, #initialize, #override_methods!, #validate!

Constructor Details

This class inherits a constructor from RailsBase::Configuration::Base