ACP Icons

This commit is contained in:
2026-04-23 14:27:29 +02:00
parent 677e9fb798
commit 3dcc9553c4
6 changed files with 230 additions and 55 deletions
+36 -30
View File
@@ -6,38 +6,45 @@ Source: https://game-icons.net and https://github.com/game-icons/icons
License: Creative Commons Attribution 3.0 Unported, https://creativecommons.org/licenses/by/3.0/
The SVGs in `public/game-icons/` were sanitized for theme use by removing the default black square background and changing the foreground fill to `currentColor`. They should be used as monochrome/tintable assets, preferably in an engraved faded-gold or dark-steel treatment. Category-specific colors can still come from the NodeBB ACP category color fields or future `wg-icon-*` classes.
The SVGs in `public/game-icons/` were sanitized for theme use by removing the default black square background and changing the foreground fill to `currentColor`. They are used as monochrome/tintable assets, preferably in an engraved faded-gold or dark-steel treatment. Category-specific colors still come from the NodeBB ACP category color fields.
## Recommended Mapping
| Category | Recommended icon | Asset |
| --- | --- | --- |
| INFORMATION | Scroll and quill | `public/game-icons/scroll-quill.svg` |
| Player Guide | Rule book | `public/game-icons/rule-book.svg` |
| Announcements | Ringing bell | `public/game-icons/ringing-bell.svg` |
| Patch Notes | Spinning wheel | `public/game-icons/spinning-wheel.svg` |
| COMMUNITY | Tavern sign | `public/game-icons/tavern-sign.svg` |
| General Discussion | Saloon | `public/game-icons/saloon.svg` |
| Introductions | Shaking hands | `public/game-icons/shaking-hands.svg` |
| Screenshots | Large paint brush | `public/game-icons/large-paint-brush.svg` |
| Creations | Flute | `public/game-icons/flute.svg` |
| ROLEPLAY | Drama masks | `public/game-icons/drama-masks.svg` |
| Notices | Target poster | `public/game-icons/target-poster.svg` |
| Rumors & Gossip | Chat bubble | `public/game-icons/chat-bubble.svg` |
| Journals & Biographies | Notebook | `public/game-icons/notebook.svg` |
| Factions & Guilds | Wax seal | `public/game-icons/wax-seal.svg` |
| SUPPORT | Glowing hands | `public/game-icons/glowing-hands.svg` |
| Common Issues & Questions | Question badge | `public/game-icons/question.svg` |
| Technical Help | Monkey wrench | `public/game-icons/monkey-wrench.svg` |
| Bug Reports | Long antennae bug | `public/game-icons/long-antennae-bug.svg` |
| Feedback | Idea | `public/game-icons/idea.svg` |
| DEVELOPMENT | Gears | `public/game-icons/gears.svg` |
| Tools & References | Toolbox | `public/game-icons/toolbox.svg` |
| General | Compass | `public/game-icons/compass.svg` |
| Lore | Open book | `public/game-icons/open-book.svg` |
| Designs | Pencil ruler | `public/game-icons/pencil-ruler.svg` |
| Programming | Processor | `public/game-icons/processor.svg` |
| Area Building | Castle ruins | `public/game-icons/castle-ruins.svg` |
| Category | Recommended icon | ACP custom class | Asset |
| --- | --- | --- | --- |
| INFORMATION | Scroll and quill | `wg-icon-scroll-quill` | `public/game-icons/scroll-quill.svg` |
| Player Guide | Rule book | `wg-icon-rule-book` | `public/game-icons/rule-book.svg` |
| Announcements | Ringing bell | `wg-icon-ringing-bell` | `public/game-icons/ringing-bell.svg` |
| Patch Notes | Spinning wheel | `wg-icon-spinning-wheel` | `public/game-icons/spinning-wheel.svg` |
| COMMUNITY | Tavern sign | `wg-icon-tavern-sign` | `public/game-icons/tavern-sign.svg` |
| General Discussion | Saloon | `wg-icon-saloon` | `public/game-icons/saloon.svg` |
| Introductions | Shaking hands | `wg-icon-shaking-hands` | `public/game-icons/shaking-hands.svg` |
| Screenshots | Large paint brush | `wg-icon-large-paint-brush` | `public/game-icons/large-paint-brush.svg` |
| Creations | Flute | `wg-icon-flute` | `public/game-icons/flute.svg` |
| ROLEPLAY | Drama masks | `wg-icon-drama-masks` | `public/game-icons/drama-masks.svg` |
| Notices | Target poster | `wg-icon-target-poster` | `public/game-icons/target-poster.svg` |
| Rumors & Gossip | Chat bubble | `wg-icon-chat-bubble` | `public/game-icons/chat-bubble.svg` |
| Journals & Biographies | Notebook | `wg-icon-notebook` | `public/game-icons/notebook.svg` |
| Factions & Guilds | Wax seal | `wg-icon-wax-seal` | `public/game-icons/wax-seal.svg` |
| SUPPORT | Glowing hands | `wg-icon-glowing-hands` | `public/game-icons/glowing-hands.svg` |
| Common Issues & Questions | Question badge | `wg-icon-question` | `public/game-icons/question.svg` |
| Technical Help | Monkey wrench | `wg-icon-monkey-wrench` | `public/game-icons/monkey-wrench.svg` |
| Bug Reports | Long antennae bug | `wg-icon-long-antennae-bug` | `public/game-icons/long-antennae-bug.svg` |
| Feedback | Idea | `wg-icon-idea` | `public/game-icons/idea.svg` |
| DEVELOPMENT | Gears | `wg-icon-gears` | `public/game-icons/gears.svg` |
| Tools & References | Toolbox | `wg-icon-toolbox` | `public/game-icons/toolbox.svg` |
| General | Compass | `wg-icon-compass` | `public/game-icons/compass.svg` |
| Lore | Open book | `wg-icon-open-book` | `public/game-icons/open-book.svg` |
| Designs | Pencil ruler | `wg-icon-pencil-ruler` | `public/game-icons/pencil-ruler.svg` |
| Programming | Processor | `wg-icon-processor` | `public/game-icons/processor.svg` |
| Area Building | Castle ruins | `wg-icon-castle-ruins` | `public/game-icons/castle-ruins.svg` |
## Setup
1. In the NodeBB ACP, open `Manage > Categories`, choose a category, and put the matching `wg-icon-*` value in the category's custom class field. If that field already has layout classes such as `col-md-3 col-6`, append the icon class instead of replacing them until the layout classes are confirmed unnecessary.
2. Keep the regular ACP icon configured as a Font Awesome fallback. The theme hides it only when a matching `wg-icon-*` class is present.
3. Use the ACP text/icon color for category-specific glyph tinting. Prefer muted gold, green, blue, red, or violet accents over bright saturated colors.
4. After theme file changes, rebuild NodeBB assets and restart if the running process does not pick up `plugin.json` static directory changes.
## Attribution
@@ -47,4 +54,3 @@ The following Game Icons authors are represented in this curated set:
- Caro Asercion: `spinning-wheel.svg`
- Delapouite: `castle-ruins.svg`, `chat-bubble.svg`, `flute.svg`, `idea.svg`, `large-paint-brush.svg`, `monkey-wrench.svg`, `notebook.svg`, `pencil-ruler.svg`, `rule-book.svg`, `saloon.svg`, `scroll-quill.svg`, `shaking-hands.svg`, `target-poster.svg`, `tavern-sign.svg`, `toolbox.svg`
- Lorc: `compass.svg`, `drama-masks.svg`, `gears.svg`, `glowing-hands.svg`, `long-antennae-bug.svg`, `open-book.svg`, `processor.svg`, `ringing-bell.svg`, `wax-seal.svg`