cozy / cozy-drive

Cozy Drive Web App for Cozy Cloud
GNU Affero General Public License v3.0
169 stars 64 forks source link

fix: Move custom theme CSS at end of <head> #3160

Closed zatteo closed 3 months ago

zatteo commented 3 months ago

Our custom theme CSS was not taken into account because cozy-ui CSS was inserted after the custom theme CSS.

I did not understand why it was working in <= 1.60.0 (if you want to check https://github.com/cozy/cozy-drive/compare/v1.60.0...v1.61.0).

### 🐛 Bug Fixes

* Custom theme colors were not taken into account

Before

Screenshot 2024-05-29 at 13 38 19

After

Screenshot 2024-05-29 at 13 37 49

bundlemon[bot] commented 3 months ago

BundleMon

Unchanged files (18) Status | Path | Size | Limits :------------: | ------------ | :------------: | :------------: :white_check_mark: | vendors/drive.(hash).js
| 1.77MB | 2MB :white_check_mark: | public/drive.(hash).js
| 1.56MB | 1.7MB :white_check_mark: | public/pdf.worker.entry.(hash).worker.js
| 345.35KB | 350KB :white_check_mark: | services/qualificationMigration/drive.js
| 278.54KB | 500KB :white_check_mark: | services/dacc/drive.js
| 259.55KB | 500KB :white_check_mark: | app/drive.(hash).js
| 170.91KB | 300KB :white_check_mark: | public/cozy-client-js.js
| 159.28KB | 160KB :white_check_mark: | intents/drive.(hash).js
| 105.38KB | 190KB :white_check_mark: | public/drive.(hash).min.css
| 70.9KB | 100KB :white_check_mark: | app-drive.(hash).min.css
| 36.64KB | 56KB :white_check_mark: | intents-drive.(hash).min.css
| 34.07KB | 40KB :white_check_mark: | onlyOffice/slide.pptx
| 24.83KB | 25KB :white_check_mark: | onlyOffice/text.docx
| 5.85KB | 6KB :white_check_mark: | onlyOffice/spreadsheet.xlsx
| 5.02KB | 6KB :white_check_mark: | manifest.webapp
| 1.87KB | 2KB :white_check_mark: | index.html
| 598B | 1KB :white_check_mark: | intents/index.html
| 508B | 1KB :white_check_mark: | manifest.json
| 185B | 1KB

Total files change +8B 0%

Unchanged groups (7) Status | Path | Size | Limits :------------: | ------------ | :------------: | :------------: :white_check_mark: | public/**
| 2.13MB | - :white_check_mark: | vendors/**
| 1.77MB | - :white_check_mark: | services/**
| 538.09KB | - :white_check_mark: | app/**
| 170.91KB | - :white_check_mark: | intents/**
| 105.88KB | - :white_check_mark: | onlyOffice/**
| 35.7KB | - :white_check_mark: | img/**
| 3.41KB | -

Final result: :white_check_mark:

View report in BundleMon website ➡️


Current branch size history | Target branch size history