Skip to content

Commit

Permalink
fix size
Browse files Browse the repository at this point in the history
  • Loading branch information
andronasef committed Oct 14, 2022
1 parent 5aceb85 commit 56061d6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 43 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
- name: Building Icons
run: node generator/gen.js

- name: Exporting Icons
run: node generator/export.js
# - name: Exporting Icons
# run: node generator/export.js

- name: Formating the Package
run: flutter format .
Expand Down
30 changes: 0 additions & 30 deletions example/test/widget_test.dart

This file was deleted.

7 changes: 2 additions & 5 deletions generator/gen.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,8 @@ import { promises as fs } from 'fs';
const inputIconSetsPath = 'generator/icon-sets/json/';
const iconsets = await fs.readdir(inputIconSetsPath);

for (const i in iconsets) {
for (const iconset of iconsets) {
// Skip Colored Iconsets
// TODO: Check This
if (parseInt(i) > 55) continue;

const iconset = iconsets[i];
let makeit = false;
makeIconsList.forEach((item) => {
if (item[0] == iconset.split('.')[0])
Expand All @@ -56,6 +52,7 @@ import { promises as fs } from 'fs';
console.log('skip ' + iconset);
continue;
}
if (iconset == 'fluent') continue;

// Read file
// if (iconset == "flat-color-icons.json") {
Expand Down
3 changes: 0 additions & 3 deletions lib/iconify_flutter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ library iconify_flutter;
import 'package:flutter/widgets.dart';
import 'package:flutter_svg/flutter_svg.dart';

// ignore: unused_import
import 'icons.dart';

/// Similarly to Material Icons, use [Iconify] Widget to display Iconify.
///
///
Expand Down
6 changes: 3 additions & 3 deletions website/src/data/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { IconifyJSON } from '@iconify/iconify'
import { notNullish } from '@antfu/utils'
import type { IconifyJSON } from '@iconify/iconify'
import Iconify from '@purge-icons/generated'
import { favoritedCollections, inProgress, isFavorited, progressMessage } from '../store'
import { isLocalMode, staticPath } from '../env'
import { favoritedCollections, inProgress, isFavorited, progressMessage } from '../store'
import { loadCollection, saveCollection } from '../store/indexedDB'
import infoJSON from './collections-info.json'

Expand Down Expand Up @@ -41,7 +41,7 @@ export const sortedCollectionsInfo = computed(() => {
.sort(
(a, b) =>
favoritedCollections.value.indexOf(b.id)
- favoritedCollections.value.indexOf(a.id),
- favoritedCollections.value.indexOf(a.id),
)
})

Expand Down

0 comments on commit 56061d6

Please sign in to comment.