Compare commits

..

9 Commits

Author SHA1 Message Date
f81cd40fdc feat: Add table icon (#1138) 2022-03-29 16:37:37 -07:00
a7e39d665f Update GITHUB_TOKEN permissions 2022-03-29 16:30:25 -07:00
7da2950653 Remove GITHUB_TOKEN env variable 2022-03-29 16:23:24 -07:00
d657e8aa56 Add env variables 2022-03-29 16:15:31 -07:00
508003d9d3 chore: Add ci.yml workflow 2022-03-29 16:07:02 -07:00
734f3f5114 Fix return tag on processSvg (#946)
The `@returns` line for the `processSvg` function was using `@param`
2021-09-21 22:58:00 -07:00
a08d064842 Add tags (#985) 2021-09-21 22:57:09 -07:00
14ee355852 add gulp-feather (#1010) 2021-09-21 22:55:53 -07:00
4d61ba72bf Replace "xlink:href" with "href" (#1070) 2021-09-21 22:53:39 -07:00
6 changed files with 41 additions and 35 deletions

View File

@ -1,32 +0,0 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
ignore:
- dependency-name: svgo
versions:
- 1.3.2
- 2.0.0
- 2.0.1
- 2.0.3
- 2.1.0
- 2.2.0
- 2.2.1
- 2.2.2
- dependency-name: lint-staged
versions:
- 10.5.3
- dependency-name: "@commitlint/cli"
versions:
- 11.0.0
- 12.0.0
- 12.0.1
- dependency-name: elliptic
versions:
- 6.5.3
- dependency-name: handlebars
versions:
- 4.7.6

22
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,22 @@
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
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

View File

@ -194,7 +194,7 @@ Include an icon on your page with the following markup:
stroke-linecap="round"
stroke-linejoin="round"
>
<use xlink:href="path/to/feather-sprite.svg#circle"/>
<use 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 xlink:href="path/to/dist/feather-sprite.svg#circle"/>
<use href="path/to/dist/feather-sprite.svg#circle"/>
</svg>
```
### Figma
@ -399,6 +399,7 @@ 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

View File

@ -7,7 +7,7 @@ import DEFAULT_ATTRS from '../src/default-attrs.json';
/**
* Process SVG string.
* @param {string} svg - An SVG string.
* @param {Promise<string>}
* @returns {Promise<string>}
*/
function processSvg(svg) {
return (

13
icons/table.svg Normal file
View File

@ -0,0 +1,13 @@
<svg
width="24"
height="24"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18" />
</svg>

After

Width:  |  Height:  |  Size: 329 B

View File

@ -28,6 +28,8 @@
"calendar": ["date"],
"camera": ["photo"],
"cast": ["chromecast", "airplay"],
"chevron-down": ["expand"],
"chevron-up": ["collapse"],
"circle": ["off", "zero", "record"],
"clipboard": ["copy"],
"clock": ["time", "watch", "alarm"],