@feathericons/core 0.1.0 → 0.3.0

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/README.md CHANGED
@@ -24,6 +24,9 @@ ICON_AXES
24
24
  icons
25
25
  // [{ name, keywords, variants: [{ axes, grid, bounds, contents }, ...] }, ...]
26
26
 
27
- getVariant(icons[0], { weight: 'regular', roundness: 'medium' })
27
+ getVariant(icons[0], { weight: 'bold', roundness: 'large' })
28
28
  // { axes, grid, bounds, contents }
29
+
30
+ getVariant(icons[0], { weight: 'bold' })
31
+ // Axes you leave out use ICON_AXIS_DEFAULTS
29
32
  ```
package/dist/entries.js CHANGED
@@ -6,9 +6,7 @@ export function iconExportName(kebab) {
6
6
  .join('')}Icon`;
7
7
  }
8
8
  export function entryPointId(axes) {
9
- return Object.keys(ICON_AXES)
10
- .map((key) => `${key}-${axes[key]}`)
11
- .join('_');
9
+ return Object.keys(ICON_AXES).map((key) => `${key}-${axes[key]}`).join('_');
12
10
  }
13
11
  export function entryPointIds() {
14
12
  const keys = Object.keys(ICON_AXES);