Sha256: 66e7c9256742a6cb90357dd8c0e9e43c27e61562b86344651f7c98e61aa5fd0f

Contents?: true

Size: 1.11 KB

Versions: 3

Compression:

Stored size: 1.11 KB

Contents

module Archetype::SassExtensions::Styleguide

  private

  # :stopdoc:
  INHERIT     = 'inherit'
  STYLEGUIDE  = 'styleguide'
  DROP        = 'drop'
  DEFAULT     = 'default'
  REGEX       = 'regex'
  SPECIAL     = %w(states selectors)
  STATES      = SPECIAL[0]
  DROPALL     = %w(all true)
  MESSAGE_PREFIX = "[#{Archetype.name}:{origin}:{phase}] --- `"
  MESSAGE_SUFFIX = "` ---"
  # these are unique CSS keys that can be exploited to provide fallback functionality by providing a second value
  # e.g color: red; color: rgba(255,0,0, 0.8);
  FALLBACKS   = %w(background background-image background-color border border-bottom border-bottom-color border-color border-left border-left-color border-right border-right-color border-top border-top-color clip color layer-background-color outline outline-color white-space extend)
  # these are mixins that make sense to run multiple times within a block
  MULTIMIXINS = %w(target-browser)
  # NOTE: these are no longer used/needed if you're using the map structures
  ADDITIVES   = FALLBACKS + [DROP, INHERIT, STYLEGUIDE] + MULTIMIXINS
  @@styleguide_themes ||= nil
  # :startdoc:

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
archetype-1.0.0.alpha.5 lib/archetype/sass_extensions/functions/styleguide/constants.rb
archetype-1.0.0.alpha.4 lib/archetype/sass_extensions/functions/styleguide/constants.rb
archetype-1.0.0.alpha.3 lib/archetype/sass_extensions/functions/styleguide/constants.rb