diff --git a/core/palette-templates/TwentyTwenties.tid b/core/palette-templates/TwentyTwenties.tid index 311af62c4..a9ddf3bd0 100644 --- a/core/palette-templates/TwentyTwenties.tid +++ b/core/palette-templates/TwentyTwenties.tid @@ -72,13 +72,13 @@ diff-invisible-background: diff-invisible-foreground: [function[colour],[muted-foreground]] dirty-indicator: [function[colour],[base-tertiary]] download-background: [tf.interpolate-colours[base-paper],[base-green],[0.6]] -download-foreground: [tf.interpolate-colours[base-ink],[base-green],[1]] +download-foreground: [tf.interpolate-colours[base-ink],[base-green],[0.1]] dragger-background: [function[colour],[foreground]] dragger-foreground: [function[colour],[background]] dropdown-background: [function[colour],[background]] dropdown-border: [function[colour],[muted-foreground]] -dropdown-tab-background-selected: [function[colour],[]] -dropdown-tab-background: [function[colour],[]] +dropdown-tab-background-selected: [function[colour],[background]] +dropdown-tab-background: [tf.interpolate-colours[base-paper],[base-ink],[0.9]] dropzone-background: rgba(0,200,0,0.7) external-link-background-hover: inherit external-link-background-visited: inherit @@ -86,21 +86,21 @@ external-link-background: inherit external-link-foreground-hover: inherit external-link-foreground-visited: [function[colour],[primary]] external-link-foreground: [function[colour],[primary]] -footnote-target-background: [function[colour],[]] +footnote-target-background: [tf.interpolate-colours[base-paper],[base-ink],[0.2]] foreground: [function[colour],[base-ink]] ?background-foreground-contrast: [tf.check-colour-contrast[background],[foreground],[45]] -highlight-background: [function[colour],[]] -highlight-foreground: [function[colour],[]] -message-background: [function[colour],[]] -message-border: [function[colour],[]] -message-foreground: [function[colour],[]] +highlight-background: [tf.interpolate-colours[base-paper],[base-yellow],[0.5]] +highlight-foreground: [tf.interpolate-colours[base-yellow],[base-ink],[0.8]] +message-background: [tf.interpolate-colours[base-paper],[base-blue],[0.2]] +message-border: [tf.interpolate-colours[base-blue],[base-ink],[0.5]] +message-foreground: [tf.interpolate-colours[base-blue],[base-ink],[0.8]] modal-backdrop: [function[colour],[foreground]] modal-background: [function[colour],[background]] modal-border: [function[colour],[]] modal-footer-background: [function[colour],[]] modal-footer-border: [function[colour],[]] modal-header-border: [function[colour],[]] -muted-foreground: [function[colour],[]] +muted-foreground: [tf.interpolate-colours[base-paper],[base-ink],[0.5]] network-activity-foreground: [function[colour],[]] notification-background: [function[colour],[base-tertiary]colour-set-oklch:l[0.9]] notification-border: [function[colour],[base-tertiary]colour-set-oklch:l[0.2]] @@ -116,7 +116,7 @@ sidebar-button-foreground: [function[colour],[foreground]] sidebar-controls-foreground-hover: [function[colour],[]] sidebar-controls-foreground: [function[colour],[]] sidebar-foreground-shadow: rgba(255,255,255, 0.8) -sidebar-foreground: [function[colour],[]] +sidebar-foreground: =[function[colour],[base-ink]] =[function[colour],[base-paper]] =[function[colour],[base-background]] +[colour-best-contrast:DeltaPhi[]] sidebar-muted-foreground-hover: [function[colour],[]] sidebar-muted-foreground: [function[colour],[]] sidebar-tab-background-selected: [function[colour],[]] @@ -134,26 +134,26 @@ stability-experimental: [function[colour],[]] stability-deprecated: [function[colour],[]] stability-legacy: [function[colour],[]] static-alert-foreground: [function[colour],[]] -tab-background-selected: [function[colour],[]] -tab-background: [function[colour],[]] -tab-border-selected: [function[colour],[]] -tab-border: [function[colour],[]] -tab-divider: [function[colour],[]] +tab-background-selected: [function[colour],[background]] +tab-background: [tf.interpolate-colours[base-paper],[base-ink],[0.2]] +tab-border-selected: [function[colour],[muted-foreground]] +tab-border: [function[colour],[muted-foreground]] +tab-divider: [function[colour],[muted-foreground]] tab-foreground-selected: [function[colour],[tab-foreground]] -tab-foreground: [function[colour],[]] +tab-foreground: [function[colour],[foreground]] table-border: [function[colour],[]] table-footer-background: [function[colour],[]] table-header-background: [function[colour],[]] -tag-background: [function[colour],[]] -tag-foreground: [function[colour],[]] +tag-background: [tf.interpolate-colours[base-paper],[base-yellow],[0.9]] +tag-foreground: [tf.interpolate-colours[base-yellow],[base-ink],[0.8]] testcase-accent-level-1: [function[colour],[]] testcase-accent-level-2: [function[colour],[]] testcase-accent-level-3: [function[colour],[]] tiddler-background: [function[colour],[background]] -tiddler-border: [tf.interpolate-colours,[base-paper],[base-background],[0.5]] -tiddler-controls-foreground-hover: [tf.interpolate-colours,[background],[foreground],[0.7]] -tiddler-controls-foreground-selected: [tf.interpolate-colours,[background],[foreground],[0.9]] -tiddler-controls-foreground: [tf.interpolate-colours,[background],[foreground],[0.5]] +tiddler-border: [tf.interpolate-colours[base-paper],[base-background],[0.5]] +tiddler-controls-foreground-hover: [tf.interpolate-colours[background],[foreground],[0.7]] +tiddler-controls-foreground-selected: [tf.interpolate-colours[background],[foreground],[0.9]] +tiddler-controls-foreground: [tf.interpolate-colours[background],[foreground],[0.5]] tiddler-editor-background: [function[colour],[]] tiddler-editor-border-image: [function[colour],[]] tiddler-editor-border: [function[colour],[]]