1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-23 00:22:19 +01:00
unleash.unleash/frontend/src
Thomas Heartman 65bec89d3c
chore(1-3356): make mui buttons respect font size changes (#9275)
Makes the MUI buttons use `body1.fontSize` for their own font size.

Turns out we had a hardcoded `16px` in the `app.css` file, which made it
hard to override. This change removes mui button styling in `app.css`
and puts it into the `theme.ts` file instead.

Also updates the border radius to match the one we use in the theme
(from 3px to 4px). It's a subtle change:

before:

![image](https://github.com/user-attachments/assets/a6f94250-9b4b-43e0-aa65-280f3fa007bb)


after:

![image](https://github.com/user-attachments/assets/3ef205c8-8119-4bf1-9541-39371b26dda9)
2025-02-11 08:33:27 +00:00
..
__mocks__
assets chore: add release management to new in unleash (#9257) 2025-02-07 14:33:25 +00:00
component fix: some accessibility issues (#9282) 2025-02-11 09:16:20 +01:00
constants
contexts
hooks refactor: theme - font size (#9273) 2025-02-11 09:07:27 +01:00
interfaces chore: remove sortProjectRoles flag (#9226) 2025-02-06 19:40:10 +01:00
openapi chore(1-3267): add orval schemas for the new API endpoint (#9164) 2025-01-29 09:11:29 +01:00
themes chore(1-3356): make mui buttons respect font size changes (#9275) 2025-02-11 08:33:27 +00:00
types
utils chore: use union type for traffic search data (#9221) 2025-02-05 10:50:39 +00:00
index.tsx
setupTests.ts
vite-env.d.ts