Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phantom types: background-repeat #411

Merged

Conversation

BrianHicks
Copy link
Collaborator

This adds background-repeat

Progress on my bits of #392

src/Css.elm Outdated
, unset : Supported
}
-> Style
backgroundRepeat2 (Value repeat) =
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you might've missed an argument here? 😄

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

haaaaaaaaaaaaa yeah

src/Css.elm Outdated


{-| [Repeat a background](#backgroundRepeat) side to side.
-}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On these Value docs, can we get links to https://developer.mozilla.org/en-US/docs/Web/CSS/background-repeat#Values and mention that this compiles to the "repeat-x" value in CSS? (Similar to this, for example.)

Code examples would also be great, even if they're copy/pasted from the background docs. 😄

backgroundRepeat2 space round

If you only need to set one value for both, see
[`backgroundRepeat`](#backgroundRepeat) instead.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love the explanation and linking between backgroundRepeat and backgroundRepeat2! 😍

@BrianHicks
Copy link
Collaborator Author

did!

@rtfeldman
Copy link
Owner

Wonderful! Thank you @BrianHicks! 😻

@rtfeldman rtfeldman merged commit 075b4d7 into rtfeldman:phantom-types Apr 26, 2018
@BrianHicks BrianHicks deleted the phantom-types-background-repeat branch May 1, 2018 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants