From 10d303c917e252ebe04963394d363dce0548ab51 Mon Sep 17 00:00:00 2001 From: Julio Date: Wed, 11 Dec 2019 09:28:42 -0800 Subject: [PATCH] shadow nomenclature fix changed `--` to `-` --- CHANGELOG.md | 6 ++++++ dist/_shadow.scss | 8 ++++---- dist/_variables.scss | 8 ++++---- package.json | 2 +- 4 files changed, 15 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 18517c8..1479b1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 1.2.1 + +### Changed + +- shadow variable nomenclature fix. Changed `--` to `-` + ## 1.2.0 ### Changed diff --git a/dist/_shadow.scss b/dist/_shadow.scss index af01018..a427d51 100644 --- a/dist/_shadow.scss +++ b/dist/_shadow.scss @@ -13,18 +13,18 @@ @if $level > 1 { $shadow: $shadow-2; @if $state == "hover" { - $shadow: $shadow-2--hover; + $shadow: $shadow-2-hover; } @if $state == "press" { - $shadow: $shadow-2--press; + $shadow: $shadow-2-press; } } @else { $shadow: $shadow-1; @if $state == "hover" { - $shadow: $shadow-1--hover; + $shadow: $shadow-1-hover; } @if $state == "press" { - $shadow: $shadow-1--press; + $shadow: $shadow-1-press; } } box-shadow: $shadow; diff --git a/dist/_variables.scss b/dist/_variables.scss index 1e4d814..0007bd1 100644 --- a/dist/_variables.scss +++ b/dist/_variables.scss @@ -27,11 +27,11 @@ $code-family: 'Consolas', 'Andale Mono', 'Lucida Console', 'Monaco', monospa // shadows $shadow-1: 0 0 8px 0 rgba(0, 0, 0, 0.08) !default; -$shadow-1--hover: 0 0 16px 0 rgba(0, 0, 0, 0.08) !default; -$shadow-1--press: 0 0 8px 0 rgba(0, 0, 0, 0.16) !default; +$shadow-1-hover: 0 0 16px 0 rgba(0, 0, 0, 0.08) !default; +$shadow-1-press: 0 0 8px 0 rgba(0, 0, 0, 0.16) !default; $shadow-2: 0 0 16px 0 rgba(0, 0, 0, 0.16) !default; -$shadow-2--hover: 0 0 32px 0 rgba(0, 0, 0, 0.16) !default; -$shadow-2--press: 0 0 16px 0 rgba(0, 0, 0, 0.32) !default; +$shadow-2-hover: 0 0 32px 0 rgba(0, 0, 0, 0.16) !default; +$shadow-2-press: 0 0 16px 0 rgba(0, 0, 0, 0.32) !default; //Border radius $border-radius: 3px; \ No newline at end of file diff --git a/package.json b/package.json index d184844..88f4454 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@esri/calcite-base", - "version": "1.2.0", + "version": "1.2.1", "description": "Tokens, mixins, and other Sass utilities for Esri's Calcite Design System", "homepage": "https://github.com/Esri/calcite-base", "main": "dist/index.js",