elem-go
elem-go copied to clipboard
Add CSS angle unit helpers
Add helper functions and tests for generating CSS angle unit helpers.
// In styles/utils.go
func Deg(value int) string // "90deg"
func Rad(value float64) string // "1.57rad"
func Turn(value float64) string // "0.25turn"
Please assign this to me. Also, could you clarify what changes you’d like to be made?
Sure, assigned. Details are above. This is PR is a good example of similar work: https://github.com/chasefleming/elem-go/pull/172