title: R ggplot2: using both theme() and theme_light for a graph
body: <p>I want to use both, <code>theme_light()</code> and <code>theme()</code> for generating a simple&amp;nice graph but  <code>theme_light()</code> seems to override anything I want customize with <code>theme()</code>- in my case I want to customize the font (using package extrafont).  So using only either <code>theme_light()</code> or <code>theme()</code> works fine. Also tried to put the <code>theme()</code> arguments in <code>theme_light()</code> which did not worked.</p>
  <p>Is there a possibility to use the<code>theme_light()</code> layout and <code>theme()</code> for customizing the font OR does somebody know how to build the <code>theme_light()</code> layout with <code>theme()</code> so I can omit <code>theme_light()</code>?</p>
  <p>Code:</p>
  <pre><code>library(ggplot2)
  library(extrafont)
  
  #data:
  a1&lt;-dput(step_h[c(1:100), c(14,  6)])
  structure(list(hourround = c(19, 19, 19, 19, 19, 19, 19, 19, 
  19, 19, 1, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 
  11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 
  11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 
  12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 
  12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 
  12, 12, 12, 12, 12, 12, 12, 12), value = c(37, 9, 10, 6, 48, 
  8, 63, 17, 29, 11, 6, 42, 75, 63, 92, 125, 124, 119, 124, 107, 
  98, 100, 46, 23, 83, 130, 44, 106, 0, 0, 16, 87, 110, 68, 79, 
  74, 51, 41, 18, 96, 69, 60, 33, 0, 0, 65, 23, 49, 0, 0, 0, 21, 
  69, 53, 77, 82, 80, 37, 73, 62, 116, 65, 33, 39, 59, 102, 73, 
  66, 6, 73, 89, 71, 64, 14, 19, 39, 29, 0, 32, 84, 64, 68, 16, 
  0, 7, 45, 24, 0, 0, 19, 21, 13, 38, 23, 22, 16, 10, 8, 10, 11
  )), row.names = c(NA, -100L), .internal.selfref = &lt;pointer: 0x0000025373b81ef0&gt;, class = c(&quot;data.table&quot;, 
  &quot;data.frame&quot;))
  
  #graph code:
  ggplot(a1, aes(x=hourround))+
    geom_bar(aes(weight = value), fill=&quot;#00BFC4&quot;)+
    scale_x_continuous(name = &quot;Hour of day&quot;, limits = c(0, 25), breaks = seq(1, 24, by = 1))+
    scale_y_continuous(name = &quot;Steps&quot;)+
    theme(text=element_text(family='Calibri Light', size=14)) #+theme_light()
  #if I add theme_light(), font is not Calibri anymore
  
  </code></pre>