1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-14 04:51:53 +02:00

Add resolver rating stars as SVGs

This commit is contained in:
Jason Herskowitz 2012-12-06 20:47:13 -05:00
parent afa34f69cd
commit b0c382e0b6
3 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="51px" height="48px" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
<title>star-hover</title>
<description>Created with Sketch (http://www.bohemiancoding.com/sketch)</description>
<defs>
<radialGradient cx="50%" cy="53.4163865%" fx="50%" fy="53.4163865%" r="46.5836138%" id="radialGradient-1">
<stop stop-color="rgb(243,168,50)" offset="0%"></stop>
<stop stop-color="rgb(237,119,51)" offset="100%"></stop>
</radialGradient>
</defs>
<g id="Page 1" fill="rgb(215,215,215)" fill-rule="evenodd">
<g id="Group" fill="rgb(0,0,0)">
<path d="M27.1740112,19.7329712 L25.3780112,14.6189713 L23.5800112,19.7349715 C22.9960113,21.3979715 21.4200112,22.5399716 19.6580113,22.5769715 L14.3020114,22.6839715 L18.5310115,25.8579716 C19.9600115,26.9299716 20.5670115,28.7959715 20.0450115,30.5019716 L18.4870116,35.5979718 L22.9670116,32.5129718 C23.6750116,32.0239718 24.5100116,31.7629718 25.3770117,31.7629718 C26.2440118,31.7629718 27.0790117,32.0239718 27.7910117,32.5159718 L32.2660116,35.5959717 L30.7070116,30.5019718 C30.1850116,28.7979719 30.7920116,26.9319719 32.2180116,25.8589717 L36.4510114,22.6839718 L31.0970113,22.5769718 C29.3330078,22.539978 27.757019,21.3969727 27.1740112,19.7329712 C27.1740112,19.7329712 27.757019,21.3969727 27.1740112,19.7329712 L27.1740112,19.7329712" id="Shape" fill="url(#radialGradient-1)"></path>
<path d="M50.0570068,18.2999878 C49.8940068,17.7929878 49.4260069,17.4449878 48.8930068,17.4339878 L32.0770068,17.0949878 L26.5580068,1.38198751 C26.3820068,0.880987525 25.9090068,0.545987487 25.3780068,0.545987487 C24.8470069,0.545987487 24.3740069,0.880987495 24.1980069,1.38198751 L18.6780069,17.0949878 L1.8620069,17.4339878 C1.32900691,17.4449878 0.861006856,17.7929878 0.698006868,18.2999878 C0.534006864,18.8079878 0.711006869,19.3629878 1.13700688,19.6839877 L14.5290071,29.7319881 L9.66400731,45.6449882 C9.5090073,46.1529882 9.69100731,46.7049881 10.1210073,47.0189881 C10.5490073,47.3309881 11.1310073,47.3419881 11.5680073,47.0399881 L25.3780077,37.5309883 L39.190008,47.0399881 C39.404008,47.1869881 39.652008,47.2609881 39.899008,47.2609881 C40.159008,47.2609881 40.419008,47.1799881 40.638008,47.0189881 C41.067008,46.7059881 41.249008,46.1539881 41.094008,45.6449882 L36.2240081,29.7329885 L49.6180082,19.6849881 C50.0440063,19.3629761 50.2210083,18.8079834 50.0570068,18.2999878 C50.0570068,18.2999878 50.2210083,18.8079834 50.0570068,18.2999878 L50.0570068,18.2999878 M34.0209961,28.2579956 C33.5999961,28.5739956 33.4209961,29.1199956 33.5759961,29.6239957 L37.6529962,42.9459952 L26.0869963,34.9829954 C25.8729963,34.8359954 25.6259963,34.7619954 25.3779963,34.7619954 C25.1299963,34.7619954 24.8829963,34.8349954 24.6689963,34.9829954 L13.1029963,42.9469956 L17.1769962,29.6229953 C17.3309962,29.1199952 17.1529962,28.5739952 16.7319962,28.2579952 L5.53999579,19.8609949 L19.5969959,19.5779949 C20.117996,19.5669949 20.577996,19.2339949 20.750996,18.7419949 L25.3789958,5.56799513 L30.0059956,18.7419949 C30.1789956,19.2339949 30.6389956,19.5669949 31.1599957,19.5779949 L45.2169958,19.8609949 L34.0209961,28.2579956 L34.0209961,28.2579956 L34.0209961,28.2579956" id="Shape" fill="rgb(80,81,80)"></path>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="50px" height="48px" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
<title>star-unstarred</title>
<description>Created with Sketch (http://www.bohemiancoding.com/sketch)</description>
<defs></defs>
<g id="Page 1" fill="rgb(215,215,215)" fill-rule="evenodd">
<path d="M49.9072047,17.9280002 C49.7112047,17.3190002 49.1492047,16.9020002 48.5102048,16.8880002 L31.8672051,16.5530002 L26.4052052,1.00300002 C26.1942052,0.40200001 25.6272052,0 24.9902053,0 C24.3532053,0 23.7862053,0.40200001 23.5752053,1.00300002 L18.1122055,16.5530002 L1.46920585,16.8880002 C0.829205863,16.9020002 0.268205874,17.3190002 0.0722058936,17.9280002 C-0.123794086,18.5370001 0.0882058944,19.2030002 0.599205904,19.5880001 L13.8512058,29.5300005 L9.03720563,45.2750004 C8.85020562,45.8850004 9.07020563,46.5460005 9.58520561,46.9230004 C10.1002056,47.3000004 10.7982057,47.3110004 11.3222056,46.9480004 L24.9902058,37.5370002 L38.6592055,46.9480004 C38.9162055,47.1250004 39.2132055,47.2130004 39.5102055,47.2130004 C39.8222055,47.2130004 40.1332055,47.1160004 40.3972055,46.9230004 C40.9122055,46.5460004 41.1312056,45.8840004 40.9452055,45.2750004 L36.1272057,29.5300005 L49.3812054,19.5880001 C49.8912135,19.2030246 50.1031886,18.537009 49.9072047,17.9280002 C49.9072047,17.9280002 50.1031886,18.537009 49.9072047,17.9280002 L49.9072047,17.9280002 M33.4831935,27.761008 C32.9781935,28.141008 32.7641935,28.796008 32.9491935,29.4000081 L36.8161936,42.0380076 L25.8401938,34.4810074 C25.3281938,34.1270074 24.6511938,34.1270074 24.1391938,34.4810074 L13.163194,42.0390075 L17.0271941,29.4000076 C17.2121941,28.7960076 16.9981941,28.1410076 16.4931941,27.7610075 L5.88119363,19.7990076 L19.212194,19.5300076 C19.8381939,19.5170076 20.3901939,19.1180076 20.5971939,18.5270076 L24.9901941,6.02400735 L29.3821943,18.5270076 C29.5891943,19.1180076 30.1411943,19.5170076 30.7671943,19.5300076 L44.0981946,19.7990076 L33.4831935,27.761008 L33.4831935,27.761008 L33.4831935,27.761008" id="Shape" fill="rgb(80,81,80)"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

17
data/images/starred.svg Normal file
View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="51px" height="48px" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
<title>starred</title>
<description>Created with Sketch (http://www.bohemiancoding.com/sketch)</description>
<defs>
<radialGradient cx="50%" cy="58.0597016%" fx="50%" fy="58.0597016%" r="100%" id="radialGradient-1">
<stop stop-color="rgb(233,105,103)" offset="0%"></stop>
<stop stop-color="rgb(150,44,38)" offset="100%"></stop>
</radialGradient>
</defs>
<g id="Page 1" fill="rgb(215,215,215)" fill-rule="evenodd">
<g id="Group" fill="rgb(0,0,0)">
<path d="M27.1740112,19.7329712 L25.3780112,14.6189713 L23.5800112,19.7349715 C22.9960113,21.3979715 21.4200112,22.5399716 19.6580113,22.5769715 L14.3020114,22.6839715 L18.5310115,25.8579716 C19.9600115,26.9299716 20.5670115,28.7959715 20.0450115,30.5019716 L18.4870116,35.5979718 L22.9670116,32.5129718 C23.6750116,32.0239718 24.5100116,31.7629718 25.3770117,31.7629718 C26.2440118,31.7629718 27.0790117,32.0239718 27.7910117,32.5159718 L32.2660116,35.5959717 L30.7070116,30.5019718 C30.1850116,28.7979719 30.7920116,26.9319719 32.2180116,25.8589717 L36.4510114,22.6839718 L31.0970113,22.5769718 C29.3330078,22.539978 27.757019,21.3969727 27.1740112,19.7329712 C27.1740112,19.7329712 27.757019,21.3969727 27.1740112,19.7329712 L27.1740112,19.7329712" id="Shape" fill="url(#radialGradient-1)"></path>
<path d="M50.0570068,18.2999878 C49.8940068,17.7929878 49.4260069,17.4449878 48.8930068,17.4339878 L32.0770068,17.0949878 L26.5580068,1.38198751 C26.3820068,0.880987525 25.9090068,0.545987487 25.3780068,0.545987487 C24.8470069,0.545987487 24.3740069,0.880987495 24.1980069,1.38198751 L18.6780069,17.0949878 L1.8620069,17.4339878 C1.32900691,17.4449878 0.861006856,17.7929878 0.698006868,18.2999878 C0.534006864,18.8079878 0.711006869,19.3629878 1.13700688,19.6839877 L14.5290071,29.7319881 L9.66400731,45.6449882 C9.5090073,46.1529882 9.69100731,46.7049881 10.1210073,47.0189881 C10.5490073,47.3309881 11.1310073,47.3419881 11.5680073,47.0399881 L25.3780077,37.5309883 L39.190008,47.0399881 C39.404008,47.1869881 39.652008,47.2609881 39.899008,47.2609881 C40.159008,47.2609881 40.419008,47.1799881 40.638008,47.0189881 C41.067008,46.7059881 41.249008,46.1539881 41.094008,45.6449882 L36.2240081,29.7329885 L49.6180082,19.6849881 C50.0440063,19.3629761 50.2210083,18.8079834 50.0570068,18.2999878 C50.0570068,18.2999878 50.2210083,18.8079834 50.0570068,18.2999878 L50.0570068,18.2999878 M34.0209961,28.2579956 C33.5999961,28.5739956 33.4209961,29.1199956 33.5759961,29.6239957 L37.6529962,42.9459952 L26.0869963,34.9829954 C25.8729963,34.8359954 25.6259963,34.7619954 25.3779963,34.7619954 C25.1299963,34.7619954 24.8829963,34.8349954 24.6689963,34.9829954 L13.1029963,42.9469956 L17.1769962,29.6229953 C17.3309962,29.1199952 17.1529962,28.5739952 16.7319962,28.2579952 L5.53999579,19.8609949 L19.5969959,19.5779949 C20.117996,19.5669949 20.577996,19.2339949 20.750996,18.7419949 L25.3789958,5.56799513 L30.0059956,18.7419949 C30.1789956,19.2339949 30.6389956,19.5669949 31.1599957,19.5779949 L45.2169958,19.8609949 L34.0209961,28.2579956 L34.0209961,28.2579956 L34.0209961,28.2579956" id="Shape" fill="rgb(80,81,80)"></path>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.3 KiB