Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 5 new icons: chicken / fish / milk / soda happy / soda unhappy #5268

Merged
merged 3 commits into from
May 19, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified packages/smooth_app/assets/fonts/SmoothIcons.ttf
Binary file not shown.
7 changes: 7 additions & 0 deletions packages/smooth_app/assets/fonts/icons/chicken.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
70 changes: 70 additions & 0 deletions packages/smooth_app/assets/fonts/icons/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,76 @@
"search": [
"qrcode_corners"
]
},
{
"uid": "dfaf7621276027ab1c05f0d86bf8c486",
"css": "chicken",
"code": 59392,
"src": "custom_icons",
"selected": true,
"svg": {
"path": "M641.7 0C604.9 0 575 29.8 575 66.7 575 95.2 593 119.3 618.2 128.9 648.2 90.9 694.7 66.7 745.7 66.7 783.7 66.7 818.6 79.9 846.4 101.8 857 93.7 863.9 81 863.9 66.7 863.9 42.1 844 22.2 819.5 22.2 809 22.2 799.5 26 791.9 32.1 783 13.2 763.9 0 741.7 0 721.7 0 704.3 10.7 694.5 26.5 682.4 10.5 663.3 0 641.7 0ZM745.7 111.1C687.2 111.1 636.9 154.8 628.7 212.6L602.4 396.5C587.1 503.5 473.3 575.8 375 577.7L375 533.3C375 484.3 335.1 444.4 286.1 444.4 259.6 444.4 235.7 456.1 219.4 474.6L219.4 466.7C219.4 417.6 179.6 377.8 130.6 377.8 81.5 377.8 41.7 417.6 41.7 466.7L41.7 588.9C41.7 831 206.2 1000 441.7 1000 530.2 1000 610.6 975.3 677 932.2 717.3 887.2 731.1 826.5 713.3 767.7 697.3 714.8 658.7 674.9 615.1 666.2 603 663.8 595.2 652.1 597.7 640.1 600 628.1 611.8 620.2 623.8 622.7 684.2 634.7 734.8 685.4 755.8 754.9 766.4 789.8 767.7 825.2 761.3 858.9 825.6 785.3 863.9 687.9 863.9 577.8L863.9 377.8 941.9 299.8C948.9 292.8 952.8 283.3 952.8 273.5 952.8 256.4 941.2 241.5 924.6 237.4L863.9 222.2 863.5 225.4C861.4 162.1 809.5 111.1 745.7 111.1ZM741.7 222.2C760.1 222.2 775 237.2 775 255.6 775 274 760.1 288.9 741.7 288.9 723.3 288.9 708.3 274 708.3 255.6 708.3 237.2 723.3 222.2 741.7 222.2Z",
"width": 1000
},
"search": [
"chicken"
]
},
{
"uid": "47c85b2e17036ec1c3d43e80af34f97a",
"css": "fish",
"code": 59458,
"src": "custom_icons",
"selected": true,
"svg": {
"path": "M997.4 508.4C994.6 500.1 928.8 314.9 709.9 256 694.6 189.9 641.1 138 571.6 126.3L388.8 95.9C372.7 93.2 356.4 99 345.5 111.1 334.6 123.2 330.7 140.1 335.1 155.8L371.1 283.2C322.6 304.6 276.4 332.8 238.4 364 201.5 330 143.7 285.7 47.6 285.7 21.3 285.7 0 307.1 0 333.3L0 714.3C0 740.6 21.3 761.9 47.6 761.9 136.8 761.9 197.4 715.9 236 683 274 716 338.9 761.8 428.6 788.2L428.6 857.1C428.6 871.1 434.7 884.4 445.3 893.4 454 900.8 465 904.8 476.2 904.8 478.7 904.8 481.3 904.6 483.9 904.1 499.5 901.6 628.4 878.3 686.3 796.2 912.6 743.6 993.1 550.1 996.5 541.6 1000.8 531 1001.1 519.2 997.4 508.4ZM690.5 428.6C730 428.6 761.9 460.5 761.9 500 761.9 539.5 730 571.4 690.5 571.4 651 571.4 619 539.5 619 500 619 460.5 651 428.6 690.5 428.6Z",
"width": 1000
},
"search": [
"fish"
]
},
{
"uid": "3a5aae672b133ef2885423db0fb2605f",
"css": "milk",
"code": 59459,
"src": "custom_icons",
"selected": true,
"svg": {
"path": "M283.5 0C263.3 0 247 16.4 247 36.6L247 76.7 139.1 292.3C129.8 310.9 125 331.5 125 352.3L125 914.6C125 961.3 163.7 1000 210.4 1000L771.3 1000C818 1000 856.7 961.3 856.7 914.6L856.7 352.3C856.7 331.4 851.8 310.9 842.6 292.3 842.6 292.3 842.6 292.3 842.6 292.3L734.8 76.7 734.8 36.6C734.8 16.4 718.4 0 698.2 0L283.5 0ZM306.1 122L639 122 553.8 292.3C553.7 292.4 553.7 292.6 553.6 292.7L220.8 292.7 306.1 122ZM698.2 167.2L777.1 325C781.3 333.5 783.5 342.8 783.5 352.3L783.5 914.6C783.5 921.8 778.5 926.8 771.3 926.8L612.8 926.8 612.8 352.3C612.8 342.8 615 333.4 619.2 325L698.2 167.2ZM198.2 365.9L539.6 365.9 539.6 926.8 210.4 926.8C203.2 926.8 198.2 921.8 198.2 914.6L198.2 365.9ZM283.5 512.2C263.3 512.2 247 528.6 247 548.8 247 569 263.3 585.4 283.5 585.4 303.7 585.4 320.1 569 320.1 548.8 320.1 528.6 303.7 512.2 283.5 512.2L283.5 512.2ZM454.3 512.2C434.1 512.2 417.7 528.6 417.7 548.8 417.7 569 434.1 585.4 454.3 585.4 474.5 585.4 490.9 569 490.9 548.8 490.9 528.6 474.5 512.2 454.3 512.2ZM277.8 637C262.7 637.3 249.4 646.9 244.3 661.1 239.2 675.3 243.3 691.2 254.6 701.1 318.2 759.9 415.6 759.9 479.1 701.1 490.4 691 494.2 675 488.9 660.9 483.5 646.8 470.1 637.4 455 637.3 445.5 637.2 436.3 640.8 429.4 647.4 391.9 682.1 341.8 682.1 304.3 647.4 297.2 640.5 287.7 636.7 277.8 637Z",
"width": 1000
},
"search": [
"milk"
]
},
{
"uid": "4a214d7548a54cfb7faae3dfa88e0146",
"css": "soda_happy",
"code": 59460,
"src": "custom_icons",
"selected": true,
"svg": {
"path": "M528.5 0L484.5 175.1 260.7 175.1C189.4 175.1 131.4 232.6 130.4 303.7L865.5 303.7C864.5 232.6 806.5 175.1 735.2 175.1L574.1 175.1 596.4 87 759.5 87 759.5 0 528.5 0ZM183.8 390.6L308.2 998.9 687.8 998.9 810.2 390.6 183.8 390.6ZM367.5 564.5C391.5 564.5 411 584 411 608 411 632 391.5 651.5 367.5 651.5 343.5 651.5 324 632 324 608 324 584 343.5 564.5 367.5 564.5ZM628.4 564.5C652.4 564.5 671.9 584 671.9 608 671.9 632 652.4 651.5 628.4 651.5 604.4 651.5 584.9 632 584.9 608 584.9 584 604.4 564.5 628.4 564.5ZM411 738.5L584.9 738.5C584.9 786.5 546 825.4 498 825.4 449.9 825.4 411 786.5 411 738.5Z",
"width": 1000
},
"search": [
"soda_happy"
]
},
{
"uid": "204c319d1c414acb05ad3da52db53baa",
"css": "soda_unhappy",
"code": 59461,
"src": "custom_icons",
"selected": true,
"svg": {
"path": "M528.5 0L484.5 175.1 260.7 175.1C189.4 175.1 131.4 232.6 130.4 303.7L865.5 303.7C864.5 232.6 806.5 175.1 735.2 175.1L574.1 175.1 596.4 87 759.5 87 759.5 0 528.5 0ZM183.8 390.6L308.2 998.9 687.8 998.9 810.2 390.6 183.8 390.6ZM367.5 564.5C391.5 564.5 411 584 411 608 411 632 391.5 651.5 367.5 651.5 343.5 651.5 324 632 324 608 324 584 343.5 564.5 367.5 564.5ZM628.4 564.5C652.4 564.5 671.9 584 671.9 608 671.9 632 652.4 651.5 628.4 651.5 604.4 651.5 584.9 632 584.9 608 584.9 584 604.4 564.5 628.4 564.5ZM584.9 825.4L411 825.4C411 777.4 449.9 738.5 498 738.5 546 738.5 584.9 777.4 584.9 825.4Z",
"width": 1000
},
"search": [
"soda_unhappy"
]
}
]
}
7 changes: 7 additions & 0 deletions packages/smooth_app/assets/fonts/icons/fish.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions packages/smooth_app/assets/fonts/icons/milk.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions packages/smooth_app/assets/fonts/icons/soda_happy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions packages/smooth_app/assets/fonts/icons/soda_unhappy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions packages/smooth_app/lib/pages/guides/guides_widgets.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import 'package:flutter/material.dart';

class GuideShareFooter extends StatelessWidget {
const GuideShareFooter({super.key});

@override
Widget build(BuildContext context) {
return const Placeholder();
}
}
43 changes: 43 additions & 0 deletions packages/smooth_app/lib/resources/app_icons.dart
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,15 @@ class Categories extends AppIcon {
}) : super._(_IconsFont.categories);
}

class Chicken extends AppIcon {
const Chicken({
super.color,
super.size,
super.shadow,
super.key,
}) : super._(_IconsFont.chicken);
}

class Check extends AppIcon {
const Check({
super.color,
Expand Down Expand Up @@ -311,6 +320,15 @@ class Expand extends AppIcon {
}) : super._(_IconsFont.expand);
}

class Fish extends AppIcon {
const Fish({
super.color,
super.size,
super.shadow,
super.key,
}) : super._(_IconsFont.fish);
}

class Fruit extends AppIcon {
const Fruit({
super.color,
Expand Down Expand Up @@ -374,6 +392,15 @@ class Lifebuoy extends AppIcon {
}) : super._(_IconsFont.lifebuoy);
}

class Milk extends AppIcon {
const Milk({
super.color,
super.size,
super.shadow,
super.key,
}) : super._(_IconsFont.milk);
}

class NoPicture extends AppIcon {
const NoPicture({
super.color,
Expand Down Expand Up @@ -515,6 +542,22 @@ class Settings extends AppIcon {
}) : super._(_IconsFont.settings);
}

class Soda extends AppIcon {
const Soda.happy({
super.color,
super.size,
super.shadow,
super.key,
}) : super._(_IconsFont.soda_happy);

const Soda.unhappy({
super.color,
super.size,
super.shadow,
super.key,
}) : super._(_IconsFont.soda_unhappy);
}

class Sound extends AppIcon {
const Sound.on({
super.color,
Expand Down
10 changes: 10 additions & 0 deletions packages/smooth_app/lib/resources/app_icons_font.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ class _IconsFont {
static const String _kFontFam = 'SmoothIcons';
static const String? _kFontPkg = null;

static const IconData chicken =
IconData(0xe800, fontFamily: _kFontFam, fontPackage: _kFontPkg);
static const IconData add_to_list =
IconData(0xe801, fontFamily: _kFontFam, fontPackage: _kFontPkg);
static const IconData settings =
Expand Down Expand Up @@ -102,6 +104,14 @@ class _IconsFont {
IconData(0xe840, fontFamily: _kFontFam, fontPackage: _kFontPkg);
static const IconData barcode =
IconData(0xe841, fontFamily: _kFontFam, fontPackage: _kFontPkg);
static const IconData fish =
IconData(0xe842, fontFamily: _kFontFam, fontPackage: _kFontPkg);
static const IconData milk =
IconData(0xe843, fontFamily: _kFontFam, fontPackage: _kFontPkg);
static const IconData soda_happy =
IconData(0xe844, fontFamily: _kFontFam, fontPackage: _kFontPkg);
static const IconData soda_unhappy =
IconData(0xe845, fontFamily: _kFontFam, fontPackage: _kFontPkg);
static const IconData close =
IconData(0xe851, fontFamily: _kFontFam, fontPackage: _kFontPkg);
static const IconData suggestion =
Expand Down
Loading