Closed y-lohse closed 7 years ago
Good catch. I guess we could just force the use of Lato on buttons, select, etc using the .coz-btn class and such. As we don't really care about what looks like an unstyled element. Any thought @m4dz?
Well, the default coz-btn
carries quite a bit of extra style with it (backgroud, paddings, etc). Again, I'm mostly thinking about the buttons in the selection bar in files (which, to be fair, could be a
's instead of button
's), but I'm sure there are others out there.
Fixed in #72
normalize.css sets the
font-family
of certain elements, for example buttons. In cozy-ui, we rely on inheritance to propagate the default font.This means that buttons with no extra font-declaration get the default sans-serif instead of our Lato. There are actually a few places in our v3 UIs where the wrong font is used, most notably the selection bar in files.
Not sure of the best way to fix this. Should we just declare the
font-family
on a lot more elements in the default styles? Ping @GoOz and @m4dz for input.