emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: e.fraga@ucl.ac.uk
Cc: Emacs-orgmode mailing list <emacs-orgmode@gnu.org>,
	Carsten Dominik <carsten.dominik@gmail.com>
Subject: Re: Colors for pre elem. on orgmode.org
Date: Tue, 17 Nov 2009 19:17:43 +0100	[thread overview]
Message-ID: <878we5dni0.fsf@gmx.de> (raw)
In-Reply-To: <877htp2h47.wl%ucecesf@ucl.ac.uk> (Eric S. Fraga's message of "Tue, 17 Nov 2009 17:31:04 +0000")

Eric S Fraga <ucecesf@ucl.ac.uk> writes:
> At Mon, 16 Nov 2009 22:33:25 +0000,
> Rick Moynihan wrote:
>> For what it's worth I find the lack of contrast here a problem too.
>> Though I can read the text, it's not especially pleasant.  I've also
>> found something similar in my exports (with a non default colour
>> theme), which has led me to use the following STYLE option for source
>> code blocks etc...
>> 
>> #+STYLE:    <style> pre { background-color: #191919 } pre { color:
>> #FFFFFF } </style>
>
> I have a similar problem.  The following org-mode snippet:
>
>
> #+begin_src sh
> echo <<EOF
>   This is some input
> EOF
> #+end_src
>
> generates, upon HTML export, the following code:
>
>
> <pre class="src src-sh"><span style="color: #b0c4de;">echo</span> &lt;&lt;EOF<span style="color: #ffff00; font-weight: bold;">
>   This is some input
> EOF
> </span></pre>
>
> The problem with this is that I find the yellow (ffff00 colour)
> illegible on almost every monitor I use.  However, there is no class
> nor id that I can adjust a style for the relevant span elements.  Even
> if I define some CSS for the src or src-sh classes, these will be
> overridden in the spans.  The HTML styles for the spans are hard-coded
> in, it would appear.  Or maybe there is something I can configure
> somewhere?
>
> I will have a look at the export code later when I get a chance...


  M-x customize-variable RET org-export-htmlize-output-type RET


Set it to `CSS'


  Sebastian

  reply	other threads:[~2009-11-17 18:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-15 19:08 Colors for pre elem. on orgmode.org Sebastian Rose
2009-11-16 13:04 ` Carsten Dominik
2009-11-16 13:15   ` Sebastian Rose
2009-11-16 13:17     ` Greg Newman
2009-11-16 16:43       ` Sebastian Rose
2009-11-16 22:33         ` Rick Moynihan
2009-11-17 17:31           ` Eric S Fraga
2009-11-17 18:17             ` Sebastian Rose [this message]
2009-11-17 19:03               ` Eric S Fraga
2009-11-17 19:16                 ` Rick Moynihan
2009-11-16 15:56     ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878we5dni0.fsf@gmx.de \
    --to=sebastian_rose@gmx.de \
    --cc=carsten.dominik@gmail.com \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).