texture
texture copied to clipboard
Theming
Description
It should be possible to configure styling sufficiently to match an existing page style where Texture is integrated.
User stories
Please provide user stories.
Consideration
- eLife needs a consistent user experience with the rest of their site (especially for the parts that authors are facing)
Mock ups
This is not required, but if you have mock ups of what you would like to see please provide them here.
Proposal
Provide CSS variables for:
- font sizes
- font colors
- default paddings and margins between content elements
- colors for visual cues such as borders
- background colors
Additional ideas for customisation:
- Ability to replace icons (e.g. toolbar icons)
Thanks @michael
I think what we need from you is the concept of how you will achieve this so no need for us to provide the requirements in the proposal at this stage. It needs to be generic for anyone.
We'll work on the user stories, but in the meantime can you think of the hooks concept?
@NickDuf
@Melissa37
I need a better understanding in which regard Texture should exactly be theme-able.
For explanation: we only want to make a few settings configurable (fonts, font sizes, colors etc.) otherwise this becomes unmanageable and not maintainable. So what would help to find the minimum requirements is an image of the eLife site design (with all used elements, fonts, button etc.) in which Texture should be embedded. Then we can figure out how much needs to be tweaked with variables to match the design reasonably.
Not actionable atm, removing feature-request label.