can-lehmann / owlkettle

A declarative user interface framework based on GTK 4
https://can-lehmann.github.io/owlkettle/README
MIT License
367 stars 14 forks source link

Load CSS stylesheets from strings #41

Closed can-lehmann closed 1 year ago

can-lehmann commented 1 year ago

Allow loading CSS stylesheets from a string. This allows embedding the stylesheet directly into the application.

can-lehmann commented 1 year ago

This has now finally been implemented in https://github.com/can-lehmann/owlkettle/commit/24c72bf1d6d3af74842c9cbec3d53d99f8cc1e00. Check out the CSS example for how to load CSS stylesheets from strings: https://github.com/can-lehmann/owlkettle/blob/main/examples/misc/css.nim

@PhilippMDoerner