1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-08 02:49:56 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/macros/ColourMacro.tid

18 lines
533 B
Plaintext
Raw Normal View History

created: 20150221154058000
modified: 20150221154522000
tags: Macros [[Core Macros]]
title: colour Macro
type: text/vnd.tiddlywiki
caption: colour
The <<.def colour>> (or <<.def color>>) [[macro|Macros]] returns the [[CSS|Cascading Style Sheets]] value of one the colours in the current [[palette|ColourPalettes]].
If no such entry exists in the current palette, the [[vanilla palette|$:/palettes/Vanilla]] is used instead.
!! Parameters
;name
: The name of the palette entry, e.g. `page-background`
<<.macro-examples "colour">>