Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Feature/material de#tegration #42

Open
wants to merge 46 commits into
base: main
Choose a base branch
from

Conversation

bishop-varnell
Copy link
Contributor

@bishop-varnell bishop-varnell commented Feb 21, 2024

What

This utilizes css tokens to generalize the css of tmplits. This is compatible with themes created with material design theme builder (https://m3.material.io/theme-builder#/custom). Tmplit classes also remove the need for bootstrap. Material design symbols were used in the place of glyphicons.

List of tmplits that were modified:
Button
Led
CheckBox
Numeric
Text
ValueUpDown
Slider
MultiSelect
DirectoryBrowserWindow

Screenshot:
Screenshot 2024-02-21 at 2 12 56 PM
The above screenshot shows material-design-theme-blue without bootstrap.

Why

This gives a standard for how to modify the css of tmplits. It also allows for easy theming of HMIs. Bootstrap is annoying and no one likes it.

@bishop-varnell bishop-varnell marked this pull request as ready for review February 26, 2024 19:34
@sclaiborne
Copy link
Member

As a standard, would you say that all new tmplits are required to support material themes?

@bishop-varnell
Copy link
Contributor Author

Yes I think so. Specifically colors should have material tokens and icons should be material icons.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants