Closed hanoj-budime closed 8 months ago
Hello Hanoj, advanced theme is not being applied in your case, since you are applying primary button tokens to a button with mode text. Please take a look to the text button tokens and apply them accordingly, something like this:
const advancedTheme = {
button: {
textBackgroundColor:" #ffffff",
textFontColor: "#1f1f1f",
textHoverBackgroundColor: "#f2f2f2",
textActiveBackgroundColor: "#f2f2f2",
textBorderThickness: "1px",
textBorderStyle: "solid",
textBorderRadius: "4px",
textFontSize: "1rem",
textFontWeight: "500",
}
}
Please take into account that the dark theme is not recommended to be used. It needs to be redone after the tokens review is also done.
@HanojHanu
Thanks @raquelarrojo
To Reproduce
Example:
@dxc-technology\halstack-react@10.0.0
package.Expected behaviour advancedTheme not working for buttons why ?