Releases: ghivert/sketch
Releases · ghivert/sketch
v1.2.0
What's Changed
- Bugfix usage of cache when no prior setup
- Expose
to_class_name
(forgotten expose)
Full Changelog: v1.1.0...v1.2.0
v1.1.0
v1.0.1
Debug improvements
When using Sketch while the cache has not been initialized, the functions launched a bug immediately.
This release fixes it by transparently doing nothing, and displaying a warning message in the console.
Results
What's Changed
- Crash when Sketch was not initialized
- Display a warning message when Sketch was not initialized
Full Changelog: v1.1.0...v1.0.1
v1.0.0
First release of Sketch!
Sketch aims to provides a way to write CSS-in-Gleam! This first release enables to style your application, and is focused on Lustre applications. In a first release, sketch is working only on the JavaScript target, and won't run on BEAM. This represents an other future step, and should be worked on. The API could be subject to change, mainly as append-only as much as possible.
Current features
- Write your CSS in Gleam
- Write your dynamic styles in Gleam
- Inject the CSS directly in the document, or in a
<style>
node to easy debug - Apply the styles during the view in Lustre
- Create your own framework with sketch built-in
Next steps
- Add server-support
- Improve API
- Add a CLI to build CSS stylesheets for Gleam styles definitions