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: Logical borders #552

Open
wants to merge 8 commits into
base: phantom-types
Choose a base branch
from

Conversation

dzuk-mutant
Copy link

@dzuk-mutant dzuk-mutant commented Nov 17, 2021

Adds functions covering the following properties for the phantom-types branch:

(to my knowledge this covers all logical border properties apart from border-radius ones)

Implementing them basically just involved a lot of repetition because they share identical arguments with similar border properties.

Just the one-liners with 1, 2 and 3-argument variants.
Adds implementations for the following:
- border-block-start-color
- border-block-end-color
- border-inline-start-color
- border-inline-end-color
Adds implementations for the following:
- border-block-style
- border-inline-style

Also applies elm-format for this commit and the previous commits.
Implements the following:
- border-block-start-style
- border-block-end-style
- border-inline-start-style
- border-inline-end-style
Implements the following:
- border-block-width
- border-inline-width
Implements the following:
- border-block-start-width
- border-block-end-width
- border-inline-start-width
- border-inline-end-width
Implements the following:
- border-block-start
- border-block-end
- border-inline-start
- border-inline-end

All in 1, 2 and 3-argument variants.
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.

1 participant