🪄 Three.js Dark/Light Variants

This commit is contained in:
Mehdi Dara 2024-01-13 13:42:38 +03:30
parent 973ff39ba3
commit 0c9ca6024d
4 changed files with 7 additions and 43 deletions

View File

@ -938,9 +938,12 @@ export const svgs: iSVG[] = [
url: 'https://www.eclipse.org/' url: 'https://www.eclipse.org/'
}, },
{ {
title: 'Threejs', title: 'Three.js',
category: 'Library', category: 'Library',
route: '/library/threejs.svg', route: {
light: '/library/threejs-light.svg',
dark: '/library/threejs-dark.svg'
},
url: 'https://threejs.org/' url: 'https://threejs.org/'
}, },
{ {

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="#FFF" d="M.38 0a.268.268 0 0 0-.256.332l2.894 11.716a.268.268 0 0 0 .01.04l2.89 11.708a.268.268 0 0 0 .447.128L23.802 7.15a.268.268 0 0 0-.112-.45l-5.784-1.667a.268.268 0 0 0-.123-.035L6.38 1.715a.268.268 0 0 0-.144-.04L.456.01A.268.268 0 0 0 .38 0zm.374.654L5.71 2.08 1.99 5.664zM6.61 2.34l4.864 1.4-3.65 3.515zm-.522.12l1.217 4.926-4.877-1.4zm6.28 1.538l4.878 1.404-3.662 3.53zm-.52.13l1.208 4.9-4.853-1.392zm6.3 1.534l4.947 1.424-3.715 3.574zm-.524.12l1.215 4.926-4.876-1.398zm-15.432.696l4.964 1.424-3.726 3.586zM8.047 8.15l4.877 1.4-3.66 3.527zm-.518.137l1.236 5.017-4.963-1.432zm6.274 1.535l4.965 1.425-3.73 3.586zm-.52.127l1.235 5.012-4.958-1.43zm-9.63 2.438l4.873 1.406-3.656 3.523zm5.854 1.687l4.863 1.403-3.648 3.51zm-.54.04l1.214 4.927-4.875-1.4zm-3.896 4.02l5.037 1.442-3.782 3.638z"/></svg>

After

Width:  |  Height:  |  Size: 886 B

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="#000" d="M.38 0a.268.268 0 0 0-.256.332l2.894 11.716a.268.268 0 0 0 .01.04l2.89 11.708a.268.268 0 0 0 .447.128L23.802 7.15a.268.268 0 0 0-.112-.45l-5.784-1.667a.268.268 0 0 0-.123-.035L6.38 1.715a.268.268 0 0 0-.144-.04L.456.01A.268.268 0 0 0 .38 0zm.374.654L5.71 2.08 1.99 5.664zM6.61 2.34l4.864 1.4-3.65 3.515zm-.522.12l1.217 4.926-4.877-1.4zm6.28 1.538l4.878 1.404-3.662 3.53zm-.52.13l1.208 4.9-4.853-1.392zm6.3 1.534l4.947 1.424-3.715 3.574zm-.524.12l1.215 4.926-4.876-1.398zm-15.432.696l4.964 1.424-3.726 3.586zM8.047 8.15l4.877 1.4-3.66 3.527zm-.518.137l1.236 5.017-4.963-1.432zm6.274 1.535l4.965 1.425-3.73 3.586zm-.52.127l1.235 5.012-4.958-1.43zm-9.63 2.438l4.873 1.406-3.656 3.523zm5.854 1.687l4.863 1.403-3.648 3.51zm-.54.04l1.214 4.927-4.875-1.4zm-3.896 4.02l5.037 1.442-3.782 3.638z"/></svg>

After

Width:  |  Height:  |  Size: 886 B

View File

@ -1,41 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 640 640" style="enable-background:new 0 0 640 640;" xml:space="preserve">
<style type="text/css">
.st0{fill:#FFFFFF;}
.st1{fill:#FFFFFF;stroke:#000000;stroke-width:7;stroke-miterlimit:10;}
.st2{fill:none;stroke:#000000;stroke-width:7;stroke-miterlimit:10;}
</style>
<polyline class="st0" points="171.7,621.7 20,18.4 620,186.9 "/>
<g>
<line class="st1" x1="245.8" y1="362.4" x2="283.7" y2="513.3"/>
<line class="st1" x1="395.5" y1="404.8" x2="245.8" y2="362.4"/>
<line class="st1" x1="283.7" y1="513.3" x2="395.5" y2="404.8"/>
<path class="st1" d="M134,470.9"/>
<line class="st1" x1="283.7" y1="513.3" x2="134" y2="470.9"/>
<path class="st1" d="M134,470.9"/>
<polyline class="st2" points="134,470.9 171.9,621.9 283.7,513.3 "/>
<line class="st1" x1="134" y1="470.9" x2="245.8" y2="362.4"/>
<line class="st1" x1="245.8" y1="362.4" x2="357.7" y2="253.8"/>
<line class="st1" x1="357.7" y1="253.8" x2="469.5" y2="145.3"/>
<line class="st1" x1="319.8" y1="102.9" x2="357.7" y2="253.8"/>
<line class="st1" x1="357.7" y1="253.8" x2="207.9" y2="211.5"/>
<line class="st1" x1="207.9" y1="211.5" x2="245.8" y2="362.4"/>
<line class="st1" x1="245.8" y1="362.4" x2="96.1" y2="320"/>
<line class="st1" x1="96.1" y1="320" x2="134" y2="470.9"/>
<line class="st1" x1="58.2" y1="169.1" x2="96.1" y2="320"/>
<line class="st1" x1="207.9" y1="211.5" x2="58.2" y2="169.1"/>
<line class="st1" x1="96.1" y1="320" x2="207.9" y2="211.5"/>
<line class="st1" x1="207.9" y1="211.4" x2="319.8" y2="102.9"/>
<line class="st1" x1="319.8" y1="102.9" x2="170" y2="60.5"/>
<line class="st1" x1="170" y1="60.5" x2="207.9" y2="211.4"/>
<polyline class="st2" points="58.2,169.1 20.3,18.1 170,60.5 "/>
<line class="st1" x1="58.2" y1="169.1" x2="170" y2="60.5"/>
<polyline class="st2" points="507.4,296.2 619.2,187.7 469.5,145.3 "/>
<line class="st1" x1="469.5" y1="145.3" x2="507.4" y2="296.2"/>
<line class="st1" x1="507.4" y1="296.2" x2="357.7" y2="253.8"/>
<line class="st1" x1="357.7" y1="253.8" x2="395.5" y2="404.8"/>
<line class="st1" x1="395.5" y1="404.8" x2="507.4" y2="296.2"/>
<line class="st1" x1="469.5" y1="145.3" x2="319.8" y2="102.9"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.4 KiB