zodiacfonts 1.0.0

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.
Files changed (59) hide show
  1. package/OFL.txt +93 -0
  2. package/README.md +231 -0
  3. package/glyphs.json +396 -0
  4. package/icons/celestial-points/lilith.svg +10 -0
  5. package/icons/celestial-points/north-node.svg +11 -0
  6. package/icons/celestial-points/south-node.svg +11 -0
  7. package/icons/dwarf-planets-and-asteroids/chiron.svg +11 -0
  8. package/icons/houses/ascendant.svg +11 -0
  9. package/icons/houses/house-eight.svg +14 -0
  10. package/icons/houses/house-eleven.svg +12 -0
  11. package/icons/houses/house-five.svg +11 -0
  12. package/icons/houses/house-four.svg +12 -0
  13. package/icons/houses/house-nine.svg +12 -0
  14. package/icons/houses/house-one.svg +10 -0
  15. package/icons/houses/house-seven.svg +13 -0
  16. package/icons/houses/house-six.svg +12 -0
  17. package/icons/houses/house-ten.svg +11 -0
  18. package/icons/houses/house-three.svg +12 -0
  19. package/icons/houses/house-twelve.svg +13 -0
  20. package/icons/houses/house-two.svg +11 -0
  21. package/icons/houses/medium-coeli.svg +10 -0
  22. package/icons/lunar/first-quarter.svg +9 -0
  23. package/icons/lunar/full-moon.svg +8 -0
  24. package/icons/lunar/last-quarter.svg +9 -0
  25. package/icons/lunar/new-moon.svg +8 -0
  26. package/icons/lunar/waning-crescent.svg +9 -0
  27. package/icons/lunar/waning-gibbous.svg +9 -0
  28. package/icons/lunar/waxing-crescent.svg +9 -0
  29. package/icons/lunar/waxing-gibbous.svg +9 -0
  30. package/icons/main-planets/earth.svg +10 -0
  31. package/icons/main-planets/jupiter.svg +9 -0
  32. package/icons/main-planets/mars.svg +11 -0
  33. package/icons/main-planets/mercury.svg +11 -0
  34. package/icons/main-planets/moon.svg +8 -0
  35. package/icons/main-planets/neptune.svg +11 -0
  36. package/icons/main-planets/pluto.svg +8 -0
  37. package/icons/main-planets/saturn.svg +9 -0
  38. package/icons/main-planets/sun.svg +9 -0
  39. package/icons/main-planets/uranus.svg +12 -0
  40. package/icons/main-planets/venus.svg +10 -0
  41. package/icons/major-aspects/conjunction.svg +9 -0
  42. package/icons/major-aspects/opposition.svg +10 -0
  43. package/icons/major-aspects/sextile.svg +11 -0
  44. package/icons/major-aspects/square.svg +8 -0
  45. package/icons/major-aspects/trine.svg +8 -0
  46. package/icons/movements/retrograde.svg +10 -0
  47. package/icons/signs/aquarius.svg +13 -0
  48. package/icons/signs/aries.svg +9 -0
  49. package/icons/signs/cancer.svg +11 -0
  50. package/icons/signs/capricorn.svg +8 -0
  51. package/icons/signs/gemini.svg +11 -0
  52. package/icons/signs/leo.svg +9 -0
  53. package/icons/signs/libra.svg +10 -0
  54. package/icons/signs/pisces.svg +10 -0
  55. package/icons/signs/sagittarius.svg +11 -0
  56. package/icons/signs/scorpio.svg +12 -0
  57. package/icons/signs/taurus.svg +9 -0
  58. package/icons/signs/virgo.svg +12 -0
  59. package/package.json +37 -0
package/OFL.txt ADDED
@@ -0,0 +1,93 @@
1
+ Copyright (c) 2025-2026, Zodiac Fonts (https://zodiacfonts.com, https://x.com/zodiacfonts),
2
+ with Reserved Font Name "Zodiac".
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ https://openfontlicense.org
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,231 @@
1
+ <div align="center">
2
+
3
+ # Zodiac Fonts — Free Astrology Symbols
4
+
5
+ Hand-crafted **astrology icons & symbols** as clean, `currentColor`-ready SVG.
6
+ Zodiac signs, planets, lunar phases, houses, aspects and more — free for personal and commercial use.
7
+
8
+ [![License: OFL 1.1](https://img.shields.io/badge/license-OFL--1.1-blue.svg)](./OFL.txt)
9
+ [![Website](https://img.shields.io/badge/website-zodiacfonts.com-8A2BE2.svg)](https://www.zodiacfonts.com)
10
+ [![Free symbols](https://img.shields.io/badge/free%20symbols-55-2ea44f.svg)](#whats-inside)
11
+ [![Documentation](https://img.shields.io/badge/docs-zodiacfonts.com%2Fdocumentation-informational.svg)](https://www.zodiacfonts.com/documentation)
12
+
13
+ **[Website](https://www.zodiacfonts.com)** · **[Documentation](https://www.zodiacfonts.com/documentation)** · **[Browse all symbols](https://www.zodiacfonts.com)**
14
+
15
+ </div>
16
+
17
+ ---
18
+
19
+ > [!NOTE]
20
+ > This repository hosts the **Free tier** (55 SVG symbols) so developers can consume Zodiac
21
+ > Fonts as a dependency. The full collection — 101 symbols across six installable font
22
+ > variants — is **Pro**. See **[zodiacfonts.com/documentation](https://www.zodiacfonts.com/documentation)**
23
+ > for the visual reference and Pro integration guide.
24
+
25
+ ## Table of contents
26
+
27
+ - [What's inside](#whats-inside)
28
+ - [Installation](#installation)
29
+ - [Usage](#usage)
30
+ - [Theming with `currentColor`](#theming-with-currentcolor)
31
+ - [Folder structure](#folder-structure)
32
+ - [The manifest (`glyphs.json`)](#the-manifest-glyphsjson)
33
+ - [Categories](#categories)
34
+ - [Upgrading to Pro](#upgrading-to-pro)
35
+ - [License](#license)
36
+ - [Links](#links)
37
+
38
+ ## What's inside
39
+
40
+ | | Free _(this repo)_ | Pro _(for purchase)_ |
41
+ | --- | --- | --- |
42
+ | Symbols | **55** | **101** |
43
+ | Format | SVG ¹ | SVG, PNG **and** installable fonts |
44
+ | Font variants | Sans-serif · Regular | Sans + Slab × Light / Regular / Bold (6) |
45
+ | Theming | `currentColor`-ready | `currentColor` + `font-*` |
46
+ | License | SIL OFL 1.1 | Pro extended license (EULA) |
47
+ | Use | Personal **&** commercial | Personal **&** commercial |
48
+
49
+ > ¹ This repository ships the free symbols as **SVG only**. Free **PNG** rasters are not
50
+ > included here — they are available exclusively via the download dialog on
51
+ > **[zodiacfonts.com](https://www.zodiacfonts.com)**.
52
+
53
+ Every SVG is normalized to a `0 0 512 512` viewBox and drawn with
54
+ `fill="none" stroke="currentColor"`, so it inherits color from CSS out of the box.
55
+
56
+ ## Installation
57
+
58
+ **npm** (recommended for apps and design systems)
59
+
60
+ ```bash
61
+ npm install zodiacfonts
62
+ # symbols are then available under node_modules/zodiacfonts/icons/<category>/<name>.svg
63
+ ```
64
+
65
+ **Download / clone** (recommended for static sites)
66
+
67
+ ```bash
68
+ git clone https://github.com/zodiacfonts/zodiacfonts.git
69
+ # or grab a ZIP from the "Code" button / the Releases page
70
+ ```
71
+
72
+ **Copy individual files** — every symbol is a standalone `.svg`; just copy the ones you need
73
+ from [`icons/`](./icons).
74
+
75
+ ## Usage
76
+
77
+ ### As an image
78
+
79
+ ```html
80
+ <img src="icons/signs/aries.svg" alt="Aries" width="48" height="48" />
81
+ ```
82
+
83
+ ### Inline (so it inherits color)
84
+
85
+ ```html
86
+ <span class="zodiac-icon" role="img" aria-label="Aries">
87
+ <!-- contents of icons/signs/aries.svg -->
88
+ <svg viewBox="0 0 512 512" width="48" height="48">
89
+ <path d="…" fill="none" stroke="currentColor" stroke-width="32" />
90
+ </svg>
91
+ </span>
92
+ ```
93
+
94
+ ### Framework notes
95
+
96
+ ```jsx
97
+ // React (Vite / CRA / Next) — import as a URL and use as <img>, or as a component via SVGR
98
+ import ariesUrl from 'zodiacfonts/icons/signs/aries.svg';
99
+ export const Aries = () => <img src={ariesUrl} alt="Aries" width={48} height={48} />;
100
+ ```
101
+
102
+ ```vue
103
+ <!-- Vue 3 + Vite -->
104
+ <template><img :src="aries" alt="Aries" width="48" height="48" /></template>
105
+ <script setup>import aries from 'zodiacfonts/icons/signs/aries.svg';</script>
106
+ ```
107
+
108
+ ```html
109
+ <!-- Angular — copy icons/ into your assets and reference by path -->
110
+ <img src="assets/zodiac/signs/aries.svg" alt="Aries" width="48" height="48" />
111
+ ```
112
+
113
+ ## Theming with `currentColor`
114
+
115
+ Because the strokes use `currentColor`, an **inlined** SVG follows the CSS `color` property:
116
+
117
+ ```css
118
+ .zodiac-icon { color: rebeccapurple; }
119
+ .zodiac-icon:hover { color: gold; }
120
+ ```
121
+
122
+ To recolor an **external** SVG (used via `<img>`, `background`, etc.) without inlining it,
123
+ use the CSS mask technique:
124
+
125
+ ```css
126
+ .zodiac-icon {
127
+ width: 48px;
128
+ height: 48px;
129
+ background-color: currentColor; /* glyph color = text color */
130
+ -webkit-mask: url('icons/signs/aries.svg') center / contain no-repeat;
131
+ mask: url('icons/signs/aries.svg') center / contain no-repeat;
132
+ }
133
+ ```
134
+
135
+ Sizing is just `width` / `height` (or `font-size` when inlined and using `1em` dimensions).
136
+
137
+ ## Folder structure
138
+
139
+ ```
140
+ zodiacfonts/
141
+ ├── icons/
142
+ │ ├── signs/ aries.svg, taurus.svg, … (12)
143
+ │ ├── main-planets/ sun.svg, moon.svg, … (11)
144
+ │ ├── lunar/ new-moon.svg, full-moon.svg, … (8)
145
+ │ ├── celestial-points/ north-node.svg, south-node.svg, lilith.svg (3)
146
+ │ ├── dwarf-planets-and-asteroids/ chiron.svg (1)
147
+ │ ├── houses/ house-one.svg … medium-coeli.svg (14)
148
+ │ ├── major-aspects/ conjunction.svg, trine.svg, … (5)
149
+ │ └── movements/ retrograde.svg (1)
150
+ ├── glyphs.json machine-readable manifest of all 55 symbols
151
+ ├── OFL.txt SIL Open Font License 1.1
152
+ ├── package.json
153
+ └── README.md
154
+ ```
155
+
156
+ ## The manifest (`glyphs.json`)
157
+
158
+ Use [`glyphs.json`](./glyphs.json) to generate pickers, sprites, or typed constants:
159
+
160
+ ```js
161
+ import manifest from 'zodiacfonts/glyphs.json' assert { type: 'json' };
162
+
163
+ for (const g of manifest.glyphs) {
164
+ // g.name, g.slug, g.reference, g.codepoint, g.file
165
+ console.log(g.slug, '→', g.file);
166
+ }
167
+ ```
168
+
169
+ Each entry: `name`, `slug` (filename), `reference` (source id), `codepoint` (Private Use Area
170
+ code point used by the icon font) and `file` (repo path).
171
+
172
+ ## Categories
173
+
174
+ | Category | Free symbols |
175
+ | --- | ---: |
176
+ | Signs | 12 |
177
+ | Main planets | 11 |
178
+ | Lunar phases | 8 |
179
+ | Celestial points | 3 |
180
+ | Dwarf planets & asteroids | 1 |
181
+ | Houses | 14 |
182
+ | Major aspects | 5 |
183
+ | Movements | 1 |
184
+ | **Total** | **55** |
185
+
186
+ <details>
187
+ <summary>Full list of free symbols</summary>
188
+
189
+ - **Signs** — aries, taurus, gemini, cancer, leo, virgo, libra, scorpio, sagittarius, capricorn, aquarius, pisces
190
+ - **Main planets** — sun, moon, mercury, venus, earth, mars, jupiter, saturn, uranus, neptune, pluto
191
+ - **Lunar** — new-moon, waxing-crescent, first-quarter, waxing-gibbous, full-moon, waning-gibbous, last-quarter, waning-crescent
192
+ - **Celestial points** — north-node, south-node, lilith
193
+ - **Dwarf planets & asteroids** — chiron
194
+ - **Houses** — house-one … house-twelve, ascendant, medium-coeli
195
+ - **Major aspects** — conjunction, opposition, square, trine, sextile
196
+ - **Movements** — retrograde
197
+
198
+ </details>
199
+
200
+ > Premium symbols (elements, minor aspects, extra asteroids, lunar/solar eclipses and more)
201
+ > are part of **Pro** and are intentionally not included here.
202
+
203
+ ## Upgrading to Pro
204
+
205
+ Pro unlocks all **101** symbols plus the complete, installable font families
206
+ (Sans-serif & Slab-serif × Light / Regular / Bold). The easiest way to render astrology charts
207
+ is to register the fonts with `@font-face` and type the mapped characters.
208
+
209
+ Full Pro integration guidance, the character map and live previews:
210
+ **[zodiacfonts.com/documentation](https://www.zodiacfonts.com/documentation)**.
211
+
212
+ ## License
213
+
214
+ The free Zodiac Fonts symbols are released under the **SIL Open Font License, Version 1.1**
215
+ with Reserved Font Name **"Zodiac"** — see [`OFL.txt`](./OFL.txt).
216
+
217
+ You may use, study, modify and redistribute them, including commercially. The Font Software
218
+ may not be sold by itself, and derivatives must not use the Reserved Font Name. Documents and
219
+ artwork created with the symbols are unrestricted.
220
+
221
+ ## Links
222
+
223
+ - Website — https://www.zodiacfonts.com
224
+ - Documentation & Pro guide — https://www.zodiacfonts.com/documentation
225
+ - Interactive symbol browser — https://www.zodiacfonts.com
226
+
227
+ ---
228
+
229
+ <div align="center">
230
+ Crafted with ♡ for the cosmos · © Zodiac Fonts
231
+ </div>