<commit_before>{-# LANGUAGE OverloadedStrings, FlexibleInstances #-}
module Clay.Style.Properties where

import Data.Text (Text)
import Prelude hiding (Left, Right)

import Clay.Style.Color
import Clay.Style.Size
import Clay.Core.Property
import Clay.Core.Rule

-------------------------------------------------------------------------------

size, top, left, bottom, right, width, height :: Size -> Css
size   = key "size"
top    = key "top"
left   = key "left"
bottom = key "bottom"
right  = key "right"
width  = key "width"
height = key "height"

-------------------------------------------------------------------------------

padding, margin :: Size -> Size -> Size -> Size -> Css
padding = key4 "padding"
margin  = key4 "margin"

paddingTop, paddingLeft, paddingRight, paddingBottom,
  marginTop, marginLeft, marginRight, marginBottom :: Size -> Css

paddingTop    = key "paddingTop"
paddingLeft   = key "paddingLeft"<commit_msg>Added min-width, min-height properties.<commit_after>{-# LANGUAGE OverloadedStrings, FlexibleInstances #-}
module Clay.Style.Properties where

import Data.Text (Text)
import Prelude hiding (Left, Right)

import Clay.Style.Color
import Clay.Style.Size
import Clay.Core.Property
import Clay.Core.Rule

-------------------------------------------------------------------------------

size, top, left, bottom, right :: Size -> Css

size      = key "size"
top       = key "top"
left      = key "left"
bottom    = key "bottom"
right     = key "right"

width, height, minWidth, minHeight :: Size -> Css

width     = key "width"
height    = key "height"
minWidth  = key "min-width"
minHeight = key "min-height"

-------------------------------------------------------------------------------

padding, margin :: Size -> Size -> Size -> Size -> Css

padding = key4 "padding"
margin  = key4 "margin"

paddingTop, paddingLeft, paddingRight, paddingBottom,
  marginTop, marginLeft, marginRight, marginBottom :: Size -> Css

paddingTop    = key "paddingTop"
paddingLeft   = key "paddingLeft"
{'fraction_non_alphanumeric': 0.25583705911574767, 'fraction_numerical': 0.001987083954297069, 'mean_word_length': 2.0422960725075527, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5422146', 'n_tokens_mistral': 545, 'n_tokens_neox': 542, 'n_words': 176}