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

fill color of buttons is styled via style definitions #248

Merged
merged 4 commits into from
Oct 23, 2024

Conversation

dqnykamp
Copy link
Member

@dqnykamp dqnykamp commented Oct 22, 2024

This PR colors the background of <callAction>, <updateValue>, and <triggerSet> buttons based on the fillColor attribute of a style definition. When the mouse hovers over the button, the background changes to a lighter version of the specified color.

Resolves #247.

@dqnykamp dqnykamp merged commit 3f1bfe8 into Doenet:main Oct 23, 2024
3 checks passed
@dqnykamp dqnykamp deleted the style-buttons branch October 23, 2024 03:03
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.

styleNumber for buttons
1 participant