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

Cli colors #863

Merged
merged 4 commits into from
Oct 11, 2022
Merged

Cli colors #863

merged 4 commits into from
Oct 11, 2022

Conversation

willmcgugan
Copy link
Collaborator

@willmcgugan willmcgugan commented Oct 11, 2022

Added a preview for the color system.

At some point we might extend this in to a color scheme editor. But that should probably wait until we have a config system.

textual colors

Screenshot 2022-10-11 at 10 19 59

@willmcgugan willmcgugan changed the base branch from main to css October 11, 2022 09:06
@@ -115,7 +114,7 @@ def arrange(
for placement in layout_placements
]
).size
placement_offset += styles._align_size(placement_size, size)
placement_offset += styles._align_size(placement_size, size).clamped
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Stop centered things from being clipped.

Copy link
Member

@darrenburns darrenburns left a comment

Choose a reason for hiding this comment

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

NP: The padding looks a bit too much at the top of each container

Otherwise LGTM 👍

@willmcgugan
Copy link
Collaborator Author

Better?

Screenshot 2022-10-11 at 10 52 47

@willmcgugan willmcgugan merged commit 1312765 into css Oct 11, 2022
@willmcgugan willmcgugan deleted the cli-colors branch October 11, 2022 10:07
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