From b38bebb8e778dd1c09604d2dffffc43ff7af74e2 Mon Sep 17 00:00:00 2001 From: Deyan Ginev Date: Mon, 4 Oct 2021 16:55:03 -0400 Subject: [PATCH] v0.4.3; add 4 severity text colors --- css/arxmliv-dark.css | 3 ++- css/arxmliv.css | 12 +++++++++--- package.json | 2 +- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/css/arxmliv-dark.css b/css/arxmliv-dark.css index cdb6488..70828a6 100644 --- a/css/arxmliv-dark.css +++ b/css/arxmliv-dark.css @@ -7,7 +7,8 @@ --border-light-color: #d4d4d4; --note-mark-color: #daa002; /* color: #3f88c5; */ --note-highlight-color: midnightblue; - --error-color: #d84148; + /* TODO: add info, warning and fatal colors*/ + --error-text-color: #d84148; --index-ref-color: #cd5b45; /* keep images in "light theme", as transparent PNGs get generated by latexml with a light theme expectation. */ diff --git a/css/arxmliv.css b/css/arxmliv.css index 975dd3d..6d0a7d0 100644 --- a/css/arxmliv.css +++ b/css/arxmliv.css @@ -17,7 +17,10 @@ --link-text-color: #212121; --note-mark-color: #026ecb; /* color: #3f88c5; */ --note-highlight-color: #ffffd4; - --error-color: #D8000C; + --info-text-color: #01719d; + --warning-text-color: #d09e05; + --error-text-color: #D8000C; + --fatal-text-color: #D8000C; --index-ref-color: lightcoral; } /* Main content */ @@ -908,6 +911,9 @@ dl.ltx_description dl.ltx_description dd { margin-left:3em; } /*====================================================================== Meta stuff */ .ltx_tag_note { display: none; } -.ltx_ERROR { text-align: left; display:inline; color:var(--error-color); } +.ltx_INFO { text-align: left; display:inline; color:var(--info-text-color); } +.ltx_WARNING { text-align: left; display:inline; color:var(--warning-text-color); } +.ltx_ERROR { text-align: left; display:inline; color:var(--error-text-color); } +.ltx_FATAL { text-align: left; display:inline; color:var(--fatal-text-color); } .ltx_rdf { display:none; } -.ltx_missing, .ltx_missing_label, .ltx_nounicode { color:var(--error-color);} +.ltx_missing, .ltx_missing_label, .ltx_nounicode { color:var(--error-text-color);} diff --git a/package.json b/package.json index f4c9f78..3ef9e1d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "arxmliv-css", - "version": "0.4.2", + "version": "0.4.3", "description": "Experimental CSS to style arXiv articles converted with LaTeXML", "main": "arxmliv.css", "repository": "git@github.com:dginev/arxmliv-css.git",