mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-18 14:10:28 +00:00
18 lines
533 B
Plaintext
18 lines
533 B
Plaintext
|
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">>
|