Class: Phlexi::Display::Theme

Inherits:
Field::Theme
  • Object
show all
Defined in:
lib/phlexi/display/theme.rb

Class Method Summary collapse

Class Method Details

.themeObject



4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# File 'lib/phlexi/display/theme.rb', line 4

def self.theme
  @theme ||= {
    base: nil,
    label: nil,
    description: nil,
    placeholder: nil,
    value_wrapper: nil,
    string: nil,
    text: :string,
    phone: :string,
    number: :string,
    integer: :string,
    datetime: :string,
    date: :datetime,
    time: :datetime,
    association: :string,
    attachment: :string,
    color: :string,
    color_icon: :string,
    email: :string,
    url: :email,
    json: :string,
    hstore: :json,
    password: :string,
    enum: :string,
    prefixed_icon: nil,
    link: nil,
    wrapper: nil
  }.freeze
end