Releases: AccentDesign/gcss
Releases · AccentDesign/gcss
Release v0.1.2
- Move the
Props
CSS writing into aProps.CSS
func, so it can be used in isolation of theStyle
struct. This allows for theProps
CSS to be used in other contexts, such as in astyle
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
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
- Allow a color to be mixed with another color.
- Change
props.Color
to allow any type of golang'scolor.Color
interface.
Release v0.0.9
Added new variables:
- extra sizes
Release v0.0.8
Added new variables:
- colors
- sizes
Added new props:
- max-height
- max-width
Added new units:
- vh
- vw
Release v0.0.7
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
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
Added explicit CustomProp type and make CustomProps a slice to preserve ordering.
Release v0.0.4
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
Added new props:
- bottom
- left
- right
- top
- gap
- text-overflow
- white-space