emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* HTML export, TODO keyword face
@ 2011-10-25 12:11 Peter Baranyi
  2011-10-26 17:25 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Baranyi @ 2011-10-25 12:11 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I set up org todo keyword faces like so:

(setq org-todo-keyword-faces
 '(("FAIL"      . org-warning)
 ("MISSING"   . org-warning)
))

But at html export, the keywords are green because they are done
states. So additionally I have to set :

(setq org-export-html-style-extra
 "<style type=\"text/css\">
    <!--/*--><![CDATA[/*><!--*/
.FAIL  { color: red; }
.MISSING   { color: red; }
    /*]]>*/-->
 </style>")

I think the default style should be what is set in org-todo-keyword-faces.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-26 17:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-25 12:11 HTML export, TODO keyword face Peter Baranyi
2011-10-26 17:25 ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).