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

Allow custom styles #10

Closed
1 of 2 tasks
SimonLab opened this issue Dec 10, 2018 · 2 comments
Closed
1 of 2 tasks

Allow custom styles #10

SimonLab opened this issue Dec 10, 2018 · 2 comments
Assignees
Labels
enhancement New feature or request T2h

Comments

@SimonLab
Copy link
Member

SimonLab commented Dec 10, 2018

by default elm-criteria applies the minimum necessary for styling. The idea is to let the users apply styling themselves. If more styling were applied by default it might limit the user of the package.

So we need to find a way to let the users define/apply the styles easily.

  • define custom functions in the configuration which defined a list of attributes which will be added to the main element of the package (button, label, images...)
  • create list of classes in the package that users can defined in their stylesheet
@SimonLab SimonLab added the enhancement New feature or request label Dec 10, 2018
@SimonLab SimonLab self-assigned this Dec 10, 2018
@SimonLab SimonLab mentioned this issue Dec 11, 2018
@SimonLab
Copy link
Member Author

example of a customised elm-criteria:
image

@SimonLab
Copy link
Member Author

SimonLab commented Feb 1, 2019

done with #11 #18

@SimonLab SimonLab closed this as completed Feb 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request T2h
Projects
None yet
Development

No branches or pull requests

1 participant