@stacksjs/iconify-gala 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +53 -0
- package/package.json +41 -0
package/README.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# @stacksjs/iconify-gala
|
|
2
|
+
|
|
3
|
+
Gala Icons icons for stx from Iconify.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
bun add @stacksjs/iconify-gala
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
### In stx templates
|
|
14
|
+
|
|
15
|
+
```html
|
|
16
|
+
<script>
|
|
17
|
+
import { home } from '@stacksjs/iconify-gala'
|
|
18
|
+
import { renderIcon } from '@stacksjs/iconify-core'
|
|
19
|
+
|
|
20
|
+
export const homeIcon = renderIcon(home, { size: 24, color: 'currentColor' })
|
|
21
|
+
</script>
|
|
22
|
+
|
|
23
|
+
<div class="icon">
|
|
24
|
+
{!! homeIcon !!}
|
|
25
|
+
</div>
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### In TypeScript/JavaScript
|
|
29
|
+
|
|
30
|
+
```typescript
|
|
31
|
+
import { home, account, settings } from '@stacksjs/iconify-gala'
|
|
32
|
+
import { renderIcon } from '@stacksjs/iconify-core'
|
|
33
|
+
|
|
34
|
+
const svg = renderIcon(home, {
|
|
35
|
+
size: 24,
|
|
36
|
+
color: '#000000',
|
|
37
|
+
})
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Available Icons
|
|
41
|
+
|
|
42
|
+
This package contains 51 icons from Gala Icons.
|
|
43
|
+
|
|
44
|
+
## License
|
|
45
|
+
|
|
46
|
+
GPL
|
|
47
|
+
|
|
48
|
+
License: https://github.com/cyberalien/gala-icons/blob/main/LICENSE
|
|
49
|
+
|
|
50
|
+
## Credits
|
|
51
|
+
|
|
52
|
+
- Icons: Jake Wells (https://github.com/cyberalien/gala-icons)
|
|
53
|
+
- Iconify: https://iconify.design/
|
package/package.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@stacksjs/iconify-gala",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Gala Icons icons for stx from Iconify",
|
|
5
|
+
"author": "Jake Wells",
|
|
6
|
+
"license": "GPL-3.0",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./*": "./dist/*"
|
|
14
|
+
},
|
|
15
|
+
"main": "./dist/index.js",
|
|
16
|
+
"module": "./dist/index.js",
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"files": [
|
|
19
|
+
"dist"
|
|
20
|
+
],
|
|
21
|
+
"scripts": {
|
|
22
|
+
"build": "bun build.ts"
|
|
23
|
+
},
|
|
24
|
+
"dependencies": {
|
|
25
|
+
"@stacksjs/iconify-core": "^0.1.12"
|
|
26
|
+
},
|
|
27
|
+
"keywords": [
|
|
28
|
+
"iconify",
|
|
29
|
+
"icons",
|
|
30
|
+
"svg",
|
|
31
|
+
"gala",
|
|
32
|
+
"Gala Icons",
|
|
33
|
+
"stx"
|
|
34
|
+
],
|
|
35
|
+
"repository": {
|
|
36
|
+
"type": "git",
|
|
37
|
+
"url": "https://github.com/stacksjs/stx.git",
|
|
38
|
+
"directory": "packages/iconify-gala"
|
|
39
|
+
},
|
|
40
|
+
"sideEffects": false
|
|
41
|
+
}
|