From f3cf32a085d0fd889335463440b1c51cae11607c Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Sat, 26 Mar 2022 13:36:55 -0700 Subject: [PATCH] fish_config: use system-ui/sans serif for non-shell/code text This is nicer. It was actually using monospace fonts across the board before. Tweak tab rendering. --- share/tools/web_config/fishconfig.css | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/share/tools/web_config/fishconfig.css b/share/tools/web_config/fishconfig.css index e1f76a058..cc5b28895 100644 --- a/share/tools/web_config/fishconfig.css +++ b/share/tools/web_config/fishconfig.css @@ -1,7 +1,7 @@ body { background: linear-gradient(to bottom, #a7cfdf 0%, #23538a 100%); /* List explained in the doc theme pydoctheme.css */ - font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, "Ubuntu Mono", "Hack", "Noto Sans Mono", Liberation Mono, monospace; + font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI",Roboto, "Helvetica Neue", Arial, sans-serif; color: #222; } @@ -30,14 +30,12 @@ body { .tab { display: table-cell; - border: 1px solid #ccc; - border-right: none; - border-top: none; padding-bottom: 15px; padding-top: 15px; padding-left: 3px; padding-right: 3px; - font-size: 14pt; + font-size: 18pt; + font-weight: 500; text-align: center; background-color: white; cursor: pointer; @@ -511,6 +509,10 @@ img.delete_icon { color: #c0c0c0; /* set_color normal, assume white (not brwhite) */ } +.prompt_demo, .prompt_demo_text, .data_table_row, .colorpicker_text_sample_tight, .colorpicker_text_sample, .history_text, pre, code, tt { + font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, "Ubuntu Mono", "Hack", "Noto Sans Mono", Liberation Mono, monospace; +} + .prompt_demo { color: #aaa; white-space: pre;