git.fiddlerwoaroof.com
Raw Blame History
;;; refcard.cth --- Reference card theme                         -*- lisp -*-

;; Copyright (C) 2010, 2011, 2015 Didier Verna

;; Author: Didier Verna <didier@didierverna.net>

;; This file is part of Clon.

;; Permission to use, copy, modify, and distribute this software for any
;; purpose with or without fee is hereby granted, provided that the above
;; copyright notice and this permission notice appear in all copies.

;; THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
;; WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
;; MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
;; ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
;; WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
;; ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
;; OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.


;;; Commentary:

;; Contents management by FCM version 0.1.

;; This theme provides a "reference card" compact layout. Elements displayed
;; are program synopsis, option syntax and group titles. Neither plain text
;; nor options descriptions appear in the output. Group titles appear in bold
;; font and options are packed together per group.


;;; Code:

:item-separator ", "

:face (synopsis :bold t :padding-bottom 1)

:face (text :hidden t)

:face (option :padding-left 2
	      :face (syntax :item-separator "/"
			    :face (short :item-separator nil)
			    :face (long  :item-separator nil))
	      :face (usage :hidden t))

:face (group :padding-top 0 :padding-bottom 0
	     :face (header :bold t :padding-bottom 0)
	     :face (items :item-separator ", "
			  :face (group :padding-left 2
				       :padding-top 0
				       :padding-bottom 0)))


;;; refcard.cth ends here