mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-05-03 22:26:43 +00:00
Update contrastcolour macro to use color.js
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
title: Macros/ContrastColour/ContrastColourBasic
|
||||
description: Basic usage of contrastcolour macro
|
||||
type: text/vnd.tiddlywiki-multiple
|
||||
tags: [[$:/tags/wiki-test-spec]]
|
||||
|
||||
title: Output
|
||||
|
||||
Colour: <<contrastcolour target:#1e90ff fallbackTarget:#eecc66 colourA:#333333 colourB:#ffffff>>
|
||||
+
|
||||
title: ExpectedResult
|
||||
|
||||
<p>Colour: #ffffff</p>
|
||||
Reference in New Issue
Block a user