Instead, we'll special case transforming `<<colour X>>` into `[function[colour],[x]]`
Makes everything much easier and avoids all the kerfuffle of not being able to mix palettes
Also introduces palette inheritance
This finally allows us to have a palette that automatically switches between dark and light variants. The mechanism is more flexible that that, and allows for multiple colour schemes (night, morning, day, evening, for example) with automatic switching between them.
* Add difftextwidget colors to Solarized palettes
* Add diff colors from https://wikilabs.github.io/editions/palette-manager/
* Add diff colors to Solar Flare palette & use yellow color for diff-invisible.
* Update solarized and solar flare palette.
* Initial Commit
* Use leading zeros for 2 digit codes
As suggested by @pmario in https://github.com/TiddlyWiki/TiddlyWiki5/pull/8545#issuecomment-2304541731, makes the colours display better in the editor
* Palette entries for alerts, codeblocks and diffs
* Update download button colour
* Add more colors to Flexoki Light palette (#8620)
* Add more colors to Flexoki Light palette
Add more colors to flexoki light palette, including:
* Dirty indicator
* Table borders and headings
* Tiddler info
* Sidebar tabs and buttons
* Stability badges
* Code blocks
* Add more colours
* Add message box colors
* Add notification colors
* Add editor background color
* Changed muted background color to fix low-contrast
* Add tiddler title color
* Add colour for external links
* Flexoki palette update (#8724)
* Flexoki palette update
* Add dark palette
* Add menubar colors
* Update diff widget colors
* Update inline code color
* Use hardcoded color for some color & add message box color
* Remove dev palette settings
---------
Co-authored-by: Leilei332 <LeiYiXia29@outlook.com>
* Include the ExpectedResults in the displayed tabs
* Lighted testcase background
* Add testcase toolbar with export and import options
* Further styling tweaks
* Initial Commit
* Add note to preview build
* Fix whitespace and indenting
Thanks @pmario
* Fix crash with unset $tiddler attribute on <$data> widget
Thanks @CodaCodr
* Don't duplicate "description" field in test cases
* Use different background colours for nested testcase widgets
* Extend the testcase widget to run tests
* Add testcases to control panel
* Add a view template body template to render testcase tiddlers
* Test edition should display testcases
* Whitespace fixes
* Make testcase tiddler tempalte link to itself
* Styling tweaks
* Docs improvements
* Styling tweaks
* Run the new tw5.com testcases in the test edition
* Update data widget to display its content in JSON
* Add testcase convenience procedure
* Clearer testcases for data widget, and docs tweaks
* Don't expect our intentionally failing test to pass
* Extend testcase default template so that the display format can be chosen
It is selected by setting the variable "displayFormat"
* DataWidget docs typo
* Fix data widget not refreshing
* Links in testcase output switch to the tab containing that tiddler
Thanks to @btheado for the suggestion
* Docs update for 648855e8a50b1ee3bef3120b64b5713b69190c9b
* Wording tweak
* Add support for narrative tiddlers in test cases
* Documentation improvements
* Cleanup comments
* Remove obsolete code comments
* Simplify template
* Docs update
* Rename $:/core/ui/testcases/DefaultTemplate/SourceTabs from $:/core/ui/testcases/DefaultTemplate/Source
* Use the view template body for failing tests
* Don't reference the geospatial plugin
* "Test case" should be two words
* Fix handling of currentTiddler variable
Fixes problem reported by @btheado in https://github.com/Jermolene/TiddlyWiki5/pull/7817#issuecomment-2103704468
* Prepare for merging
* Initial Commit
* HttpClient object shouldn't need to know about events
* Add support for cancelling HTTP requests
* Make the number of outstanding HTTP requests available in a state tiddler
* Add a network activity button
Click it to cancel outstanding requests
* Fix typo
Thanks @btheado
Co-authored-by: btheado <brian.theado@gmail.com>
* Fix crash when cancelling more than one HTTP request
Thanks @saqimtiaz
* Further fixes to cancelling outstanding HTTP requests
* Fix missing body
---------
Co-authored-by: btheado <brian.theado@gmail.com>
* add default settings for styled inline SPANs
* change color names in palettes and vanilla-base
* change parser behaviour if custom class is used
* tc-inline-style will only be set if no other custom setting is appliead
* Add tests for inline-styles
* add one more test
* remove space after if
* Fixed Overflow svg fill
When hovered, the svg should be the same colour as the text it comes alongside. This fixes that.
* Fixed the Solarized Palettes as per spec
- Added the Solarized Dark palette
- Remade the Solarized Light palette with the right contrast ratios as per Solarized Spec.
* Sidebar Selected Tab UI Change
Changed the selected tab border and foreground from pink to white(base01) because the pink was too distracting and not very readable.
* Fixed Hover css for plugin info listing
The css was not working so I fixed it.
* Fixed the UI for plugin info tiddler (among others)