Added class names to components according to BEM conventions: daq-[component name]--[light/dark]__[component element/modifiers on those elements]
Stopped unnecessary props (className, id, and setProps) from being passed to label containers, as this would cause the containers to have the same classNames as the components
Fixed colour problems for dark-theme buttons and inputs (could use some feedback on the chosen colours here)
Used withTheme for components that didn't use it, so that they would have the correct class names
A bit of code cleanup
Dark theme components
Before:
(after clicking on the PrecisionInput to enter a value)
Closes #63. Closes #36. Closes #55.
About
daq-[component name]--[light/dark]__[component element/modifiers on those elements]
className
,id
, andsetProps
) from being passed to label containers, as this would cause the containers to have the sameclassName
s as the componentswithTheme
for components that didn't use it, so that they would have the correct class namesDark theme components
Before:
(after clicking on the
PrecisionInput
to enter a value)After: