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

Structure allow selecting from different element color schemes + override individual elements #29

Merged
merged 10 commits into from
May 22, 2023

Conversation

janosh
Copy link
Owner

@janosh janosh commented May 22, 2023

941526c update deps
c1161af fix type errors
2164eab tweak luminance RGB factors
310da57 darken browser form controls like input[type='color']
6b1f6ad ElementTile outsource dynamic b/w text color utils for max contrast to lib/labels.ts for reuse in Structure.svelte legend labels
ea83ad9 move default_category_colors to new lib/colors.ts
03acdf8 add Jmol and Vesta element color schemes to colors.ts
ea981fd add element_colors session store
7a3558a add lib/StructureLegend.svelte with new color scheme and for overriding individual element colors

@janosh janosh added enhancement New feature or request structure 3d Structure viewer labels May 22, 2023
@janosh
Copy link
Owner Author

janosh commented May 22, 2023

Screen.Recording.2023-05-21.at.21.36.43.mp4

@janosh janosh enabled auto-merge (squash) May 22, 2023 04:40
@janosh janosh merged commit ad5d3d0 into main May 22, 2023
4 checks passed
@janosh janosh deleted the struct-select-elem-color branch May 22, 2023 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request structure 3d Structure viewer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant