diff options
Add version numbers to compiled CSS
5 files changed, 12 insertions, 13 deletions
| -rw-r--r-- | src/_badges.scss | 2 | ||||
| -rw-r--r-- | src/_variables.scss | 8 | ||||
| -rw-r--r-- | src/spectre-exp.scss | 4 | ||||
| -rw-r--r-- | src/spectre-icons.scss | 5 | ||||
| -rw-r--r-- | src/spectre.scss | 6 |
diff --git a/src/_badges.scss b/src/_badges.scss index 9f1d734..9da6679 100644 --- a/src/_badges.scss +++ b/src/_badges.scss @@ -28,7 +28,7 @@ } } &:not([data-badge]), - &[data-badge=''] { + &[data-badge=""] { &::after { height: 6px; min-width: 6px; diff --git a/src/_variables.scss b/src/_variables.scss index 2068adc..eb7fe35 100644 --- a/src/_variables.scss +++ b/src/_variables.scss @@ -1,5 +1,6 @@ // Core variables -// Colors +$version: "0.4.4"; + // Core colors $primary-color: #5755d9 !default; $primary-color-dark: darken($primary-color, 3%) !default; @@ -8,9 +9,6 @@ $secondary-color: lighten($primary-color, 37.5%) !default; $secondary-color-dark: darken($secondary-color, 3%) !default; $secondary-color-light: lighten($secondary-color, 3%) !default; -$link-color: $primary-color !default; -$link-color-dark: darken($link-color, 5%) !default; - // Gray colors $dark-color: #454d5d !default; $light-color: #fff !default; @@ -34,6 +32,8 @@ $code-color: #e06870 !default; $highlight-color: #ffe9b3 !default; $body-bg: $bg-color-light !default; $body-font-color: lighten($dark-color, 5%) !default; +$link-color: $primary-color !default; +$link-color-dark: darken($link-color, 5%) !default; // Fonts // Credit: https://www.smashingmagazine.com/2015/11/using-system-ui-fonts-practical-guide/ diff --git a/src/spectre-exp.scss b/src/spectre-exp.scss index e0de331..ebbad57 100644 --- a/src/spectre-exp.scss +++ b/src/spectre-exp.scss @@ -1,8 +1,8 @@ -/*! Spectre.css Experimentals | MIT License | github.com/picturepan2/spectre */ -// Core variables and mixins +// Variables and mixins @import "variables"; @import "mixins"; +/*! Spectre.css Experimentals v#{$version} | MIT License | github.com/picturepan2/spectre */ // Experimentals @import "calendars"; @import "carousels"; diff --git a/src/spectre-icons.scss b/src/spectre-icons.scss index 63c8034..383624e 100644 --- a/src/spectre-icons.scss +++ b/src/spectre-icons.scss @@ -1,9 +1,8 @@ -/*! Spectre.css Icons | MIT License | github.com/picturepan2/spectre */ - -// Core variables and mixins +// Variables and mixins @import "variables"; @import "mixins"; +/*! Spectre.css Icons v#{$version} | MIT License | github.com/picturepan2/spectre */ // Icons @import "icons/icons-core"; @import "icons/icons-navigation"; diff --git a/src/spectre.scss b/src/spectre.scss index 6510cf4..42502a6 100644 --- a/src/spectre.scss +++ b/src/spectre.scss @@ -1,13 +1,13 @@ -/*! Spectre.css v0.4.4 | MIT License | github.com/picturepan2/spectre */ -// Core variables and mixins +// Variables and mixins @import "variables"; @import "mixins"; +/*! Spectre.css v#{$version} | MIT License | github.com/picturepan2/spectre */ // Reset and dependencies @import "normalize"; @import "base"; -// Core classes +// Elements @import "typography"; @import "asian"; @import "tables"; |