@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.
- package/pacem/ui/dark/icon.less +19 -10
- package/package.json +1 -1
package/pacem/ui/dark/icon.less
CHANGED
|
@@ -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
|
-
|
|
133
|
+
each(range(12), {
|
|
132
134
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
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