From 1b25d4b51ac439b1dc3b59dc287a7f5ddf5e61c9 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Mon, 27 Apr 2015 21:46:31 +0100 Subject: [PATCH] Improve "Contrast" palette Trying to make it more useful for visually impaired users - see #1682 --- core/palettes/Contrast.tid | 117 ++++++++++++----------- editions/prerelease/tiddlers/palette.tid | 3 + 2 files changed, 63 insertions(+), 57 deletions(-) create mode 100644 editions/prerelease/tiddlers/palette.tid diff --git a/core/palettes/Contrast.tid b/core/palettes/Contrast.tid index 8622baca5..fb3d2f371 100644 --- a/core/palettes/Contrast.tid +++ b/core/palettes/Contrast.tid @@ -4,103 +4,106 @@ description: High contrast and unambiguous tags: $:/tags/Palette type: application/x-tiddler-dictionary -alert-background: #ffe476 -alert-border: #b99e2f -alert-highlight: #881122 -alert-muted-foreground: #b99e2f -background: #ffffff +alert-background: #f00 +alert-border: #000 +alert-highlight: #fff +alert-muted-foreground: #800 +background: #000 blockquote-bar: <> -code-background: #f7f7f9 -code-border: #e1e1e8 -code-foreground: #dd1144 -dirty-indicator: #ff0000 -download-background: #34c734 +button-background: #000 +button-foreground: #fff +button-border: #fff +code-background: #000 +code-border: #fff +code-foreground: #fff +dirty-indicator: #f00 +download-background: #080 download-foreground: <> dragger-background: <> dragger-foreground: <> dropdown-background: <> dropdown-border: <> dropdown-tab-background-selected: #fff -dropdown-tab-background: #ececec +dropdown-tab-background: #fff dropzone-background: rgba(0,200,0,0.7) external-link-background-hover: inherit external-link-background-visited: inherit external-link-background: inherit external-link-foreground-hover: inherit -external-link-foreground-visited: #0000aa -external-link-foreground: #0000ee -foreground: #333333 -message-background: #ecf2ff -message-border: #cfd6e6 -message-foreground: #547599 +external-link-foreground-visited: #00a +external-link-foreground: #00e +foreground: #fff +message-background: #fff +message-border: #000 +message-foreground: #000 modal-backdrop: <> modal-background: <> -modal-border: #999999 -modal-footer-background: #f5f5f5 -modal-footer-border: #dddddd -modal-header-border: #eeeeee -muted-foreground: #999999 -notification-background: #ffffdd -notification-border: #999999 +modal-border: #000 +modal-footer-background: #fff +modal-footer-border: #000 +modal-header-border: #000 +muted-foreground: #999 +notification-background: #fff +notification-border: #000 page-background: #000000 -pre-background: #f5f5f5 -pre-border: #cccccc -primary: #5778d8 +pre-background: #000 +pre-border: #fff +primary: #00f sidebar-button-foreground: <> sidebar-controls-foreground-hover: #000000 sidebar-controls-foreground: #ffffff sidebar-foreground-shadow: rgba(255,0,0, 0.5) sidebar-foreground: #ffffff sidebar-muted-foreground-hover: #444444 -sidebar-muted-foreground: #c0c0c0 -sidebar-tab-background-selected: #ececec +sidebar-muted-foreground: #fff +sidebar-tab-background-selected: #fff sidebar-tab-background: <> sidebar-tab-border-selected: <> sidebar-tab-border: <> sidebar-tab-divider: <> -sidebar-tab-foreground-selected: +sidebar-tab-foreground-selected: #000 sidebar-tab-foreground: <> -sidebar-tiddler-link-foreground-hover: #444444 -sidebar-tiddler-link-foreground: #999999 +sidebar-tiddler-link-foreground-hover: #fff +sidebar-tiddler-link-foreground: <> site-title-foreground: <> static-alert-foreground: #aaaaaa -tab-background-selected: #ffffff -tab-background: #d8d8d8 -tab-border-selected: #d8d8d8 -tab-border: #cccccc -tab-divider: #d8d8d8 -tab-foreground-selected: <> -tab-foreground: #666666 +tab-background-selected: #fff +tab-background: #000 +tab-border-selected: #fff +tab-border: #fff +tab-divider: #fff +tab-foreground-selected: #000 +tab-foreground: #fff table-border: #dddddd table-footer-background: #a8a8a8 table-header-background: #f0f0f0 tag-background: #d5ad34 tag-foreground: #ffffff tiddler-background: <> -tiddler-border: <> -tiddler-controls-foreground-hover: #888888 -tiddler-controls-foreground-selected: #444444 -tiddler-controls-foreground: #cccccc -tiddler-editor-background: #f8f8f8 -tiddler-editor-border-image: #ffffff +tiddler-border: #fff +tiddler-controls-foreground-hover: #ddd +tiddler-controls-foreground-selected: #fdd +tiddler-controls-foreground: #fff +tiddler-editor-background: #000 +tiddler-editor-border-image: #fff tiddler-editor-border: #cccccc -tiddler-editor-fields-even: #e0e8e0 -tiddler-editor-fields-odd: #f0f4f0 +tiddler-editor-fields-even: #000 +tiddler-editor-fields-odd: #000 tiddler-info-background: #f8f8f8 tiddler-info-border: #dddddd tiddler-info-tab-background: #f8f8f8 tiddler-link-background: <> tiddler-link-foreground: <> tiddler-subtitle-foreground: #c0c0c0 -tiddler-title-foreground: #182955 -toolbar-new-button: -toolbar-options-button: -toolbar-save-button: -toolbar-info-button: -toolbar-edit-button: -toolbar-close-button: -toolbar-delete-button: -toolbar-cancel-button: -toolbar-done-button: +tiddler-title-foreground: #fff +toolbar-new-button: +toolbar-options-button: +toolbar-save-button: +toolbar-info-button: +toolbar-edit-button: +toolbar-close-button: +toolbar-delete-button: +toolbar-cancel-button: +toolbar-done-button: untagged-background: #999999 very-muted-foreground: #888888 diff --git a/editions/prerelease/tiddlers/palette.tid b/editions/prerelease/tiddlers/palette.tid new file mode 100644 index 000000000..7c541fcf1 --- /dev/null +++ b/editions/prerelease/tiddlers/palette.tid @@ -0,0 +1,3 @@ +title: $:/palette + +$:/palettes/Contrast \ No newline at end of file