Skip to content

Commit

Permalink
Merge pull request #18 from anevski-stefan/fix/17-missingBoxModelStyl…
Browse files Browse the repository at this point in the history
…eProperties

[FIX - 17] Added missing Box Model Style Properties
  • Loading branch information
chasefleming authored Oct 23, 2023
2 parents 1940806 + a97bbb2 commit 2d96718
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 = "border-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 2d96718

Please sign in to comment.