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

Annotate hex codes in the web app #21

Merged
merged 6 commits into from
Sep 17, 2022
Merged

Conversation

arvkevi
Copy link
Owner

@arvkevi arvkevi commented Sep 17, 2022

  • Adds color and text annotations for the hex codes in the web app
  • Cleans up the fly deployment

bw_mask = [colorpicker(c) for c in colors1]

st.header("Hex Codes")
annotated_text(*[(hexcode, "", hexcode, text_color) for hexcode, text_color in zip(colors1, bw_mask)])
Copy link
Collaborator

@mpkrass7 mpkrass7 Sep 17, 2022

Choose a reason for hiding this comment

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

What a one liner, really like how clean this shows on the app

@arvkevi arvkevi merged commit 3c22092 into main Sep 17, 2022
@mpkrass7
Copy link
Collaborator

mpkrass7 commented Sep 18, 2022 via email

@arvkevi arvkevi deleted the feature/annotate_hex_codes branch September 23, 2022 12:40
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.

2 participants