Skip to content

Releases: AccentDesign/gcss

Release v0.1.2

12 Jun 16:13
Compare
Choose a tag to compare
  • Move the Props CSS writing into a Props.CSS func, so it can be used in isolation of the Style struct. This allows for the Props CSS to be used in other contexts, such as in a style attribute in HTML.
  • Don't write empty values in the CSS string. eg: .test{} will not be written if there are no props to write.

Release v0.1.1

04 Jun 14:21
Compare
Choose a tag to compare

Fixed a bug where AlignItemsStart and AlignItemsEnd were set as "flex-"

Added new props:

  • align-content
  • align-self
  • border-collapse

Expanded props:

  • justify-content
  • justify-items
  • justify-self

Release v0.1.0

31 May 13:33
Compare
Choose a tag to compare
  • Allow a color to be mixed with another color.
  • Change props.Color to allow any type of golang's color.Color interface.

Release v0.0.9

29 May 18:54
Compare
Choose a tag to compare

Added new variables:

  • extra sizes

Release v0.0.8

29 May 16:23
Compare
Choose a tag to compare

Added new variables:

  • colors
  • sizes

Added new props:

  • max-height
  • max-width

Added new units:

  • vh
  • vw

Release v0.0.7

27 May 11:51
Compare
Choose a tag to compare

Added new props:

  • font-family (basic defaults from tailwindcss)
  • text-decoration-color
  • text-decoration-line
  • text-decoration-style
  • text-decoration-thickness
  • text-indent
  • text-transform
  • text-underline-offset
  • text-wrap

Release v0.0.6

25 May 14:49
Compare
Choose a tag to compare

Added new props:

  • column-gap
  • row-gap
  • box-sizing
  • list-style-position
  • list-style-type
  • vertical-align
  • z-index
  • visibility
  • opacity

Release v0.0.5

21 May 16:16
Compare
Choose a tag to compare

Added explicit CustomProp type and make CustomProps a slice to preserve ordering.

Release v0.0.4

20 May 23:10
Compare
Choose a tag to compare

Added support for custom props.

Added new props:

  • cursor
  • border-bottom-left-radius
  • border-bottom-right-radius
  • border-top-left-radius
  • border-top-right-radius

Release v0.0.3

17 May 11:06
Compare
Choose a tag to compare

Added new props:

  • bottom
  • left
  • right
  • top
  • gap
  • text-overflow
  • white-space