@pacem/pacem-theme-less 1.0.1 → 1.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.
@@ -90,6 +90,7 @@
90
90
  // sizes
91
91
  @{P}-icon, i.@{PCSS}-icon {
92
92
 
93
+ /* #region legacy sizes */
93
94
  &.icon-size-small {
94
95
  font-size: .9 * @font_icon_size;
95
96
  }
@@ -125,17 +126,25 @@
125
126
  &.icon-size-regular {
126
127
  font-size: @font_icon_size;
127
128
  }
129
+ /* #endregion */
128
130
 
129
- &.icon-size {
131
+ // &.icon-size { <- remove extra class: verbose and useless
130
132
 
131
- each(range(12), {
133
+ each(range(12), {
132
134
 
133
- &.icon-size-@{value}{
134
- font-size: ~"var(--@{PCSS}-size-@{value})";
135
- }
136
- &.icon-size--@{value}{
137
- font-size: ~"var(--@{PCSS}-size--@{value})";
138
- }
139
- });
140
- }
135
+ &.icon-size-@{value}{
136
+ font-size: ~"var(--@{PCSS}-size-@{value})";
137
+ }
138
+ &.icon-size--@{value}{
139
+ font-size: ~"var(--@{PCSS}-size--@{value})";
140
+ }
141
+ });
142
+
143
+ // }
144
+ }
145
+
146
+ // avoid selection
147
+ @{P}-icon,
148
+ i.@{PCSS}-icon {
149
+ user-select: none;
141
150
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.1",
2
+ "version": "1.0.3",
3
3
  "name": "@pacem/pacem-theme-less",
4
4
  "type": "module",
5
5
  "homepage": "https://js.pacem.it",