alovoa icon indicating copy to clipboard operation
alovoa copied to clipboard

feat: Site customization CSS

Open peterzen opened this issue 2 years ago • 6 comments

This PR adds a custom.css file which is loaded after the default CSS. This allows for implementing custom style rules.

peterzen avatar Aug 31 '23 12:08 peterzen

I'm not sure what this is suppose to do. What exactly is the goal here?

Nonononoki avatar Sep 01 '23 04:09 Nonononoki

I'm not sure what this is suppose to do. What exactly is the goal here?

This is for the use case when the platform is being run on an own server and the operator wants to tweak the look and feel slightly (adjust colors etc).

peterzen avatar Sep 01 '23 08:09 peterzen

Can't they just tweak the alovoa.css?

Nonononoki avatar Sep 01 '23 08:09 Nonononoki

Having the local customizations in a separate file makes it easier to upgrade to the latest Alovoa versions. CSS is notoriously hard to merge by hand :)

peterzen avatar Sep 01 '23 09:09 peterzen

I disagree, you can just place your custom css code at the bottom of alovoa.css, nothing hard about that ;)

Nonononoki avatar Sep 02 '23 16:09 Nonononoki

I disagree, you can just place your custom css code at the bottom of alovoa.css, nothing hard about that ;)

Yeah you could do that and it works most of the time but there will be be conflicts every now and then :) It's best practice to keep a separate file for local customizations. git can get weird sometimes when dealing with CSS.

peterzen avatar Sep 02 '23 20:09 peterzen

UI frontend moved to alovoa-expo

Nonononoki avatar Mar 27 '24 10:03 Nonononoki