mirror of
https://github.com/9001/copyparty.git
synced 2026-06-18 20:22:27 -06:00
fix default accent colors for last commit
This commit is contained in:
parent
f0406ab472
commit
58909c68da
|
|
@ -149,7 +149,8 @@ class Ico(object):
|
|||
svg = """\
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg version="1.1" width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M3 7C3 5.89543 3.89543 5 5 5L8.67157 5C9.20201 5 9.71071 5.21071 10.0858 5.58579L10.9142 6.41421C11.2893 6.78929 11.798 7 12.3284 7H19C20.1046 7 21 7.89543 21 9V17C21 18.1046 20.1046 19 19 19H5C3.89543 19 3 18.1046 3 17V7Z" fill="{}"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M3 7C3 5.89543 3.89543 5 5 5L8.67157 5C9.20201 5 9.71071 5.21071 10.0858 5.58579L10.9142 6.41421C11.2893 6.78929 11.798 7 12.3284 7H19C20.1046 7 21 7.89543 21 9V17C21 18.1046 20.1046 19 19 19H5C3.89543 19 3 18.1046 3 17V7Z"
|
||||
fill="{}"/>
|
||||
</svg>
|
||||
"""
|
||||
svg = svg.format(accent)
|
||||
|
|
|
|||
|
|
@ -6448,7 +6448,7 @@ var thegrid = (function () {
|
|||
ihref += "&raster";
|
||||
|
||||
var accent = getComputedStyle(document.body).getPropertyValue('--a');
|
||||
ihref += '&a=' + accent;
|
||||
ihref += '&a=' + parseColor(accent);
|
||||
|
||||
html.push('<a href="' + ohref + '" ref="' + ref +
|
||||
'" class="' + ac + '" ttt="' + esc(name) + '">' +
|
||||
|
|
|
|||
Loading…
Reference in a new issue