emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Xebar Saram <zeltakc@gmail.com>
To: org mode <emacs-orgmode@gnu.org>
Subject: Differnet bg/fg by code block type
Date: Sat, 1 Jun 2013 14:09:46 -0400	[thread overview]
Message-ID: <CAOQHXPohqxLT0rPtBkJwJokLnf067TTNExxws=Sks27ENfGrKw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 564 bytes --]

Hi all

i am using a theme that allows to customize the org-mode bg/fg colors for
various aspects of the code block IE

`(org-block-background ((,class (:background "#FFFFE0"))))
   `(org-block-begin-line ((,class (:underline "#A7A6AA" :foreground
"#555555" :background "#E2E1D5"))))
   `(org-block-end-line ((,class (:overline "#A7A6AA" :foreground "#555555"
:background "#E2E1D5"))))


I was wondering if this could be extended in anyway to have a few different
code block colors so that IE a sh block would have a different bg then a
elisp code block?

best

z

[-- Attachment #2: Type: text/html, Size: 1015 bytes --]

             reply	other threads:[~2013-06-01 18:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-01 18:09 Xebar Saram [this message]
2013-06-07 20:40 ` Differnet bg/fg by code block type Xebar Saram
2013-06-07 21:04   ` Andreas Leha

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='CAOQHXPohqxLT0rPtBkJwJokLnf067TTNExxws=Sks27ENfGrKw@mail.gmail.com' \
    --to=zeltakc@gmail.com \
    --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).