3.2.1 • Published 7 months ago

@square/maker-icons v3.2.1

Weekly downloads
34
License
Apache-2.0
Repository
github
Last release
7 months ago

Maker icons

Icon set for Maker. Mostly uses icons from Feather Icons plus a few manual additions.

Using

npm install @square/maker-icons

Then within your Vue components:

<template>
    <span class="error">
        <alert-circle> {{ errorMessage }}
    </span>
</template>

<script>
import AlertCircle from '@square/maker-icons/AlertCircle';

export default {
    name: 'MyErrorComponent',
    components: {
        AlertCircle,
    },
    props: {
        errorMessage: {
            type: String,
            required: true,
        },
    },
};
</script>

<style scoped>
.error {
    color: red; /* only colors the text */
    fill: red; /* required to color the icon */
}
</style>

Contributing

Installing dependencies

npm ci

Building

npm run build

Manually adding icons

Add the svg files to the svg folder. Use kebab-case names for the file names.

Publishing

Check you're publishing what you intend to with:

npm publish --dry-run

Before publishing remember to bump the version in package.json.

Also remember to login using npm login.

Then actually publish with:

npm publish
3.2.1

7 months ago

3.2.0

1 year ago

3.1.0

2 years ago

2.1.2

2 years ago

2.1.1

2 years ago

3.0.0

2 years ago

2.1.0

2 years ago

2.0.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago