Closed stringhandler closed 5 days ago
it's the same, but dark.
theming (ui):
palettes
theme.palette.x
LinearProgress
setAnimationProperties
theming (logic):
theme
set_theme
system
dark
light
useDetectMode
other necessary updates:
very_e
ButtonBase
Button
SquaredButton
IconButton
TextButton
RadioButton
switching modes (incl. system mode):
https://github.com/user-attachments/assets/85b3fe96-7237-4497-88c9-c3c7d94b4fdc
dark mode screens:
https://github.com/user-attachments/assets/80cfc997-40ee-4a70-9e95-6c955d975c36
https://github.com/user-attachments/assets/fb09b873-76c7-4ab7-b207-c880d4544960
https://github.com/user-attachments/assets/7f20ba6e-7d38-4f77-b563-90ee2f50ceee
Description
it's the same, but dark.
theming (ui):
palettes
directory and created dark/light theme filestheme.palette.x
in styling where there is or would be a switch (majority of the file changes 😅)LinearProgress
component stylingsetAnimationProperties
function for the toggletheming (logic):
theme
andset_theme
to app_config (system
,dark
, andlight
)useDetectMode
helper hook to listen for (system) theme changesother necessary updates:
very_e
(xperimental) flag to app_config and Very Experimental settings sectionButtonBase
which had the new styling for buttons (rounded) toButton
as our default buttonButton
toSquaredButton
,IconButton
, andTextButton
instead of having 600 props for variantsRadioButton
componentMotivation and Context
How Has This Been Tested?
switching modes (incl. system mode):
https://github.com/user-attachments/assets/85b3fe96-7237-4497-88c9-c3c7d94b4fdc
dark mode screens:
https://github.com/user-attachments/assets/80cfc997-40ee-4a70-9e95-6c955d975c36
https://github.com/user-attachments/assets/fb09b873-76c7-4ab7-b207-c880d4544960
https://github.com/user-attachments/assets/7f20ba6e-7d38-4f77-b563-90ee2f50ceee
Description
Motivation and Context
How Has This Been Tested?
What process can a PR reviewer use to test or verify this change?
Breaking Changes