Open dullbananas opened 3 years ago
Hi @dullbananas, can you be more descriptive, what is your motivation behind creating this issue? How the sides module would looks like? Can you provide at least three paragraphs behind your thinking? Why it should be this way? What are the cons and pros? So that we gain more coherent picture.
@pravdomil The module should have these functions
xy : Int -> Int -> Sides
all : Int -> Sides
This would allow e.g. paddingXY
, padding
, and paddingEach
to become 1 function which cleans up the Element
module
currently there's
xy
andeach
functions for padding, spacing, etc.xy
should be in the sides module, and padding, spacing, etc. should accept a sides record