Sha256: 3131f9d294afbd43be9bc067e338a39adbc0d7e8b9886e351110ab72c86f8ac5

Contents?: true

Size: 560 Bytes

Versions: 1

Compression:

Stored size: 560 Bytes

Contents

# frozen_string_literal: true

require_relative "view_component_scoped_css/version"
require "active_support"
require "sass-embedded"

#
# Provide a style for each view component that can be handled as css in js.
#
module ViewComponentScopedCss
  class Error < StandardError; end
  # Your code goes here...

  extend ActiveSupport::Autoload
  autoload :Loader
  autoload :CurrentContext
  autoload :Base
  autoload :Config
  autoload :Tag
  autoload :Compiler

  def self.configure
    yield config
  end

  def self.config
    @config ||= Config.new
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
view_component_scoped_css-0.2.0 lib/view_component_scoped_css.rb