Although it can be solved by adding styles, this does not solve fundamental problems.
The reason for the problem is that the actionButton and AdminLTE frameworks are not well compatible.
In function actionButton , class btn-primary will overwrites btn-default,So shiny didn't deletebtn-default.
But the other themes of the buttons inside AdminLTE do not have the font color attribute, so the font color is still the color of btn-default.
Em... : Shinydashboard (0.7.1) uses the AdminLTE framework (v2.3.11), but the path is shown as 2.0.6, and the latest version is 3.1.0.
When I create a button with another theme, such as the primary button, I get the button in black font instead of white. my code like this:
Although it can be solved by adding styles, this does not solve fundamental problems.
The reason for the problem is that the
actionButton
andAdminLTE
frameworks are not well compatible. In functionactionButton
, classbtn-primary
will overwritesbtn-default
,Soshiny
didn't deletebtn-default
.But the other themes of the buttons inside
AdminLTE
do not have the font color attribute, so the font color is still the color ofbtn-default
.Em... : Shinydashboard (0.7.1) uses the AdminLTE framework (v2.3.11), but the path is shown as 2.0.6, and the latest version is 3.1.0.