One of the things I used for a current project was a switch to change the color schemes quickly. I added the snippet in [Specifying Colors & Gradients](https://squib.readthedocs.io/en/latest/colors.html) and in the wiki: https://github.com/andymeneely/squib/wiki/Switch-card-background-or-invert-theme. * Add sample for color switch in colors docs * Update docs/colors.rst Co-Authored-By: Andy Meneely <andy.meneely@gmail.com> * Update docs/colors.rst Co-Authored-By: Andy Meneely <andy.meneely@gmail.com> * Update docs/colors.rst Co-Authored-By: Andy Meneely <andy.meneely@gmail.com> * Update docs/colors.rst Co-Authored-By: Andy Meneely <andy.meneely@gmail.com> * Update docs/colors.rst Co-Authored-By: Andy Meneely <andy.meneely@gmail.com> * Update docs/colors.rst Co-Authored-By: Andy Meneely <andy.meneely@gmail.com> * Add color switch sample and update docs * Add color switch sample and update docs |
||
|---|---|---|
| .. | ||
| _output | ||
| autoscale_font | ||
| backend | ||
| build_groups | ||
| colors | ||
| config | ||
| data | ||
| images | ||
| intro | ||
| layouts | ||
| project | ||
| proofs | ||
| ranges | ||
| saves | ||
| shapes | ||
| sprues | ||
| text | ||
| units | ||
| README.md | ||
| basic.rb | ||
| hello_world.rb | ||
| shiny-purse.png | ||
| spanner.svg | ||
README.md
Squib Samples
In here we have a massive library of Squib samples. We try to exercise as many options as possible here as these samples also serve as Squib's regression test suite.
If you have one to contribute, file an issue!
What's with the underscores?
Normally you don't start a filename with an underscore (e.g. _text.rb), but to make it easier to find the code itself on GitHub, we've renamed the files so they sort to the top of the list.