mirror of
https://github.com/tabler/tabler-icons.git
synced 2025-08-01 11:50:25 +02:00
Merge branch 'master' of https://github.com/tabler/tabler-icons
This commit is contained in:
@@ -283,7 +283,7 @@ export const getCompileOptions = () => {
|
||||
|
||||
if (fs.existsSync('../compile-options.json')) {
|
||||
try {
|
||||
const tempOptions = require('../compile-options.json')
|
||||
const tempOptions = JSON.parse(fs.readFileSync('../compile-options.json').toString())
|
||||
|
||||
if (typeof tempOptions !== 'object') {
|
||||
throw 'Compile options file does not contain an json object'
|
||||
|
19
.github/workflows/add_to_project.yml
vendored
19
.github/workflows/add_to_project.yml
vendored
@@ -1,19 +0,0 @@
|
||||
name: Add new issues and pr to project
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
issues:
|
||||
types:
|
||||
- opened
|
||||
|
||||
jobs:
|
||||
add-to-project:
|
||||
name: Add new issue and pr to project
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/add-to-project@v0.4.0
|
||||
with:
|
||||
project-url: https://github.com/orgs/tabler/projects/9/views/1
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
@@ -36,7 +36,7 @@
|
||||
npm install @tabler/icons --save
|
||||
```
|
||||
|
||||
or just [download from Github](https://github.com/tabler/tabler-icons/releases).
|
||||
or just [download from GitHub](https://github.com/tabler/tabler-icons/releases).
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -112,7 +112,7 @@ const MyComponent = () => {
|
||||
}
|
||||
```
|
||||
|
||||
`@tabler/icons-react` exports it's own type declarations for usage with React and Typescript.
|
||||
`@tabler/icons-react` exports its own type declarations for usage with React and Typescript.
|
||||
|
||||
For more details, see the [documentation](https://github.com/tabler/tabler-icons/tree/master/packages/icons-react).
|
||||
|
||||
@@ -175,7 +175,7 @@ After importing the _IconsModule_ in your feature or shared module, use the icon
|
||||
<i-tabler name="brand-github" class="someclass"></i-tabler>
|
||||
```
|
||||
|
||||
`angular-tabler-icons` exports it's own type declarations for usage with Typescript.
|
||||
`angular-tabler-icons` exports its own type declarations for usage with Typescript.
|
||||
|
||||
For more usage documentation refer to [the official documentation](https://github.com/pierreavn/angular-tabler-icons).
|
||||
|
||||
@@ -208,7 +208,7 @@ All files included in `@tabler/icons` npm package are available over a CDN.
|
||||
#### Iconfont
|
||||
|
||||
```html
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/icons@latest/iconfont/tabler-icons.min.css">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@latest/tabler-icons.min.css">
|
||||
```
|
||||
|
||||
To load a specific version replace `latest` with the desired version number.
|
||||
|
@@ -21,6 +21,7 @@ declare module '@tabler/icons-vue'
|
||||
// Create interface extending SVGAttributes
|
||||
export interface SVGProps extends Partial<SVGAttributes> {
|
||||
size?: 24 | number
|
||||
strokeWidth?: number | string
|
||||
}
|
||||
|
||||
// Generated icons`
|
||||
|
@@ -1,4 +1,5 @@
|
||||
---
|
||||
tags: [microsoft, technology]
|
||||
category: Brand
|
||||
version: "2.23"
|
||||
unicode: "fadf"
|
@@ -1,6 +1,6 @@
|
||||
---
|
||||
category: Vehicles
|
||||
tags: [consturction, building, machine, lifting]
|
||||
tags: [construction, building, machine, lifting]
|
||||
version: "1.65"
|
||||
unicode: "f109"
|
||||
---
|
||||
|
@@ -1,5 +1,5 @@
|
||||
---
|
||||
tags: [consturction, building, machine, lifting]
|
||||
tags: [construction, building, machine, lifting]
|
||||
category: Vehicles
|
||||
version: "1.41"
|
||||
unicode: "ef27"
|
||||
|
@@ -1,5 +1,5 @@
|
||||
---
|
||||
category: Currency
|
||||
category: Currencies
|
||||
version: "2.24"
|
||||
unicode: "faf5"
|
||||
---
|
||||
|
@@ -1,5 +1,5 @@
|
||||
---
|
||||
tags: [tool, repair, building, consturction]
|
||||
tags: [tool, repair, building, construction]
|
||||
version: "1.66"
|
||||
unicode: "f13c"
|
||||
---
|
||||
|
@@ -1,5 +1,5 @@
|
||||
---
|
||||
tags: [tool, repair, building, consturction]
|
||||
tags: [tool, repair, building, construction]
|
||||
version: "1.47"
|
||||
unicode: "ef91"
|
||||
---
|
||||
|
@@ -1,5 +1,5 @@
|
||||
---
|
||||
tags: [brick, security, firewall, building, renovation, consturction]
|
||||
tags: [brick, security, firewall, building, renovation, construction]
|
||||
version: "1.45"
|
||||
unicode: "ef7a"
|
||||
---
|
||||
|
Reference in New Issue
Block a user