Switch dark/light mode icons

This commit is contained in:
Hadi Nategh 2023-01-10 14:14:23 +01:00
parent 23fd27eb6c
commit d64b3924bc
2 changed files with 17 additions and 17 deletions

View File

@ -8,17 +8,10 @@
stroke-width="2" stroke-width="2"
stroke-linecap="round" stroke-linecap="round"
stroke-linejoin="round" stroke-linejoin="round"
> >
<circle fill="#FFF49C" cx="12" cy="12" r="5"/> <mask id="mask" >
<g stroke="#62686A"> <rect x="0" y="0" width="100%" height="100%" fill="white" />
<line x1="12" y1="1" x2="12" y2="3" /> <circle cx="5" cy="16" r="9" fill="black" />
<line x1="12" y1="21" x2="12" y2="23" /> </mask>
<line x1="4.22" y1="4.22" x2="5.64" y2="5.64" /> <circle fill="#FFF49C" cx="12" cy="12" r="9" mask="url(#mask)" />
<line x1="18.36" y1="18.36" x2="19.78" y2="19.78" />
<line x1="1" y1="12" x2="3" y2="12" />
<line x1="21" y1="12" x2="23" y2="12" />
<line x1="4.22" y1="19.78" x2="5.64" y2="18.36" />
<line x1="18.36" y1="5.64" x2="19.78" y2="4.22" />
</g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 659 B

After

Width:  |  Height:  |  Size: 408 B

View File

@ -8,10 +8,17 @@
stroke-width="2" stroke-width="2"
stroke-linecap="round" stroke-linecap="round"
stroke-linejoin="round" stroke-linejoin="round"
> >
<mask id="mask" > <circle fill="#FFF49C" cx="12" cy="12" r="5"/>
<rect x="0" y="0" width="100%" height="100%" fill="white" /> <g stroke="#62686A">
<circle cx="5" cy="16" r="9" fill="black" /> <line x1="12" y1="1" x2="12" y2="3" />
</mask> <line x1="12" y1="21" x2="12" y2="23" />
<circle fill="#FFF49C" cx="12" cy="12" r="9" mask="url(#mask)" /> <line x1="4.22" y1="4.22" x2="5.64" y2="5.64" />
<line x1="18.36" y1="18.36" x2="19.78" y2="19.78" />
<line x1="1" y1="12" x2="3" y2="12" />
<line x1="21" y1="12" x2="23" y2="12" />
<line x1="4.22" y1="19.78" x2="5.64" y2="18.36" />
<line x1="18.36" y1="5.64" x2="19.78" y2="4.22" />
</g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 408 B

After

Width:  |  Height:  |  Size: 659 B