Open isglass opened 10 months ago
we should make the .float-root
use
display : grid;
place-items : center;
And then have .b-centered
use
position : static;
align-self : auto;
That way, they would just be centered by layout, without that top : 50%; left : 50%; transform : translate(-50%, -50%);
hack. No visible difference, just cleaner modern CSS.
Requested themeable vals here https://forum.bryntum.com/viewtopic.php?f=51&t=28168&p=141563#p141563
---bryntum-colors
A list of our defined colours should be injected into the CSS so as to be detectable in code:
Then to detect whether a string is a CSS literal, we can interrogate our colour list.
Also, that would allow an
EventColorPicker
to populate its own store from the CSS instead of hard coding its colours.