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

PE-5216: feat(icon): add gift icon #88

Merged
merged 2 commits into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all 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 assets/fonts/ArDriveIcons.ttf
Binary file not shown.
14 changes: 14 additions & 0 deletions assets/fonts/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -929,6 +929,20 @@
"search": [
"style-6"
]
},
{
"uid": "1c0e9febb9bf70d7c305dcedb80d1545",
"css": "gift",
"code": 59393,
"src": "custom_icons",
"selected": true,
"svg": {
"path": "M900 175C900 78.3 821.7 0 725 0L714.6 0.1C628 3.2 551.6 63.2 500 158.8L493.2 146.7C439.8 54.6 361.9-1.5 274.1 0 178.3 0 100 78.3 100 175 100 201.8 106 227.3 116.8 250H100C44.8 250 0 294.8 0 350V450C0 505.2 44.8 550 100 550V850L100.3 858.8C104.8 937.6 170.1 1000 250 1000L758.8 999.7C837.6 995.2 900 929.9 900 850V550C955.2 550 1000 505.2 1000 450V350C1000 294.8 955.2 250 900 250H883.2C894 227.3 900 201.8 900 175ZM725 250H567.8C604.9 154.8 665.1 99 724.1 100 766.4 100 800 133.6 800 175S766.4 250 725 250ZM432.2 250H275L267.8 249.7C229.8 246 200 214 200 175 200 133.6 233.6 100 275 100 334.7 99 395.1 154.8 432.2 250ZM275 350H450V450H100V350H275ZM200 850V550H450V900H250L244.2 899.7C219.3 896.8 200 875.6 200 850ZM750 900H550V550H800V850L799.7 855.8C796.8 880.7 775.6 900 750 900ZM900 450H550V350H900V450Z",
"width": 1000
},
"search": [
"style"
]
}
]
}
2 changes: 2 additions & 0 deletions lib/src/styles/icons/ar_drive_icons_icons.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ class ArDriveIconsData {

static const IconData icon_add_drive =
IconData(0xe800, fontFamily: _kFontFam, fontPackage: _kFontPkg);
static const IconData gift =
IconData(0xe801, fontFamily: _kFontFam, fontPackage: _kFontPkg);
static const IconData icon_upload_files =
IconData(0xe803, fontFamily: _kFontFam, fontPackage: _kFontPkg);
static const IconData icon_create_snapshot =
Expand Down
6 changes: 6 additions & 0 deletions lib/src/styles/icons/icons.dart
Original file line number Diff line number Diff line change
Expand Up @@ -445,4 +445,10 @@ class ArDriveIcons {
size: size ?? 26,
color: color,
);

static ArDriveIcon gift({double? size, Color? color}) => ArDriveIcon(
icon: ArDriveIconsData.gift,
size: size ?? 26,
color: color,
);
}
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: ardrive_ui
description: UI Design Library for the ArDrive Design System

version: 1.16.0
version: 1.17.0

publish_to: "none"

Expand Down