elem-go icon indicating copy to clipboard operation
elem-go copied to clipboard

Add CSS angle unit helpers

Open chasefleming opened this issue 2 months ago • 2 comments

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"

chasefleming avatar Oct 20 '25 23:10 chasefleming

Please assign this to me. Also, could you clarify what changes you’d like to be made?

Yash-Atkari avatar Oct 21 '25 01:10 Yash-Atkari

Sure, assigned. Details are above. This is PR is a good example of similar work: https://github.com/chasefleming/elem-go/pull/172

chasefleming avatar Oct 21 '25 16:10 chasefleming