chore: Fix folders opacity and generator
|
@ -18,7 +18,7 @@ let variants: IGenericObject<string> = {
|
|||
}
|
||||
|
||||
function writeIconVariant(filepath: string, destpath: string, colour: string): void {
|
||||
let regexp = new RegExp('.st0\{opacity:.16;fill:(#[a-zA-Z0-9]{3,6})')
|
||||
let regexp = new RegExp('.st0\{fill:(#[a-zA-Z0-9]{3,6})')
|
||||
|
||||
filepath = path.join(process.cwd(), PATHS.ICONS, filepath);
|
||||
destpath = path.join(process.cwd(), PATHS.ICONS, destpath);
|
||||
|
|
|
@ -1 +1 @@
|
|||
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{opacity:.16;fill:#fff;enable-background:new}.st1{fill:#f78c6c}</style><path class="st0" d="M17.8 10.1l5.2 2.3v-5c0-1.2-1-2.2-2.2-2.2H12L9.8 3H3.2C2 3 1 4 1 5.2v13.6c0 1.2 1 2.2 2.2 2h8.3v-7.9l6.3-2.8z"/><path class="st1" d="M23 12.4l-5.2-2.3-6.2 2.8v8.3l6.2 2.8 6.2-2.8v-8.3l-1-.5zm-5.2-1.2l4.5 2-4.5 2-4.5-2 4.5-2zm-.6 11.4l-4.1-1.8-.6-.3v-6.6l4.8 2.1v6.6zm5.8-4v1.9l-4.8 2.1v-6.5L23 14v4.6z"/></svg>
|
||||
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{fill:#4a616c;enable-background:new}.st1{fill:#f78c6c}</style><path class="st0" d="M17.8 10.1l5.2 2.3v-5c0-1.2-1-2.2-2.2-2.2H12L9.8 3H3.2C2 3 1 4 1 5.2v13.6c0 1.2 1 2.2 2.2 2h8.3v-7.9l6.3-2.8z"/><path class="st1" d="M23 12.4l-5.2-2.3-6.2 2.8v8.3l6.2 2.8 6.2-2.8v-8.3l-1-.5zm-5.2-1.2l4.5 2-4.5 2-4.5-2 4.5-2zm-.6 11.4l-4.1-1.8-.6-.3v-6.6l4.8 2.1v6.6zm5.8-4v1.9l-4.8 2.1v-6.5L23 14v4.6z"/></svg>
|
Before Width: | Height: | Size: 486 B After Width: | Height: | Size: 477 B |
|
@ -1 +1 @@
|
|||
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{opacity:.16;fill:#424242;enable-background:new}.st1{fill:#f78c6c}</style><path class="st0" d="M17.8 10.1l5.2 2.3v-5c0-1.2-1-2.2-2.2-2.2H12L9.8 3H3.2C2 3 1 4 1 5.2v13.6c0 1.2 1 2.2 2.2 2h8.3v-7.9l6.3-2.8z"/><path class="st1" d="M23 12.4l-5.2-2.3-6.2 2.8v8.3l6.2 2.8 6.2-2.8v-8.3l-1-.5zm-5.2-1.2l4.5 2-4.5 2-4.5-2 4.5-2zm-.6 11.4l-4.1-1.8-.6-.3v-6.6l4.8 2.1v6.6zm5.8-4v1.9l-4.8 2.1v-6.5L23 14v4.6z"/></svg>
|
||||
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{fill:#424242;enable-background:new}.st1{fill:#f78c6c}</style><path class="st0" d="M17.8 10.1l5.2 2.3v-5c0-1.2-1-2.2-2.2-2.2H12L9.8 3H3.2C2 3 1 4 1 5.2v13.6c0 1.2 1 2.2 2.2 2h8.3v-7.9l6.3-2.8z"/><path class="st1" d="M23 12.4l-5.2-2.3-6.2 2.8v8.3l6.2 2.8 6.2-2.8v-8.3l-1-.5zm-5.2-1.2l4.5 2-4.5 2-4.5-2 4.5-2zm-.6 11.4l-4.1-1.8-.6-.3v-6.6l4.8 2.1v6.6zm5.8-4v1.9l-4.8 2.1v-6.5L23 14v4.6z"/></svg>
|
Before Width: | Height: | Size: 489 B After Width: | Height: | Size: 477 B |
|
@ -1 +1 @@
|
|||
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{opacity:.16;fill:#4A616C;enable-background:new}.st1{fill:#f78c6c}</style><path class="st0" d="M17.8 10.1l5.2 2.3v-5c0-1.2-1-2.2-2.2-2.2H12L9.8 3H3.2C2 3 1 4 1 5.2v13.6c0 1.2 1 2.2 2.2 2h8.3v-7.9l6.3-2.8z"/><path class="st1" d="M23 12.4l-5.2-2.3-6.2 2.8v8.3l6.2 2.8 6.2-2.8v-8.3l-1-.5zm-5.2-1.2l4.5 2-4.5 2-4.5-2 4.5-2zm-.6 11.4l-4.1-1.8-.6-.3v-6.6l4.8 2.1v6.6zm5.8-4v1.9l-4.8 2.1v-6.5L23 14v4.6z"/></svg>
|
||||
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{fill:#4A616C;enable-background:new}.st1{fill:#f78c6c}</style><path class="st0" d="M17.8 10.1l5.2 2.3v-5c0-1.2-1-2.2-2.2-2.2H12L9.8 3H3.2C2 3 1 4 1 5.2v13.6c0 1.2 1 2.2 2.2 2h8.3v-7.9l6.3-2.8z"/><path class="st1" d="M23 12.4l-5.2-2.3-6.2 2.8v8.3l6.2 2.8 6.2-2.8v-8.3l-1-.5zm-5.2-1.2l4.5 2-4.5 2-4.5-2 4.5-2zm-.6 11.4l-4.1-1.8-.6-.3v-6.6l4.8 2.1v6.6zm5.8-4v1.9l-4.8 2.1v-6.5L23 14v4.6z"/></svg>
|
Before Width: | Height: | Size: 489 B After Width: | Height: | Size: 477 B |
|
@ -1 +1 @@
|
|||
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{opacity:.16;fill:#90A4AE;enable-background:new}.st1{fill:#f78c6c}</style><path class="st0" d="M17.8 10.1l5.2 2.3v-5c0-1.2-1-2.2-2.2-2.2H12L9.8 3H3.2C2 3 1 4 1 5.2v13.6c0 1.2 1 2.2 2.2 2h8.3v-7.9l6.3-2.8z"/><path class="st1" d="M23 12.4l-5.2-2.3-6.2 2.8v8.3l6.2 2.8 6.2-2.8v-8.3l-1-.5zm-5.2-1.2l4.5 2-4.5 2-4.5-2 4.5-2zm-.6 11.4l-4.1-1.8-.6-.3v-6.6l4.8 2.1v6.6zm5.8-4v1.9l-4.8 2.1v-6.5L23 14v4.6z"/></svg>
|
||||
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{fill:#90A4AE;enable-background:new}.st1{fill:#f78c6c}</style><path class="st0" d="M17.8 10.1l5.2 2.3v-5c0-1.2-1-2.2-2.2-2.2H12L9.8 3H3.2C2 3 1 4 1 5.2v13.6c0 1.2 1 2.2 2.2 2h8.3v-7.9l6.3-2.8z"/><path class="st1" d="M23 12.4l-5.2-2.3-6.2 2.8v8.3l6.2 2.8 6.2-2.8v-8.3l-1-.5zm-5.2-1.2l4.5 2-4.5 2-4.5-2 4.5-2zm-.6 11.4l-4.1-1.8-.6-.3v-6.6l4.8 2.1v6.6zm5.8-4v1.9l-4.8 2.1v-6.5L23 14v4.6z"/></svg>
|
Before Width: | Height: | Size: 489 B After Width: | Height: | Size: 477 B |
|
@ -1 +1 @@
|
|||
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{opacity:.16;fill:#4E5579;enable-background:new}.st1{fill:#f78c6c}</style><path class="st0" d="M17.8 10.1l5.2 2.3v-5c0-1.2-1-2.2-2.2-2.2H12L9.8 3H3.2C2 3 1 4 1 5.2v13.6c0 1.2 1 2.2 2.2 2h8.3v-7.9l6.3-2.8z"/><path class="st1" d="M23 12.4l-5.2-2.3-6.2 2.8v8.3l6.2 2.8 6.2-2.8v-8.3l-1-.5zm-5.2-1.2l4.5 2-4.5 2-4.5-2 4.5-2zm-.6 11.4l-4.1-1.8-.6-.3v-6.6l4.8 2.1v6.6zm5.8-4v1.9l-4.8 2.1v-6.5L23 14v4.6z"/></svg>
|
||||
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{fill:#4E5579;enable-background:new}.st1{fill:#f78c6c}</style><path class="st0" d="M17.8 10.1l5.2 2.3v-5c0-1.2-1-2.2-2.2-2.2H12L9.8 3H3.2C2 3 1 4 1 5.2v13.6c0 1.2 1 2.2 2.2 2h8.3v-7.9l6.3-2.8z"/><path class="st1" d="M23 12.4l-5.2-2.3-6.2 2.8v8.3l6.2 2.8 6.2-2.8v-8.3l-1-.5zm-5.2-1.2l4.5 2-4.5 2-4.5-2 4.5-2zm-.6 11.4l-4.1-1.8-.6-.3v-6.6l4.8 2.1v6.6zm5.8-4v1.9l-4.8 2.1v-6.5L23 14v4.6z"/></svg>
|
Before Width: | Height: | Size: 489 B After Width: | Height: | Size: 477 B |
|
@ -1 +1 @@
|
|||
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{opacity:.16;fill:#fff;enable-background:new}</style><path class="st0" d="M9.8 3L12 5.2h8.8c1.2 0 2.2 1 2.2 2.2v11.2c0 1.2-1 2.2-2.2 2.2H3.2C2 21 1 20 1 18.8V5.2C1 4 2 3 3.2 3h6.6z"/></svg>
|
||||
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{fill:#4a616c;enable-background:new}</style><path class="st0" d="M9.8 3L12 5.2h8.8c1.2 0 2.2 1 2.2 2.2v11.2c0 1.2-1 2.2-2.2 2.2H3.2C2 21 1 20 1 18.8V5.2C1 4 2 3 3.2 3h6.6z"/></svg>
|
Before Width: | Height: | Size: 273 B After Width: | Height: | Size: 264 B |
|
@ -1 +1 @@
|
|||
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{opacity:.16;fill:#424242;enable-background:new}</style><path class="st0" d="M9.8 3L12 5.2h8.8c1.2 0 2.2 1 2.2 2.2v11.2c0 1.2-1 2.2-2.2 2.2H3.2C2 21 1 20 1 18.8V5.2C1 4 2 3 3.2 3h6.6z"/></svg>
|
||||
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{fill:#424242;enable-background:new}</style><path class="st0" d="M9.8 3L12 5.2h8.8c1.2 0 2.2 1 2.2 2.2v11.2c0 1.2-1 2.2-2.2 2.2H3.2C2 21 1 20 1 18.8V5.2C1 4 2 3 3.2 3h6.6z"/></svg>
|
Before Width: | Height: | Size: 276 B After Width: | Height: | Size: 264 B |
|
@ -1 +1 @@
|
|||
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{opacity:.16;fill:#4A616C;enable-background:new}</style><path class="st0" d="M9.8 3L12 5.2h8.8c1.2 0 2.2 1 2.2 2.2v11.2c0 1.2-1 2.2-2.2 2.2H3.2C2 21 1 20 1 18.8V5.2C1 4 2 3 3.2 3h6.6z"/></svg>
|
||||
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{fill:#4A616C;enable-background:new}</style><path class="st0" d="M9.8 3L12 5.2h8.8c1.2 0 2.2 1 2.2 2.2v11.2c0 1.2-1 2.2-2.2 2.2H3.2C2 21 1 20 1 18.8V5.2C1 4 2 3 3.2 3h6.6z"/></svg>
|
Before Width: | Height: | Size: 276 B After Width: | Height: | Size: 264 B |
|
@ -1 +1 @@
|
|||
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{opacity:.16;fill:#90A4AE;enable-background:new}</style><path class="st0" d="M9.8 3L12 5.2h8.8c1.2 0 2.2 1 2.2 2.2v11.2c0 1.2-1 2.2-2.2 2.2H3.2C2 21 1 20 1 18.8V5.2C1 4 2 3 3.2 3h6.6z"/></svg>
|
||||
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{fill:#90A4AE;enable-background:new}</style><path class="st0" d="M9.8 3L12 5.2h8.8c1.2 0 2.2 1 2.2 2.2v11.2c0 1.2-1 2.2-2.2 2.2H3.2C2 21 1 20 1 18.8V5.2C1 4 2 3 3.2 3h6.6z"/></svg>
|
Before Width: | Height: | Size: 276 B After Width: | Height: | Size: 264 B |
|
@ -1 +1 @@
|
|||
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{opacity:.16;fill:#4E5579;enable-background:new}</style><path class="st0" d="M9.8 3L12 5.2h8.8c1.2 0 2.2 1 2.2 2.2v11.2c0 1.2-1 2.2-2.2 2.2H3.2C2 21 1 20 1 18.8V5.2C1 4 2 3 3.2 3h6.6z"/></svg>
|
||||
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{fill:#4E5579;enable-background:new}</style><path class="st0" d="M9.8 3L12 5.2h8.8c1.2 0 2.2 1 2.2 2.2v11.2c0 1.2-1 2.2-2.2 2.2H3.2C2 21 1 20 1 18.8V5.2C1 4 2 3 3.2 3h6.6z"/></svg>
|
Before Width: | Height: | Size: 276 B After Width: | Height: | Size: 264 B |
|
@ -3,7 +3,7 @@
|
|||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:#FFFFFF;enable-background:new ;}
|
||||
.st0{fill:#4A616C;enable-background:new ;}
|
||||
.st1{fill:#F78C6C;}
|
||||
</style>
|
||||
<g>
|
||||
|
|
Before Width: | Height: | Size: 835 B After Width: | Height: | Size: 835 B |
|
@ -3,7 +3,7 @@
|
|||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:#FFFFFF;enable-background:new ;}
|
||||
.st0{fill:#4A616C;enable-background:new ;}
|
||||
</style>
|
||||
<path class="st0" d="M9.8,3L12,5.2h8.8c1.2,0,2.2,1,2.2,2.2v11.2c0,1.2-1,2.2-2.2,2.2H3.2C2,21,1,20,1,18.8V5.2C1,4,2,3,3.2,3H9.8z"
|
||||
/>
|
||||
|
|
Before Width: | Height: | Size: 565 B After Width: | Height: | Size: 565 B |