mirror of
https://github.com/feathericons/feather.git
synced 2023-08-10 21:13:24 +03:00
Compare commits
1 Commits
github-act
...
dependabot
Author | SHA1 | Date | |
---|---|---|---|
3cde4e693f |
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
@ -1,19 +0,0 @@
|
||||
name: CI
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Use Node.js 16.x
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16.x
|
||||
cache: 'npm'
|
||||
- run: npm ci
|
||||
- run: npm run all
|
||||
- name: Release
|
||||
if: github.ref_name == 'master'
|
||||
run: npx semantic-release
|
@ -194,7 +194,7 @@ Include an icon on your page with the following markup:
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<use href="path/to/feather-sprite.svg#circle"/>
|
||||
<use xlink:href="path/to/feather-sprite.svg#circle"/>
|
||||
</svg>
|
||||
```
|
||||
|
||||
@ -216,7 +216,7 @@ However, this markup can be simplified using a simple CSS class to avoid repetit
|
||||
|
||||
```html
|
||||
<svg class="feather">
|
||||
<use href="path/to/dist/feather-sprite.svg#circle"/>
|
||||
<use xlink:href="path/to/dist/feather-sprite.svg#circle"/>
|
||||
</svg>
|
||||
```
|
||||
### Figma
|
||||
@ -399,7 +399,6 @@ Caught a mistake or want to contribute to the documentation? [Edit this page on
|
||||
- [wp-php-feather](https://github.com/reatlat/wp-php-feather) - Feather icons as a WordPress template tag
|
||||
- [django-feather](https://pypi.org/project/django-feather/) - Feather icons as Django Template Tag
|
||||
- [svelte-feather-icons](https://github.com/dylanblokhuis/svelte-feather-icons) - Feather icons as Svelte components
|
||||
- [gulp-feather](https://github.com/oToToT/gulp-feather) - Feather icons renderng using gulp
|
||||
|
||||
## License
|
||||
|
||||
|
@ -7,7 +7,7 @@ import DEFAULT_ATTRS from '../src/default-attrs.json';
|
||||
/**
|
||||
* Process SVG string.
|
||||
* @param {string} svg - An SVG string.
|
||||
* @returns {Promise<string>}
|
||||
* @param {Promise<string>}
|
||||
*/
|
||||
function processSvg(svg) {
|
||||
return (
|
||||
|
1915
package-lock.json
generated
1915
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -32,7 +32,7 @@
|
||||
"core-js": "^3.1.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^5.2.5",
|
||||
"@commitlint/cli": "^13.1.0",
|
||||
"@commitlint/config-conventional": "^6.1.3",
|
||||
"algoliasearch": "^3.27.1",
|
||||
"babel-cli": "^6.24.1",
|
||||
|
@ -28,8 +28,6 @@
|
||||
"calendar": ["date"],
|
||||
"camera": ["photo"],
|
||||
"cast": ["chromecast", "airplay"],
|
||||
"chevron-down": ["expand"],
|
||||
"chevron-up": ["collapse"],
|
||||
"circle": ["off", "zero", "record"],
|
||||
"clipboard": ["copy"],
|
||||
"clock": ["time", "watch", "alarm"],
|
||||
|
Reference in New Issue
Block a user