Commit Graph

5 Commits

Author SHA1 Message Date
724eba4cd6 Fix SVG sprites: convert classes to inline styles, prefix IDs
- Convert Adobe Illustrator .st0/.st1 classes to inline styles
- Prefix all IDs (defs, clipPaths) with icon name to avoid conflicts
- Fix clip-path references in both attributes and inline styles
- Keep defs/clipPaths intact for proper rendering

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 20:08:23 +00:00
19a7fe06a8 Add complete SVG sprite system with all variants
Payment sprites (16 files, 38 brands each):
- Shapes: icon, square, rectangle, text-only
- Modes: lm (light), dm (dark), la (light-accent), da (dark-accent)

Social sprites (12 files, 11-12 brands each):
- Shapes: icon, full-logo, text-only
- Same 4 color modes

Includes build-sprites.php to regenerate from source materials.
Updated README with complete documentation.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 19:15:09 +00:00
4b2a9f7138 Update payment icons to match template naming convention
- Renamed all icon IDs to use -color suffix (visa-color, mastercard-color, etc.)
- Changed underscore naming for multi-word icons (apple_pay-color, google_pay-color, etc.)
- Added missing icons: discover, jcb, unionpay, affirm, afterpay
- Now contains 27 payment icons matching actual template usage
- Updated README with categorized icon list

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 14:45:40 +00:00
ed8559e418 Add SVG sprites for payments and social icons
- sprites/payments.svg: Visa, Mastercard, Amex, PayPal, Stripe, Apple Pay, Google Pay, Klarna, iDEAL, Bancontact, SEPA
- sprites/socials.svg: Facebook, Twitter/X, Instagram, LinkedIn, YouTube, TikTok, Pinterest, WhatsApp, Telegram
- Updated README with sprite usage documentation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 14:26:14 +00:00
19db248bb4 Initial commit - prestashop-icons package
Semantic icon helper for PrestaShop modules.
- Maps icon names to Font Awesome or Material Icons
- Auto-detects admin context (Material) vs front (FA default)
- Reads icon preference from ps_mpr_config table
- Theme detection for Material Icons
- PHP class + JavaScript helper

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 14:49:04 +01:00