1
0
mirror of https://github.com/tabler/tabler-icons.git synced 2025-08-29 08:40:52 +02:00
This commit is contained in:
codecalm
2023-08-18 17:39:39 +02:00
11 changed files with 13 additions and 30 deletions

View File

@@ -283,7 +283,7 @@ export const getCompileOptions = () => {
if (fs.existsSync('../compile-options.json')) { if (fs.existsSync('../compile-options.json')) {
try { try {
const tempOptions = require('../compile-options.json') const tempOptions = JSON.parse(fs.readFileSync('../compile-options.json').toString())
if (typeof tempOptions !== 'object') { if (typeof tempOptions !== 'object') {
throw 'Compile options file does not contain an json object' throw 'Compile options file does not contain an json object'

View File

@@ -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 }}

View File

@@ -36,7 +36,7 @@
npm install @tabler/icons --save 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 ## 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). 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> <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). 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 #### Iconfont
```html ```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. To load a specific version replace `latest` with the desired version number.

View File

@@ -21,6 +21,7 @@ declare module '@tabler/icons-vue'
// Create interface extending SVGAttributes // Create interface extending SVGAttributes
export interface SVGProps extends Partial<SVGAttributes> { export interface SVGProps extends Partial<SVGAttributes> {
size?: 24 | number size?: 24 | number
strokeWidth?: number | string
} }
// Generated icons` // Generated icons`

View File

@@ -1,4 +1,5 @@
--- ---
tags: [microsoft, technology]
category: Brand category: Brand
version: "2.23" version: "2.23"
unicode: "fadf" unicode: "fadf"

View File

@@ -1,6 +1,6 @@
--- ---
category: Vehicles category: Vehicles
tags: [consturction, building, machine, lifting] tags: [construction, building, machine, lifting]
version: "1.65" version: "1.65"
unicode: "f109" unicode: "f109"
--- ---

View File

@@ -1,5 +1,5 @@
--- ---
tags: [consturction, building, machine, lifting] tags: [construction, building, machine, lifting]
category: Vehicles category: Vehicles
version: "1.41" version: "1.41"
unicode: "ef27" unicode: "ef27"

View File

@@ -1,5 +1,5 @@
--- ---
category: Currency category: Currencies
version: "2.24" version: "2.24"
unicode: "faf5" unicode: "faf5"
--- ---

View File

@@ -1,5 +1,5 @@
--- ---
tags: [tool, repair, building, consturction] tags: [tool, repair, building, construction]
version: "1.66" version: "1.66"
unicode: "f13c" unicode: "f13c"
--- ---

View File

@@ -1,5 +1,5 @@
--- ---
tags: [tool, repair, building, consturction] tags: [tool, repair, building, construction]
version: "1.47" version: "1.47"
unicode: "ef91" unicode: "ef91"
--- ---

View File

@@ -1,5 +1,5 @@
--- ---
tags: [brick, security, firewall, building, renovation, consturction] tags: [brick, security, firewall, building, renovation, construction]
version: "1.45" version: "1.45"
unicode: "ef7a" unicode: "ef7a"
--- ---