How yeisiv/pokedex works
This is a browser-based Pokédex: startup loads Pokémon, region, and type data; the interface builds filter options, applies search and selected filters, and renders matching cards. Separate features provide active-filter chips and light/dark theme toggling. The supplied README is empty, so capabilities and connections here are based on the shown JavaScript excerpts and file tree; styling and page markup are not mapped as runtime interactions.
Main entry points: app.js App startup · tema.js Theme toggle · render.js Grid & options · filters.js Search & filters
Components 10
Startup & Data
- App startup
src/js/app.js - Pokédex data
src/data/pokedex_completo.json - Region data
src/data/regiones.json - Type data
src/data/tipos.json
Browse & Filter
- Search & filters
src/js/filters.js
Interface & Theme
- Grid & options
src/js/render.js - Theme toggle
src/js/tema.js
Other components
- Sprite hosting
- System theme preference
- Browser local storage
Connections 10
- App startup → Theme toggle: initializes
src/js/app.js - App startup → Pokédex data: fetches
src/js/app.js - App startup → Region data: fetches
src/js/app.js - App startup → Type data: fetches
src/js/app.js - App startup → Grid & options: builds panels
src/js/app.js - App startup → Search & filters: passes data
src/js/app.js - Search & filters → Grid & options: renders results
src/js/filters.js - Grid & options → Sprite hosting: loads sprites
src/js/render.js - Theme toggle → System theme preference: reads preference
src/js/tema.js - Theme toggle → Browser local storage: stores choice
src/js/tema.js