mwalbeck / nextcloud-breeze-dark

A Breeze Dark theme for Nextcloud
GNU Affero General Public License v3.0
318 stars 57 forks source link

How can I change --color-main-background to rgba(17, 17, 17, 1) ? #323

Closed DalekDave closed 1 year ago

DalekDave commented 1 year ago

I want to change the main background color from --color-charcoal-gray to rgba(17, 17, 17, 1)

Please could you explain the steps I will need to follow do that?

Thank you for your work on Breeze Dark! :)

DalekDave commented 1 year ago

The solution is to open /var/www/nextcloud/apps/breezedark/css/guest.css and edit line 43 to:

--color-main-background: rgba(17,17,17,1) !important;

No recompiling or other action was necessary. It's not the cleanest way to do it, because the change will get written over in the next update to BreezeDark, but it works for me.

mwalbeck commented 1 year ago

A better approach would be to add the following to the Custom Styling box in the theming settings in Nextcloud. I added that option to make this kind of modification more accessible

:root {
    --color-main-background: rgba(17,17,17,1) !important;
}