j0ono0 / pinout

An open source Python package that generates hardware pinout diagrams as SVG images.
https://pinout.readthedocs.io
MIT License
390 stars 18 forks source link

Predefined styles #2

Closed j0ono0 closed 2 years ago

j0ono0 commented 3 years ago

Predefine sets of styles (primarily colour palettes). Document visuals showing example outcome and 'styleguide' of unique aspects. Provide easy method of incorporating these styles into an existing pinout project.

j0ono0 commented 3 years ago

This is sort-of achieved with implementation of an auto-generating css file when no style-sheet is added to a diagram. Colour palette is pseudo-randomly selected with results filtered to match the criteria of text/background colour contrast ratio greater than 3 (see wcag accessibility recommendations for more details.)

j0ono0 commented 2 years ago

on reflection I feel this might be out of scope for the core project. closing with the thought of creating sample/demo/ style guide with documented colours and styles as another related project (along with PCB graphical components.)