Skip to content

Commit

Permalink
v0.4.3; add 4 severity text colors
Browse files Browse the repository at this point in the history
  • Loading branch information
dginev committed Oct 4, 2021
1 parent 930adff commit b38bebb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
3 changes: 2 additions & 1 deletion css/arxmliv-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down
12 changes: 9 additions & 3 deletions css/arxmliv.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -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);}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": "[email protected]:dginev/arxmliv-css.git",
Expand Down

0 comments on commit b38bebb

Please sign in to comment.