mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-30 02:36:52 +00:00
Start adding tests for palette operations
This commit is contained in:
45
editions/test/tiddlers/tests/data/palettes/BasicLookup.tid
Normal file
45
editions/test/tiddlers/tests/data/palettes/BasicLookup.tid
Normal file
@@ -0,0 +1,45 @@
|
||||
|
||||
title: Operators/Palettes/BasicLookup
|
||||
description: Compute the
|
||||
type: text/vnd.tiddlywiki-multiple
|
||||
tags: [[$:/tags/wiki-test-spec]]
|
||||
|
||||
title: Output
|
||||
|
||||
\import [subfilter{$:/core/config/GlobalImportFilter}]
|
||||
<<colour page-background>>
|
||||
<<colour background>>
|
||||
+
|
||||
title: Actions
|
||||
|
||||
\import [subfilter{$:/core/config/GlobalImportFilter}]
|
||||
<<actions-recompile-current-palette>>
|
||||
+
|
||||
title: $:/palette
|
||||
|
||||
MyPalette
|
||||
+
|
||||
title: MyPalette
|
||||
name: My Palette
|
||||
description: My custom palette
|
||||
tags: $:/tags/Palette
|
||||
type: application/x-tiddler-dictionary
|
||||
palette-import: MyOtherPalette
|
||||
color-scheme: light
|
||||
|
||||
page-background: <<colour custom>>
|
||||
custom: #f4e4d4
|
||||
+
|
||||
title: MyOtherPalette
|
||||
name: My Other Palette
|
||||
description: My other custom palette
|
||||
tags: $:/tags/Palette
|
||||
type: application/x-tiddler-dictionary
|
||||
color-scheme: light
|
||||
|
||||
page-background: #d4e4f4
|
||||
background: red
|
||||
+
|
||||
title: ExpectedResult
|
||||
|
||||
<p>#f4e4d4</p><p>red</p>
|
||||
Reference in New Issue
Block a user