jfilby / nexus

A Nim web framework with batteries included
Apache License 2.0
101 stars 3 forks source link

UI styling by config #20

Open jfilby opened 2 years ago

jfilby commented 2 years ago

The idea is that styling for a website can be set in YAML files, converted to Nim code for styling, and then applied to all components.

The YAML will reference CSS elements of the selected CSS framework.

This will be entirely optional, but the built-in pages will make use of it. Additionally, this can be used to apply only certain styles globally, such as rounded corners for buttons.