CPU-Audio theme example : Direct download instead of action button
You want to change buttons of position, shape or… whatever ? Want to recreate the Winamp classic 2.x theme or port one of the Audion ones ? Yes you can ! Check [INTERNALS.md](https://github.com/dascritch/cpu-audio/blob/master/INTERNALS.md) more more details
We insert it instead of the usual build/cpu-audio.js
Please note :
The final build should always stay compact, never upper than 200 kb. We always try to have a standard build under 50 kb
Please be kind : avoid to many elements and classes, check usability with accessibility features.
As we re-use the same layout, properties and css variables, live_config generated configs can be used
If the name of the theme starts with _, it won't be indexed by git. If you want to keep your theme as private, this is the way to do
If you want to create a public theme, please avoid external dependencies as in CSS frameworks, or use some fallbacks (as we do for fonts)
Your theme will still work with minor release of the versions 7.x.y of cpu-audio. If I change the major version to 8, it means themed build may break without some changes
Some elements, mainly named, are strictly needed. See All named elements in template needed in code in tests/test-interface.js. We try to make some of them optional
If you do your own private theme, I don't care if you're introducing dependencies, to, by example, a CSS framework, what else
We don't test themed-builds yet. This is a miss, and we need some help there