mliebelt / pgn-viewer

Simple PGN viewer with the necessary features to display chess games
GNU General Public License v3.0
163 stars 44 forks source link

Try to minimize defaults and demonstrate that in examples #343

Closed mliebelt closed 2 years ago

mliebelt commented 2 years ago

I have the impression (not yet proved) that not all configuration can be left out, and get a useful working of the viewer then. For example, there is the possibility to set the pieceStyle or theme by setting a class in an inclosing div (which may be a bad idea either), but how does that work together with defaults, global defaults, left-out configuration parameters?

Check that this works in all circumstances, and decide what are reasonable defaults, which then are overwritten by configuration or global configuration

mliebelt commented 2 years ago

The experiment of setting pieceStyle by HTML/CSS was strange:

Checking again, this is only true for pieceStyle == merida. I have no explanation for that, will extract that to a different ticket.