mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-05-03 22:26:43 +00:00
Add colour-lighten and colour-darken operators
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
title: Operators/Colour/ColourDarken
|
||||
description: Darken colour function
|
||||
type: text/vnd.tiddlywiki-multiple
|
||||
tags: [[$:/tags/wiki-test-spec]]
|
||||
|
||||
title: Output
|
||||
|
||||
\parsermode inline
|
||||
\import [subfilter{$:/core/config/GlobalImportFilter}]
|
||||
<$text text={{{ [subfilter{Filter}] }}}/>
|
||||
+
|
||||
title: Filter
|
||||
|
||||
[function[colour],[primary]colour-darken[0.5]]
|
||||
+
|
||||
title: ExpectedResult
|
||||
|
||||
#0f1d77
|
||||
@@ -0,0 +1,18 @@
|
||||
title: Operators/Colour/ColourLighten
|
||||
description: Lighten colour function
|
||||
type: text/vnd.tiddlywiki-multiple
|
||||
tags: [[$:/tags/wiki-test-spec]]
|
||||
|
||||
title: Output
|
||||
|
||||
\parsermode inline
|
||||
\import [subfilter{$:/core/config/GlobalImportFilter}]
|
||||
<$text text={{{ [subfilter{Filter}] }}}/>
|
||||
+
|
||||
title: Filter
|
||||
|
||||
[function[colour],[primary]colour-lighten[0.5]]
|
||||
+
|
||||
title: ExpectedResult
|
||||
|
||||
#c6dbff
|
||||
Reference in New Issue
Block a user