Skip to content

Releases: ghivert/sketch

v1.2.0

15 Apr 16:10
89dba52
Compare
Choose a tag to compare

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

15 Apr 16:09
b34fa2e
Compare
Choose a tag to compare

What's Changed

  • Add cursor
  • Add font_size_

Full Changelog: v1.1.0...v1.1.0

v1.0.1

06 Apr 15:21
7944d5b
Compare
Choose a tag to compare

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

Capture d’écran 2024-04-06 à 17 20 21

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

05 Apr 17:47
e7fe295
Compare
Choose a tag to compare

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