Commit adfd1861 authored by phob1an's avatar phob1an 🎧
Browse files

sync

parent c54970e2
......@@ -147,14 +147,16 @@ try:
except:
sys.exit("Could not open image file.")
colors_list = colorz.colorz(image_filename, 8, 80, 220, 100)
colors_list = colorz.colorz(image_filename, 8, 80, 220, 80)
r,g,b = colors_list[0][0]
primary_h, primary_l, primary_s = colorsys.rgb_to_hls(r/255,g/255,b/255)
print("Colorz HSL:\t {}, {}, {} ".format(primary_h, primary_s, primary_l))
r,g,b = colors_list[0][1]
bright_h, bright_l, bright_s = colorsys.rgb_to_hls(r/255,g/255,b/255)
bright_l = min(bright_l, 0.98)
bright_l = max(bright_l, 0.0)
bright_s = min(bright_s, 0.98)
bright_s = max(bright_s, 0.0)
print("Colorz HSL:\t {}, {}, {} ".format(bright_h, bright_s, bright_l))
titlebar_s = 0.25
......@@ -166,7 +168,7 @@ foreground = "255,255,255"
task_focus = color_triplet(primary_h, min(primary_l/1.25, 0.7), primary_s/1.5)
button_foreground = "255,255,255"
highlight_color = color_triplet(bright_h, bright_l, bright_s)
button_background = color_triplet(primary_h, 0.4, primary_s)
button_background = color_triplet(primary_h, 0.5, primary_s)
titlebar = color_triplet(primary_h, 0.5, titlebar_s)
......
[Colors:Window]
ForegroundNormal=255,255,255
BackgroundNormal=41,119,162
BackgroundNormal=133,83,54
ForegroundNegative=212,84,0
[Colors:Selection]
BackgroundNormal=148,216,253
BackgroundNormal=246,153,100
[Colors:Complimentary]
BackgroundNormal=41,119,162
BackgroundNormal=133,83,54
ForegroundNormal=255,255,255
[Colors:Button]
ForegroundNormal=255,255,255
BackgroundNormal=41,119,162
DecorationFocus=148,216,253
DecorationHover=44,126,172
BackgroundNormal=181,112,73
DecorationFocus=246,153,100
DecorationHover=133,83,54
[Colors:View]
ForegroundNormal=255,255,255
BackgroundNormal=204,236,254
DecorationHover=148,216,253
DecorationFocus=65,120,151
BackgroundNormal=252,223,206
DecorationHover=246,153,100
DecorationFocus=120,86,67
[Colors:Header]
ForegroundNormal=204,236,254
\ No newline at end of file
ForegroundNormal=252,223,206
\ No newline at end of file
This diff is collapsed.
......@@ -14,7 +14,7 @@
viewBox="0 0 114.35844 99.590554"
version="1.1"
id="svg831"
inkscape:version="0.92.4 5da689c313, 2019-01-14"
inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)"
sodipodi:docname="line.svg">
<defs
id="defs825" />
......@@ -52,7 +52,7 @@
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="22.4"
inkscape:cx="61.60782"
inkscape:cx="60.246213"
inkscape:cy="45.959034"
inkscape:document-units="px"
inkscape:current-layer="layer1"
......@@ -85,7 +85,7 @@
<rect
class="ColorScheme-Background"
transform="rotate(90)"
style="opacity:0.8;fill:currentColor;fill-opacity:1;stroke-width:0.07258662"
style="opacity:0.8;fill:none;fill-opacity:1;stroke-width:0.07258662"
id="rect4391"
width="3"
height="24"
......@@ -97,8 +97,8 @@
height="24"
width="1"
id="lll"
class="ColorScheme-ButtonBackground"
style="opacity:0.8;fill:currentColor;fill-opacity:0.99607843;stroke-width:0.0419079"
class="ColorScheme-ViewHover"
style="opacity:1;fill:currentColor;fill-opacity:0.99607843;stroke-width:0.0419079"
transform="rotate(90)" />
</g>
<g
......
......@@ -43,9 +43,9 @@
inkscape:window-maximized="0"
inkscape:window-y="31"
inkscape:window-x="42"
inkscape:cy="30.169823"
inkscape:cx="101.65444"
inkscape:zoom="5.243668"
inkscape:cy="55.625225"
inkscape:cx="109.72379"
inkscape:zoom="3.7078332"
showgrid="false"
id="namedview198"
inkscape:window-height="968"
......@@ -117,10 +117,11 @@
id="header-center"
width="24"
height="24"
x="9.1696444"
y="25.672777" />
x="23.194008"
y="23.245483" />
<g
id="header-top">
id="header-top"
transform="translate(14.024363,-2.4272937)">
<rect
transform="scale(1,-1)"
style="opacity:1;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.34343219;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
......@@ -142,7 +143,7 @@
</g>
<g
id="header-topleft"
transform="translate(21.239474,-1.5491566)">
transform="translate(35.263837,-3.9764503)">
<rect
y="21.22193"
x="-18.069853"
......@@ -158,7 +159,7 @@
style="opacity:1;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal" />
</g>
<g
transform="matrix(-1,0,0,1,21.099802,-1.5491489)"
transform="matrix(-1,0,0,1,35.124165,-3.9764426)"
id="header-topright">
<rect
style="opacity:1;fill:none;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
......@@ -176,7 +177,7 @@
</g>
<g
id="header-right"
transform="rotate(90,21.169634,37.672794)">
transform="rotate(90,29.395462,43.471329)">
<rect
y="-25.672773"
x="9.1696205"
......@@ -198,7 +199,7 @@
</g>
<g
id="header-left"
transform="rotate(-90,21.169621,37.672773)">
transform="rotate(-90,26.968156,29.446945)">
<rect
y="-25.672773"
x="9.1696205"
......@@ -218,47 +219,86 @@
x="9.1696205"
y="-20.672773" />
</g>
<rect
y="49.672771"
x="9.1731596"
height="6"
width="24"
<path
d="m 73.123262,21.617027 h 6 v 6 h -6 z"
id="hint-stretch-borders"
inkscape:connector-curvature="0"
style="opacity:1;fill:#5a66da;fill-opacity:1;stroke-width:1" />
<g
id="header-bottom"
class="ColorScheme-ButtonBackground"
style="opacity:1;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal" />
transform="translate(11.688213,-9.9601883)">
<rect
style="opacity:1;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
class="ColorScheme-ButtonBackground"
id="rect1554"
width="24"
height="6"
x="11.509311"
y="57.205666" />
<rect
y="62.205666"
x="11.509311"
height="1"
width="24"
id="rect1548"
class="ColorScheme-ViewHover"
style="opacity:1;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal" />
</g>
<g
id="header-bottomright"
transform="translate(-16.254604,-10.150431)">
<path
style="opacity:0.6;stroke-width:1;fill:none"
inkscape:connector-curvature="0"
id="hint-stretch-borders"
d="m 49.427765,59.823202 h 6 v 6 h -6 z" />
transform="translate(5.3437257,-15.919751)">
<rect
y="59.8232"
x="49.427765"
style="opacity:1;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020013;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
class="ColorScheme-ButtonBackground"
id="rect2668"
width="6"
height="6"
x="41.850292"
y="63.165237" />
<rect
y="63.165237"
x="41.850292"
height="6"
width="5"
id="rect2868"
class="ColorScheme-ButtonBackground"
style="opacity:1;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020013;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal" />
<rect
style="opacity:1;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
class="ColorScheme-ViewHover"
id="rect2670"
width="5"
height="1"
x="41.850292"
y="68.165237" />
</g>
<g
transform="matrix(-1,0,0,1,58.600925,-10.150431)"
transform="matrix(-1,0,0,1,65.044276,-15.919758)"
id="header-bottomleft">
<path
d="m 49.427765,59.823202 h 6 v 6 h -6 z"
id="path2874"
inkscape:connector-curvature="0"
style="opacity:0.6;fill:none;stroke-width:1" />
<rect
y="63.165237"
x="41.850292"
height="6"
width="6"
id="rect2677"
class="ColorScheme-ButtonBackground"
style="opacity:1;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020013;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal" />
<rect
style="opacity:1;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020013;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
class="ColorScheme-ButtonBackground"
id="rect2876"
id="rect2679"
width="5"
height="6"
x="49.427765"
y="59.8232" />
x="41.850292"
y="63.165237" />
<rect
y="68.165237"
x="41.850292"
height="1"
width="5"
id="rect2681"
class="ColorScheme-ViewHover"
style="opacity:1;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal" />
</g>
<rect
transform="scale(1,-1)"
......@@ -267,15 +307,15 @@
id="footer-center"
width="24"
height="24"
x="123.02125"
y="-49.863472" />
x="115.43117"
y="-46.436382" />
<g
transform="matrix(1,0,0,-1,113.8516,75.53625)"
id="footer-bottom">
id="footer-bottom"
transform="matrix(1,0,0,-1,106.26152,72.109162)">
<rect
transform="scale(1,-1)"
style="opacity:1;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.34343219;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
id="rect1569"
id="rect2687"
class="ColorScheme-ButtonBackground"
width="24"
height="5"
......@@ -287,33 +327,33 @@
height="1"
width="24"
class="ColorScheme-ButtonBackground"
id="rect1571"
id="rect2689"
style="opacity:1;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.34343219;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
transform="scale(1,-1)" />
</g>
<g
id="footer-bottomleft"
transform="matrix(1,0,0,-1,135.09108,77.085406)">
transform="matrix(1,0,0,-1,127.501,73.658318)">
<rect
y="21.22193"
x="-18.069853"
height="6"
width="6"
id="rect1575"
id="rect2693"
style="opacity:1;fill:none;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
class="ColorScheme-ButtonBackground"
id="path1577"
id="path2695"
d="m -14.069853,22.22193 c -2.00001,1e-6 -3,0.999991 -3,3 v 2 h 5 v -5 z"
style="opacity:1;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal" />
</g>
<g
transform="rotate(-180,67.4757,38.542699)"
transform="rotate(-180,63.68066,36.829155)"
id="footer-bottomright">
<rect
style="opacity:1;fill:none;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect1581"
id="rect2699"
width="6"
height="6"
x="-18.069853"
......@@ -321,26 +361,26 @@
<path
style="opacity:1;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
d="m -14.069853,22.22193 c -2.00001,1e-6 -3,0.999991 -3,3 v 2 h 5 v -5 z"
id="path1583"
id="path2701"
class="ColorScheme-ButtonBackground"
inkscape:connector-curvature="0" />
</g>
<g
id="footer-right"
transform="matrix(0,-1,-1,0,172.69403,59.03309)">
transform="matrix(0,-1,-1,0,165.10395,55.606001)">
<rect
y="-25.672773"
x="9.1696205"
height="5"
width="24"
class="ColorScheme-ButtonBackground"
id="rect1587"
id="rect2705"
style="opacity:1;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.34343219;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
transform="scale(1,-1)" />
<rect
transform="scale(1,-1)"
style="opacity:1;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.34343219;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
id="rect1589"
id="rect2707"
class="ColorScheme-ButtonBackground"
width="24"
height="1"
......@@ -349,67 +389,100 @@
</g>
<g
id="footer-left"
transform="matrix(0,1,1,0,97.34845,16.693856)">
transform="matrix(0,1,1,0,89.758369,13.266767)">
<rect
y="-25.672773"
x="9.1696205"
height="5"
width="24"
class="ColorScheme-ButtonBackground"
id="rect1593"
id="rect2711"
style="opacity:1;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.34343219;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
transform="scale(1,-1)" />
<rect
transform="scale(1,-1)"
style="opacity:1;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.34343219;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
id="rect1595"
id="rect2713"
class="ColorScheme-ButtonBackground"
width="24"
height="1"
x="9.1696205"
y="-20.672773" />
</g>
<rect
transform="scale(1,-1)"
y="-25.86348"
x="123.02476"
height="6"
width="24"
<g
id="footer-top"
class="ColorScheme-ButtonBackground"
style="opacity:1;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal" />
transform="matrix(1,0,0,-1,103.92537,79.642056)">
<rect
style="opacity:1;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
class="ColorScheme-ButtonBackground"
id="rect2717"
width="24"
height="6"
x="11.509311"
y="57.205666" />
<rect
y="62.205666"
x="11.509311"
height="1"
width="24"
id="rect2719"
class="ColorScheme-ViewHover"
style="opacity:1;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal" />
</g>
<g
id="footer-topright"
transform="matrix(1,0,0,-1,97.596998,85.686681)">
<path
style="opacity:0.6;fill:none;stroke-width:1"
inkscape:connector-curvature="0"
id="path1601"
d="m 49.427765,59.823202 h 6 v 6 h -6 z" />
transform="matrix(1,0,0,-1,97.580885,85.601619)">
<rect
y="59.8232"
x="49.427765"
style="opacity:1;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020013;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
class="ColorScheme-ButtonBackground"
id="rect2723"
width="6"
height="6"
x="41.850292"
y="63.165237" />
<rect
y="63.165237"
x="41.850292"
height="6"
width="5"
id="rect1603"
id="rect2725"
class="ColorScheme-ButtonBackground"
style="opacity:1;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020013;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal" />
<rect
style="opacity:1;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
class="ColorScheme-ViewHover"
id="rect2727"
width="5"
height="1"
x="41.850292"
y="68.165237" />
</g>
<g
transform="rotate(-180,86.226265,42.84334)"
transform="rotate(-180,78.640715,42.800813)"
id="footer-topleft">
<path
d="m 49.427765,59.823202 h 6 v 6 h -6 z"
id="path1607"
inkscape:connector-curvature="0"
style="opacity:0.6;fill:none;stroke-width:1" />
<rect
y="63.165237"
x="41.850292"
height="6"
width="6"
id="rect2731"
class="ColorScheme-ButtonBackground"
style="opacity:1;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020013;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal" />
<rect
style="opacity:1;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020013;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
class="ColorScheme-ButtonBackground"
id="rect1609"
id="rect2733"
width="5"
height="6"
x="49.427765"
y="59.8232" />
x="41.850292"
y="63.165237" />
<rect
y="68.165237"
x="41.850292"
height="1"
width="5"
id="rect2735"
class="ColorScheme-ViewHover"
style="opacity:1;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal" />
</g>
</svg>
This diff is collapsed.
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment