Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
vanvianen committed Jan 3, 2024
1 parent 094a600 commit 0bd206f
Show file tree
Hide file tree
Showing 26 changed files with 317 additions and 1,159 deletions.
100 changes: 100 additions & 0 deletions dist/css/icon.gl.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/css/icon.gl.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dist/css/icon.gl.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/css/icon.gl.min.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

154 changes: 77 additions & 77 deletions dist/scss/_size.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,92 +70,92 @@ $igl_sizes: (
// .icon-round-medium {border-radius: 100%; display: table-cell; height: 90px; margin: 0 auto; text-align: center; vertical-align: middle; width: 90px;}


@mixin icon_size_00 {
@include icon;
@include box_size_00;
svg { @include box_size_00; }
img { @include box_size_00; }
}
// @mixin icon_size_00 {
// @include icon;
// @include box_size_00;
// svg { @include box_size_00; }
// img { @include box_size_00; }
// }

@mixin icon_size_01 {
@include icon;
@include box_size_01;
svg { @include box_size_01; }
img { @include box_size_01; }
}
// @mixin icon_size_01 {
// @include icon;
// @include box_size_01;
// svg { @include box_size_01; }
// img { @include box_size_01; }
// }

@mixin icon_size_02 {
@include icon;
@include box_size_02;
svg { @include box_size_02; }
img { @include box_size_02; }
}
// @mixin icon_size_02 {
// @include icon;
// @include box_size_02;
// svg { @include box_size_02; }
// img { @include box_size_02; }
// }

@mixin icon_size_03 {
@include icon;
@include box_size_03;
svg { @include box_size_03; }
img { @include box_size_03; }
}
// @mixin icon_size_03 {
// @include icon;
// @include box_size_03;
// svg { @include box_size_03; }
// img { @include box_size_03; }
// }

@mixin icon_size_04 {
@include icon;
@include box_size_04;
svg { @include box_size_04; }
img { @include box_size_04; }
}
// @mixin icon_size_04 {
// @include icon;
// @include box_size_04;
// svg { @include box_size_04; }
// img { @include box_size_04; }
// }

@mixin icon_size_05 {
@include icon;
@include box_size_05;
svg { @include box_size_05; }
img { @include box_size_05; }
}
// @mixin icon_size_05 {
// @include icon;
// @include box_size_05;
// svg { @include box_size_05; }
// img { @include box_size_05; }
// }

@mixin icon_size_06 {
@include icon;
@include box_size_06;
svg { @include box_size_06; }
img { @include box_size_06; }
}
// @mixin icon_size_06 {
// @include icon;
// @include box_size_06;
// svg { @include box_size_06; }
// img { @include box_size_06; }
// }

@mixin icon_size_07 {
@include icon;
@include box_size_07;
svg { @include box_size_07; }
img { @include box_size_07; }
}
// @mixin icon_size_07 {
// @include icon;
// @include box_size_07;
// svg { @include box_size_07; }
// img { @include box_size_07; }
// }

@mixin icon_size_08 {
@include icon;
@include box_size_08;
svg { @include box_size_08; }
img { @include box_size_08; }
}
// @mixin icon_size_08 {
// @include icon;
// @include box_size_08;
// svg { @include box_size_08; }
// img { @include box_size_08; }
// }

@mixin icon_size_09 {
@include icon;
@include box_size_09;
svg { @include box_size_09; }
img { @include box_size_09; }
}
// @mixin icon_size_09 {
// @include icon;
// @include box_size_09;
// svg { @include box_size_09; }
// img { @include box_size_09; }
// }

@mixin icon_size_10 {
@include icon;
@include box_size_10;
svg { @include box_size_10; }
img { @include box_size_10; }
}
// @mixin icon_size_10 {
// @include icon;
// @include box_size_10;
// svg { @include box_size_10; }
// img { @include box_size_10; }
// }


.icon_size_00 { @include icon_size_00; }
.icon_size_01 { @include icon_size_01; }
.icon_size_02 { @include icon_size_02; }
.icon_size_03 { @include icon_size_03; }
.icon_size_04 { @include icon_size_04; }
.icon_size_05 { @include icon_size_05; }
.icon_size_06 { @include icon_size_06; }
.icon_size_07 { @include icon_size_07; }
.icon_size_08 { @include icon_size_08; }
.icon_size_09 { @include icon_size_09; }
.icon_size_10 { @include icon_size_10; }
// .icon_size_00 { @include icon_size_00; }
// .icon_size_01 { @include icon_size_01; }
// .icon_size_02 { @include icon_size_02; }
// .icon_size_03 { @include icon_size_03; }
// .icon_size_04 { @include icon_size_04; }
// .icon_size_05 { @include icon_size_05; }
// .icon_size_06 { @include icon_size_06; }
// .icon_size_07 { @include icon_size_07; }
// .icon_size_08 { @include icon_size_08; }
// .icon_size_09 { @include icon_size_09; }
// .icon_size_10 { @include icon_size_10; }
3 changes: 3 additions & 0 deletions dist/ts/icons/admin.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export const icon_admin = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="igl igl-admin" viewBox="0 0 16 16">
<path d="m14.58 4.26-.38-.62A5.502 5.502 0 0 0 4.15 5.23l-.19.82L3.12 6C2 5.94 1 6.87 1 8s.89 2 2 2h2c0 .34.03.68.1 1H3c-1.66 0-3-1.34-3-3s1.48-3.09 3.17-3c.68-2.86 3.26-5 6.33-5 2.35 0 4.41 1.25 5.55 3.11C17.51 2.51 20 4.44 20 7c0 2.21-1.79 4-4 4h-1.1c.07-.32.1-.66.1-1h1c1.66 0 3-1.34 3-3 0-1.91-1.88-3.36-3.71-2.91zM8 18v-4.54A4 4 0 0 1 6 10c0-2.21 1.79-4 4-4a3.999 3.999 0 0 1 2 7.46V14c0 .27-.1.52-.29.71l-.29.29.29.29c.39.39.39 1.03 0 1.42l-.29.29.29.29c.19.2.29.45.29.71s-.1.51-.29.71l-1 1a.996.996 0 0 1-1.41 0l-1-1a.99.99 0 0 1-.29-.71Zm1-5.17V18l1 1 1-1-1-1 1-1-1-1 1-1v-1.17c1.16-.41 2-1.52 2-2.83 0-1.66-1.34-3-3-3s-3 1.34-3 3c0 1.31.83 2.42 2 2.83M8 10c0-1.1.89-2 2-2s2 .9 2 2-.89 2-2 2-2-.9-2-2m2-1c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1" style="fill-rule:evenodd"/>
</svg>`;
3 changes: 3 additions & 0 deletions dist/ts/icons/api.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export const icon_api = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="igl igl-api" viewBox="0 0 16 16">
<path d="M14.58 8a5.03 5.03 0 0 1-2.67 2.62c.41-.69.73-1.59.92-2.62h1.76Zm.32-1h-1.94c.03-.33.04-.66.04-1s-.01-.67-.04-1h1.94c.07.32.1.66.1 1s-.03.68-.1 1m-2.94 0c.03-.32.05-.66.05-1s-.02-.68-.05-1H8.05c-.03.32-.05.66-.05 1s.02.68.05 1zM7.05 7c-.03-.33-.04-.66-.04-1s.01-.67.04-1H5.11c-.07.32-.1.66-.1 1s.03.68.1 1zM5.43 8h1.76c.18 1.03.5 1.94.91 2.62A5.065 5.065 0 0 1 5.43 8M8.2 8h3.62c-.14.69-.34 1.31-.58 1.8-.49.98-.98 1.2-1.23 1.2s-.74-.23-1.23-1.2c-.24-.49-.45-1.1-.59-1.8Zm6.4-4h-1.76c-.18-1.03-.5-1.94-.92-2.62A5.03 5.03 0 0 1 14.59 4ZM8.79 2.21c-.24.49-.45 1.1-.59 1.79h3.62c-.14-.69-.34-1.31-.58-1.79-.49-.98-.98-1.21-1.23-1.21s-.74.22-1.23 1.21Zm-.69-.83c-.41.69-.73 1.59-.91 2.62H5.43A5.03 5.03 0 0 1 8.1 1.38m7.15 7.56C14.22 10.77 12.26 12 10.02 12s-4.2-1.23-5.23-3.06l-1.77 1.77V12h-1v-1.5c0-.13.05-.26.15-.35l2.18-2.18c-.21-.61-.33-1.28-.33-1.96C4 2.69 6.69 0 10 0s6 2.69 6 6c0 .69-.12 1.35-.33 1.96l2.18 2.18c.09.09.15.22.15.35v1.5h-1V10.7l-1.77-1.77ZM5 14.5c0-.28-.22-.5-.5-.5h-3c-.28 0-.5.22-.5.5v2c0 .28.22.5.5.5h3c.28 0 .5-.22.5-.5zM1.5 13c-.83 0-1.5.67-1.5 1.5v2c0 .83.67 1.5 1.5 1.5h3c.83 0 1.5-.67 1.5-1.5v-2c0-.83-.67-1.5-1.5-1.5zM12 14.5c0-.28-.22-.5-.5-.5h-3c-.28 0-.5.22-.5.5v2c0 .28.22.5.5.5h3c.28 0 .5-.22.5-.5zM8.5 13c-.83 0-1.5.67-1.5 1.5v2c0 .83.67 1.5 1.5 1.5h3c.83 0 1.5-.67 1.5-1.5v-2c0-.83-.67-1.5-1.5-1.5zM19 14.5c0-.28-.22-.5-.5-.5h-3c-.28 0-.5.22-.5.5v2c0 .28.22.5.5.5h3c.28 0 .5-.22.5-.5zM15.5 13c-.83 0-1.5.67-1.5 1.5v2c0 .83.67 1.5 1.5 1.5h3c.83 0 1.5-.67 1.5-1.5v-2c0-.83-.67-1.5-1.5-1.5zm-14 6c-.28 0-.5.22-.5.5s.22.5.5.5h3c.28 0 .5-.22.5-.5s-.22-.5-.5-.5zm6.5.5c0-.28.22-.5.5-.5h3c.28 0 .5.22.5.5s-.22.5-.5.5h-3c-.28 0-.5-.22-.5-.5m7.5-.5c-.28 0-.5.22-.5.5s.22.5.5.5h3c.28 0 .5-.22.5-.5s-.22-.5-.5-.5z" class="b"/>
</svg>`;
5 changes: 5 additions & 0 deletions dist/ts/icons/home.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export const icon_home = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="igl igl-home" viewBox="0 0 16 16">
<path d="M13.5 0c-.28 0-.5.22-.5.5v2c0 .28.22.5.5.5s.5-.22.5-.5v-2c0-.28-.22-.5-.5-.5M17 6.5c0 .28.22.5.5.5h2c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-2c-.28 0-.5.22-.5.5M8.9 2.61c-.2-.19-.2-.51 0-.71.19-.19.51-.19.71 0l1.41 1.41c.19.19.19.51 0 .71-.2.19-.51.19-.71 0zm7.07 6.37c-.2.19-.2.51 0 .71l1.41 1.41c.19.19.51.19.71 0 .19-.19.19-.51 0-.71l-1.41-1.41a.513.513 0 0 0-.71 0m.71-4.96c-.19.19-.51.19-.71 0s-.19-.51 0-.71l1.41-1.41c.2-.19.51-.19.71 0 .2.19.2.51 0 .71zM16 6.5c0 .85-.43 1.61-1.08 2.06l-.73-.73a1.499 1.499 0 1 0-2.02-2.02l-.73-.73A2.5 2.5 0 0 1 16 6.5"/>
<path d="M5 14c0-.55.45-1 1-1h4c.55 0 1 .45 1 1v3c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1zm1 0h4v3H6z" class="b"/>
<path d="m9.22 4.51 6.66 6.74c.27.28.08.75-.3.75h-.57v7c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1v-7H.43c-.38 0-.58-.47-.3-.75l.87-.88V6c0-.55.45-1 1-1h1c.55 0 1 .45 1 1v1.33l2.78-2.82c.67-.68 1.76-.68 2.43 0ZM2 12v7h12v-7zm0-6v3.36l1-1.01V6.01H2Zm6.51-.79L14.22 11H1.78l5.71-5.79c.28-.28.73-.28 1.01 0Z" class="b"/>
</svg>`;
7 changes: 7 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"html-webpack-plugin": "^5.5.3",
"lodash": "^4.17.21",
"mini-css-extract-plugin": "^2.7.6",
"pack.gl": "^0.0.9",
"postcss-loader": "^7.3.3",
"postcss-preset-env": "^9.1.2",
"prettier": "^3.0.3",
Expand Down
22 changes: 3 additions & 19 deletions script/js/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0bd206f

Please sign in to comment.