Skip to content

Releases: nguyenyou/scalawind

[email protected]

23 Jun 12:40
9b3f9b5
Compare
Choose a tag to compare

Patch Changes

[email protected]

23 Jun 12:18
cbe7d7d
Compare
Choose a tag to compare

Patch Changes

  • d1452d6: fix framework flag should be string

[email protected]

23 Jun 12:05
9969554
Compare
Choose a tag to compare

Patch Changes

[email protected]

23 Jun 11:57
1ddab59
Compare
Choose a tag to compare

Patch Changes

  • 5da54db: implicit conversion for laminar and scalajs-react
  • e8784c6: default framework is none

[email protected]

23 Jun 04:23
e82adbc
Compare
Choose a tag to compare

Patch Changes

[email protected]

21 Jun 03:50
27841af
Compare
Choose a tag to compare

Patch Changes

  • 4873c98: remove comments of css method

[email protected]

21 Jun 03:31
922a09d
Compare
Choose a tag to compare

Patch Changes

  • 5273f10: Added css method. This method is used in case the implicit conversion of the sw method doesn't work.

    Previously, using scalawind in Laminar requires us the wrap our chaining tailwind classes inside the sw macro so that it can be compiled. With this css method, we have one more option for this, so:

    div(
      cls := sw(tw.flex.items_center.justify_center)
    )
    
    // ↓ ↓ ↓ ↓ ↓ ↓
    
    div(
      cls := tw.flex.items_center.justify_center.css
    )

    I believe the new syntax is better, because we can keep writing and editing the code without worry about the boundary of the open&close parentheses.

[email protected]

15 Jun 16:12
8ebb226
Compare
Choose a tag to compare

Patch Changes

  • ebef136: improve method name for "per" and "dot" classes

[email protected]

08 Jun 09:20
5572f5b
Compare
Choose a tag to compare

Patch Changes

  • 42d72fb: separate check flags for duplication and optimization

[email protected]

08 Jun 06:36
e106248
Compare
Choose a tag to compare

Minor Changes

  • 805ea2a: add class optimization for padding and margin utilities

Patch Changes

  • 0fc14b3: refactor template, break the one big template into many smaller templates