<div class="price ">
    <span class="price__value ">
        $
        159.95

    </span>
</div>
<div class="price {{ class }}" {{{ attributes }}}>
    <span class="price__value {{ regularPriceClass }}">
        {{#if prefix.tag}}
            <{{tag}}>
        {{/if}}
            {{prefix.text}}
        {{#if prefix.tag}}
            </{{tag}}>
        {{/if}}
        {{regularPrice}}
        {{#if suffix.tag}}
            <{{suffix.tag}}>
        {{/if}}
            {{suffix.text}}
        {{#if suffix.tag}}
            </{{suffix.tag}}>
        {{/if}}
    </span>
</div>
{
  "regularPrice": "159.95",
  "specialPrice": "",
  "prefix": {
    "tag": "",
    "text": "$"
  },
  "suffix": {
    "tag": "",
    "text": ""
  }
}
  • Content:
    $price__spacing                : $spacer--small !default;
    $price__font-size              : $font-size-large !default;
    $price__font-size\@medium      : $font-size-large !default;
    $price__font-weight            : $font-weight-bold !default;
    
    $price__color--old             : $color-secondary !default;
    $price__font-size--old         : $font-size-small !default;
    $price__font-size--old\@medium : $font-size-base !default;
    $price__font-weight--old       : $font-weight-normal !default;
    
    $price__color--special         : $color-error !default;
    $price__font-weight--special   : $font-weight-bold !default;
    
    $price__text-color             : $color-secondary !default;
    $price__text-font-size         : $font-size-base !default;
    $price__text-font-size\@medium : $font-size-medium !default;
    
  • URL: /components/raw/price/_price-variables.scss
  • Filesystem Path: build/components/Molecules/price/_price-variables.scss
  • Size: 781 Bytes
  • Content:
    @import 'price-variables';
    
    .price {
        &__value {
            font-size: $price__font-size;
            font-weight: $price__font-weight;
    
            @include mq($screen-m) {
                font-size: $price__font-size\@medium;
            }
    
            &--old {
                margin-right: $price__spacing;
                color: $price__color--old;
                font-size: $price__font-size--old;
                font-weight: $price__font-weight--old;
                text-decoration: line-through;
    
                @include mq($screen-m) {
                    font-size: $price__font-size--old\@medium;
                }
            }
    
            &--special {
                color: $price__color--special;
                font-weight: $price__font-weight--special;
    
                & > ins {
                    text-decoration: none;
                }
            }
        }
    
        &__text {
            color: $price__text-color;
            font-size: $price__text-font-size;
            font-weight: $price__font-weight--old;
    
            @include mq($screen-m) {
                font-size: $price__text-font-size\@medium;
            }
        }
    }
    
  • URL: /components/raw/price/_price.scss
  • Filesystem Path: build/components/Molecules/price/_price.scss
  • Size: 1 KB

No notes defined.