Sha256: 7be6c2939ba6a287d67c33876b0533f50c4b5e63038f0984be7c6d28babf6c7e

Contents?: true

Size: 1.66 KB

Versions: 45

Compression:

Stored size: 1.66 KB

Contents

module ActiveFrontendHelper

  def colors(opacity = 1)
    {
      transparent: { rgba: "rgba(0,0,0,0)", hex: '#FFFFFF' },
      dark_black: { rgba: "rgba(37,49,62,#{opacity})", hex: '#25313E' },
      black: { rgba: "rgba(44,58,73,#{opacity})", hex: '#2C3A49' },
      light_black: { rgba: "rgba(51,67,83,#{opacity})", hex: '#334353' },
      dark_gray: { rgba: "rgba(110,128,150,#{opacity})",  hex: '#6E8096' },
      gray: { rgba: "rgba(130,146,164,#{opacity})", hex: '#8292A4' },
      light_gray: { rgba: "rgba(153,166,183,#{opacity})", hex: '#99A6B7' },
      dark_haze: { rgba: "rgba(229,232,241,#{opacity})", hex: '#E5E8F1' },
      haze: { rgba: "rgba(238,240,246,#{opacity})", hex: '#EEF0F6' },
      light_haze: { rgba: "rgba(249,250,252,#{opacity})", hex: '#F9FAFC' },
      white: { rgba: "rgba(255,255,255,#{opacity})", hex: '#FFFFFF' },
      lime: { rgba: "rgba(161,215,77,#{opacity})", hex: '#A1D74D' },
      green: { rgba: "rgba(27,185,51,#{opacity})", hex: '#1BB933' },
      teal: { rgba: "rgba(46,207,221,#{opacity})", hex: '#2ECFDD' },
      sky: { rgba: "rgba(0,170,255,#{opacity})", hex: '#00AAFF' },
      blue: { rgba: "rgba(13,134,246,#{opacity})", hex: '#0D86F6' },
      indigo: { rgba: "rgba(126,99,226,#{opacity})", hex: '#7E63E2' },
      purple: { rgba: "rgba(186,91,206,#{opacity})", hex: '#BA5BCE' },
      pink: { rgba: "rgba(239,76,136,#{opacity})", hex: '#EA4C88' },
      red: { rgba: "rgba(235,60,34,#{opacity})", hex: '#EB3C22' },
      brown: { rgba: "rgba(133,97,25,#{opacity})", hex: '#856119' },
      orange: { rgba: "rgba(253,163,13,#{opacity})", hex: '#FDA30D' },
      yellow: { rgba: "rgba(246,209,35,#{opacity})", hex: '#F6D123' }
    }
  end

end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
active_frontend-14.0.92 app/helpers/active_frontend_helper.rb
active_frontend-14.0.91 app/helpers/active_frontend_helper.rb
active_frontend-14.0.90 app/helpers/active_frontend_helper.rb
active_frontend-14.0.89 app/helpers/active_frontend_helper.rb
active_frontend-14.0.88 app/helpers/active_frontend_helper.rb
active_frontend-14.0.87 app/helpers/active_frontend_helper.rb
active_frontend-14.0.86 app/helpers/active_frontend_helper.rb
active_frontend-14.0.85 app/helpers/active_frontend_helper.rb
active_frontend-14.0.84 app/helpers/active_frontend_helper.rb
active_frontend-14.0.83 app/helpers/active_frontend_helper.rb
active_frontend-14.0.82 app/helpers/active_frontend_helper.rb
active_frontend-14.0.81 app/helpers/active_frontend_helper.rb
active_frontend-14.0.80 app/helpers/active_frontend_helper.rb
active_frontend-14.0.79 app/helpers/active_frontend_helper.rb
active_frontend-14.0.78 app/helpers/active_frontend_helper.rb
active_frontend-14.0.77 app/helpers/active_frontend_helper.rb
active_frontend-14.0.76 app/helpers/active_frontend_helper.rb
active_frontend-14.0.75 app/helpers/active_frontend_helper.rb
active_frontend-14.0.74 app/helpers/active_frontend_helper.rb
active_frontend-14.0.73 app/helpers/active_frontend_helper.rb