Content
View differences
Updated by Judith Roth 7 months ago
Parimal Satyal:
> Ah! Vaste topic. This is something really worth discussion but here are some basic ideas:
>
> * Normally, we use Primer colour variables in OpenProject. _If_ the BlockNote extensions are able to access and use these, they will automatically adapt to dark mode. The colours used in the Figma mockup are Primer ones.
>
> * However, the user is free to select custom colours for Type and Status (they enter HEX codes in the admin setting). Because we can't use Primer's own logic, OP has its own helper of some sort to automatically adjust these colours (or add borders) automatically so they work in dark mode. We'd normally have to use these if we want the colours for type and status to be correctly reflected.
>
>
> Conclusion: If we can access both the Primer variables and our internal colour helper, we should use those for maximum consistency. If we can't, we will have to choose fixed colours that don't change for all elements, and also specify a separate set for dark mode.
Wieland:
~ Use BlockNote dark mode colors to make it look good also in other environments and custom colors for workpackage types in open project (there's code for that in the nextcloud integration app)
> Ah! Vaste topic. This is something really worth discussion but here are some basic ideas:
>
> * Normally, we use Primer colour variables in OpenProject. _If_ the BlockNote extensions are able to access and use these, they will automatically adapt to dark mode. The colours used in the Figma mockup are Primer ones.
>
> * However, the user is free to select custom colours for Type and Status (they enter HEX codes in the admin setting). Because we can't use Primer's own logic, OP has its own helper of some sort to automatically adjust these colours (or add borders) automatically so they work in dark mode. We'd normally have to use these if we want the colours for type and status to be correctly reflected.
>
>
> Conclusion: If we can access both the Primer variables and our internal colour helper, we should use those for maximum consistency. If we can't, we will have to choose fixed colours that don't change for all elements, and also specify a separate set for dark mode.
Wieland:
~ Use BlockNote dark mode colors to make it look good also in other environments and custom colors for workpackage types in open project (there's code for that in the nextcloud integration app)