Skip to content

Commit

Permalink
Refactor: Add missing Box Model Style Properties
Browse files Browse the repository at this point in the history
  • Loading branch information
anevski-stefan committed Oct 22, 2023
1 parent 1940806 commit 74e0cb9
Showing 1 changed file with 38 additions and 20 deletions.
58 changes: 38 additions & 20 deletions styles/styles.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,26 +42,44 @@ const (
GridTemplateRows = "grid-template-rows"

// Box Model Properties
Width = "width"
MaxWidth = "max-width"
Height = "height"
MaxHeight = "max-height"
Padding = "padding"
PaddingTop = "padding-top"
PaddingRight = "padding-right"
PaddingBottom = "padding-bottom"
PaddingLeft = "padding-left"
Margin = "margin"
MarginTop = "margin-top"
MarginRight = "margin-right"
MarginBottom = "margin-bottom"
MarginLeft = "margin-left"
Border = "border"
BorderColor = "border-color"
BorderStyle = "border-style"
BorderWidth = "border-width"
BorderRadius = "border-radius"
BoxShadow = "box-shadow"
Width = "width"
MinWidth = "min-width"
MaxWidth = "max-width"
Height = "height"
MinHeight = "min-height"
MaxHeight = "max-height"
Padding = "padding"
PaddingTop = "padding-top"
PaddingRight = "padding-right"
PaddingBottom = "padding-bottom"
PaddingLeft = "padding-left"
Margin = "margin"
MarginTop = "margin-top"
MarginRight = "margin-right"
MarginBottom = "margin-bottom"
MarginLeft = "margin-left"
Border = "border"
BorderTop = "border-top"
BorderRight = "border-right"
BorderBottom = "border-bottom"
BorderLeft = "border-left"
BorderColor = "border-color"
BorderTopColor = "borded-top-color"
BorderRightColor = "border-right-color"
BorderBottomColor = "border-bottom-color"
BorderLeftColor = "border-left-color"
BorderStyle = "border-style"
BorderTopStyle = "border-top-style"
BorderRightStyle = "border-right-style"
BorderBottomStyle = "border-bottom-style"
BorderLeftStyle = "border-left-style"
BorderWidth = "border-width"
BorderTopWidth = "border-top-width"
BorderRightWidth = "border-right-width"
BorderBottomWidth = "border-bottom-width"
BorderLeftWidth = "border-left-width"
BorderRadius = "border-radius"
BoxShadow = "box-shadow"

// Fonts & Text Properties
Color = "color"
Expand Down

0 comments on commit 74e0cb9

Please sign in to comment.