customize shiny checkboxinput font using css, error unused argument (style = "
<p>I am trying to change the font size and the color of my checkboxinput using inline css.</p>

<pre><code>   library(shiny)
    shinyUI(
        navbarPage("First App",
                 tabPanel("A",
                   sidebarLayout(sidebarPanel(h5("sidebar") ),
                     mainPanel(checkboxInput("add", "Add"  , style = "font-weight: 500; color: #4d3a7d;" )) )),
                 tabPanel("B") )  )
</code></pre>

<p>But I get the error <code>unused argument (style = "font-weight: 500; color: #4d3a7d;")</code>How can I fix this?</p>