ontime icon indicating copy to clipboard operation
ontime copied to clipboard

Change accent color

Open jochen-froehlich-gkgab opened this issue 2 years ago • 9 comments

Is it possible to change the "red" default color which is used in all screens to a custom color to match our corporate color scheme?

jochen-froehlich-gkgab avatar May 23 '22 11:05 jochen-froehlich-gkgab

And upload a logo too please 😊

je71175 avatar May 23 '22 13:05 je71175

Hey @jochen-froehlich-gkgab. Thank you for getting involved and for your suggestion

There are some features in the roadmap that are blocking worflows and those will receive priorities. I will leave this issue for sometime when I have an epiphany about how it could work.

Meanwhile, having a comprehensive issue would definitely help and I could just bite the bullet and make this into user settings at some point. What sorts of things would it make sense to have user definable?

Something like:

  • Accent colour
  • Background colour
  • Text colour ?

cpvalente avatar May 23 '22 16:05 cpvalente

Hi would it be possible to modify the colors as for the Lower Thirds function: https://cpvalente.gitbook.io/ontime/views/lower-thirds ?

jochen-froehlich-gkgab avatar May 24 '22 07:05 jochen-froehlich-gkgab

Would that be preferable to a central configuration? I would imagine that the app settings could have a file with a list of main colours that the viewers could use

cpvalente avatar May 24 '22 15:05 cpvalente

Yes that would be awesome. A central config file for all options would be great. In the headless docker version this config parameters can be set via env vars in the docker compose. This would keep all options in one place and make it easy for the users to configure.

jochen-froehlich-gkgab avatar May 24 '22 15:05 jochen-froehlich-gkgab

I am planning on exposing a CSS Overrides file that would be loaded at runtime over the existing CSS This should provide plenty flexibility for customization

I reckon I will expose variables for the basic stuff (text, accent, background, outdents) and leave the rest up to the users. There could be some challenges here with CSS modules

cpvalente avatar Aug 18 '22 13:08 cpvalente

Actually I´m using the Brower Dev-Tools to modify the speaker screen... Adjusting colors, get rid of actual and next event. This should be customizable. My customers don´t like "gray" :-)

Keksstar avatar Aug 28 '22 17:08 Keksstar

Hi @Keksstar . A good way to achieve this is using local overrides (chrome only unfortunately) so that your changes will persist.

However there is currently a PR for adding a CSS override file. Would you be interested in contributing with testing?

cpvalente avatar Aug 29 '22 09:08 cpvalente

Oh, didn´t know Chroma has persistant overrides. Nice.

@cpvalente I´m quite busy these days. I can test things, but I can´t code. (I know what happens at CSS and can adjust it, but can´t build from ground up)

Keksstar avatar Aug 29 '22 10:08 Keksstar

Hi @jochen-froehlich-gkgab . The newest release adds support for CSS overrides.

This is admittedly a more advanced feature but should be straightforward enough to figure out. The challenge might be finding the file which needs to be edited, which would depend on your installation. Something like

ontime/extraResources/src/external/cad/override.css

In the example file which comes preloaded you will find the current toy available variables, including an accent colour.

I will close this issue for now in favour of opening specific issues for improvements

cpvalente avatar Oct 16 '22 13:10 cpvalente