@lucca-front/scss 9.0.0 → 9.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/_icons.scss +9 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lucca-front/scss",
3
- "version": "9.0.0",
3
+ "version": "9.0.3",
4
4
  "description": "a scss-framework based on trello's css naming",
5
5
  "main": "src/main.scss",
6
6
  "scripts": {},
@@ -20,6 +20,6 @@
20
20
  },
21
21
  "homepage": "https://github.com/LuccaSA/lucca-front#readme",
22
22
  "peerDependencies": {
23
- "@lucca-front/icons": "v9.0.0"
23
+ "@lucca-front/icons": "v9.0.3"
24
24
  }
25
25
  }
package/src/_icons.scss CHANGED
@@ -1,29 +1,29 @@
1
- $font-path: _theme("icons.font-path", true);
2
- $font-name: _theme("icons.name", true);
3
- @import "node_modules/@lucca-front/icons/src/main";
4
- @import "node_modules/@lucca-front/icons/src/mixins";
1
+ $font-path: _theme('icons.font-path', true);
2
+ $font-name: _theme('icons.name', true);
3
+ @import '@lucca-front/icons/src/main';
4
+ @import '@lucca-front/icons/src/mixins';
5
5
 
6
6
  // Sizing mixin
7
7
  @mixin iconSizing($size) {
8
- font-size: calc(#{_theme("sizes.#{$size}.font-size")} * 1.25); /* stylelint-disable-line function-calc-no-unspaced-operator */
8
+ font-size: calc(#{_theme('sizes.#{$size}.font-size')} * 1.25); /* stylelint-disable-line function-calc-no-unspaced-operator */
9
9
  }
10
10
 
11
11
  .lucca-icon {
12
12
  // all sizes
13
- @each $name, $size in _getMap("sizes") {
13
+ @each $name, $size in _getMap('sizes') {
14
14
  &.size-#{$name} {
15
15
  @include iconSizing($name);
16
16
  }
17
17
  }
18
18
  }
19
19
 
20
- @if _theme("icons.prefix", true) != lucca-icon {
21
- .#{_theme("icons.prefix", true)} {
20
+ @if _theme('icons.prefix', true) != lucca-icon {
21
+ .#{_theme('icons.prefix', true)} {
22
22
  // default lucca-icon style
23
23
  @extend %lucca-icon;
24
24
  @include buildIconClasses;
25
25
  // all sizes
26
- @each $name, $size in _getMap("sizes") {
26
+ @each $name, $size in _getMap('sizes') {
27
27
  &.size-#{$name} {
28
28
  @include iconSizing($name);
29
29
  }