texture icon indicating copy to clipboard operation
texture copied to clipboard

Theming

Open michael opened this issue 5 years ago • 4 comments

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)

michael avatar Apr 23 '19 13:04 michael

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 avatar Apr 23 '19 16:04 Melissa37

@Melissa37

I need a better understanding in which regard Texture should exactly be theme-able.

obuchtala avatar Apr 23 '19 16:04 obuchtala

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.

michael avatar Apr 23 '19 19:04 michael

Not actionable atm, removing feature-request label.

michael avatar May 29 '19 15:05 michael