Printing seems to keep font color from theme


#1

When I print I get grey text on white. My theme uses bright grey on black. Is there a way to have printing ignore font color, or can I specify print theme or specific colors for printing?


#2

Yes, you can use CSS media queries for that. As an example:

@media print {
  .CodeMirror {
    color: green;
  }
}

#3

Ah, thanks! :smiley:
What’s the CSS target for the todo squares/boxes?
(They’re still grey.)


#4

I think this should do it:

.cm-checkbox-renderwidget {  
  input:before {
    color: green;
  }
}