Skip to content

Commit

Permalink
feat: update icons to version 1.0.3 (#164)
Browse files Browse the repository at this point in the history
* feat: update icons to version 1.0.3

* docs: fix wrong PR number

* feat: update goldens to reflect icon changes to 1.0.3
  • Loading branch information
smallTrogdor authored Sep 4, 2024
1 parent cb3189a commit 3dad037
Show file tree
Hide file tree
Showing 14 changed files with 939 additions and 908 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ It is expected that you keep this format strictly, since we depend on it in our

## [Unreleased]

### Changed

- (#164) Updated icon version to `1.0.3` (was `1.0.0`).

### Deprecated

- (#162) Deprecated Web Widgets:
Expand Down
12 changes: 12 additions & 0 deletions example/lib/sbb_icons_index.dart
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,9 @@ sealed class SBBIconsIndex {
{'icon': SBBIcons.share_small, 'name': 'share_small'},
{'icon': SBBIcons.service_bell_small, 'name': 'service_bell_small'},
{'icon': SBBIcons.seat_window_small, 'name': 'seat_window_small'},
{'icon': SBBIcons.seat_window_reservation_small, 'name': 'seat_window_reservation_small'},
{'icon': SBBIcons.seat_small, 'name': 'seat_small'},
{'icon': SBBIcons.seat_aisle_reservation_small, 'name': 'seat_aisle_reservation_small'},
{'icon': SBBIcons.screen_inside_train_small, 'name': 'screen_inside_train_small'},
{'icon': SBBIcons.scooter_profile_small, 'name': 'scooter_profile_small'},
{'icon': SBBIcons.scooter_profile_power_plug_small, 'name': 'scooter_profile_power_plug_small'},
Expand Down Expand Up @@ -265,6 +267,7 @@ sealed class SBBIconsIndex {
{'icon': SBBIcons.keyboard_small, 'name': 'keyboard_small'},
{'icon': SBBIcons.key_small, 'name': 'key_small'},
{'icon': SBBIcons.k_r_small, 'name': 'k_r_small'},
{'icon': SBBIcons.infinity_loop_small, 'name': 'infinity_loop_small'},
{'icon': SBBIcons.increase_size_small, 'name': 'increase_size_small'},
{'icon': SBBIcons.id_card_employee_small, 'name': 'id_card_employee_small'},
{'icon': SBBIcons.house_small, 'name': 'house_small'},
Expand Down Expand Up @@ -443,6 +446,7 @@ sealed class SBBIconsIndex {
{'icon': SBBIcons.cloud_drops_moon_small, 'name': 'cloud_drops_moon_small'},
{'icon': SBBIcons.cloud_dense_fog_small, 'name': 'cloud_dense_fog_small'},
{'icon': SBBIcons.cloud_co2_small, 'name': 'cloud_co2_small'},
{'icon': SBBIcons.cloud_co2_arrow_down_small, 'name': 'cloud_co2_arrow_down_small'},
{'icon': SBBIcons.clock_small, 'name': 'clock_small'},
{'icon': SBBIcons.clipboard_users_small, 'name': 'clipboard_users_small'},
{'icon': SBBIcons.clipboard_tick_small, 'name': 'clipboard_tick_small'},
Expand All @@ -462,6 +466,7 @@ sealed class SBBIconsIndex {
{'icon': SBBIcons.circle_play_small, 'name': 'circle_play_small'},
{'icon': SBBIcons.circle_pen_small, 'name': 'circle_pen_small'},
{'icon': SBBIcons.circle_minus_small, 'name': 'circle_minus_small'},
{'icon': SBBIcons.circle_leaf_power_plug_small, 'name': 'circle_leaf_power_plug_small'},
{'icon': SBBIcons.circle_information_small_small, 'name': 'circle_information_small_small'},
{'icon': SBBIcons.circle_information_small, 'name': 'circle_information_small'},
{'icon': SBBIcons.circle_exclamation_point_small, 'name': 'circle_exclamation_point_small'},
Expand Down Expand Up @@ -514,6 +519,7 @@ sealed class SBBIconsIndex {
{'icon': SBBIcons.calculator_small, 'name': 'calculator_small'},
{'icon': SBBIcons.cable_car_profile_small, 'name': 'cable_car_profile_small'},
{'icon': SBBIcons.button_power_small, 'name': 'button_power_small'},
{'icon': SBBIcons.butterfly_small, 'name': 'butterfly_small'},
{'icon': SBBIcons.bus_surrounding_area_small, 'name': 'bus_surrounding_area_small'},
{'icon': SBBIcons.bus_stop_small, 'name': 'bus_stop_small'},
{'icon': SBBIcons.bus_small, 'name': 'bus_small'},
Expand Down Expand Up @@ -750,8 +756,10 @@ sealed class SBBIconsIndex {
{'icon': SBBIcons.ship_steering_wheel_medium, 'name': 'ship_steering_wheel_medium'},
{'icon': SBBIcons.share_medium, 'name': 'share_medium'},
{'icon': SBBIcons.service_bell_medium, 'name': 'service_bell_medium'},
{'icon': SBBIcons.seat_window_reservation_medium, 'name': 'seat_window_reservation_medium'},
{'icon': SBBIcons.seat_window_medium, 'name': 'seat_window_medium'},
{'icon': SBBIcons.seat_medium, 'name': 'seat_medium'},
{'icon': SBBIcons.seat_aisle_reservation_medium, 'name': 'seat_aisle_reservation_medium'},
{'icon': SBBIcons.screen_inside_train_medium, 'name': 'screen_inside_train_medium'},
{'icon': SBBIcons.scooter_profile_power_plug_medium, 'name': 'scooter_profile_power_plug_medium'},
{'icon': SBBIcons.scooter_profile_medium, 'name': 'scooter_profile_medium'},
Expand Down Expand Up @@ -867,6 +875,7 @@ sealed class SBBIconsIndex {
{'icon': SBBIcons.keyboard_medium, 'name': 'keyboard_medium'},
{'icon': SBBIcons.key_medium, 'name': 'key_medium'},
{'icon': SBBIcons.k_r_medium, 'name': 'k_r_medium'},
{'icon': SBBIcons.infinity_loop_medium, 'name': 'infinity_loop_medium'},
{'icon': SBBIcons.increase_size_medium, 'name': 'increase_size_medium'},
{'icon': SBBIcons.id_card_employee_medium, 'name': 'id_card_employee_medium'},
{'icon': SBBIcons.house_medium, 'name': 'house_medium'},
Expand Down Expand Up @@ -1045,6 +1054,7 @@ sealed class SBBIconsIndex {
{'icon': SBBIcons.cloud_drops_medium, 'name': 'cloud_drops_medium'},
{'icon': SBBIcons.cloud_dense_fog_medium, 'name': 'cloud_dense_fog_medium'},
{'icon': SBBIcons.cloud_co2_medium, 'name': 'cloud_co2_medium'},
{'icon': SBBIcons.cloud_co2_arrow_down_medium, 'name': 'cloud_co2_arrow_down_medium'},
{'icon': SBBIcons.clock_medium, 'name': 'clock_medium'},
{'icon': SBBIcons.clipboard_users_medium, 'name': 'clipboard_users_medium'},
{'icon': SBBIcons.clipboard_tick_medium, 'name': 'clipboard_tick_medium'},
Expand All @@ -1064,6 +1074,7 @@ sealed class SBBIconsIndex {
{'icon': SBBIcons.circle_play_medium, 'name': 'circle_play_medium'},
{'icon': SBBIcons.circle_pen_medium, 'name': 'circle_pen_medium'},
{'icon': SBBIcons.circle_minus_medium, 'name': 'circle_minus_medium'},
{'icon': SBBIcons.circle_leaf_power_plug_medium, 'name': 'circle_leaf_power_plug_medium'},
{'icon': SBBIcons.circle_information_small_medium, 'name': 'circle_information_small_medium'},
{'icon': SBBIcons.circle_information_medium, 'name': 'circle_information_medium'},
{'icon': SBBIcons.circle_exclamation_point_medium, 'name': 'circle_exclamation_point_medium'},
Expand Down Expand Up @@ -1116,6 +1127,7 @@ sealed class SBBIconsIndex {
{'icon': SBBIcons.calculator_medium, 'name': 'calculator_medium'},
{'icon': SBBIcons.cable_car_profile_medium, 'name': 'cable_car_profile_medium'},
{'icon': SBBIcons.button_power_medium, 'name': 'button_power_medium'},
{'icon': SBBIcons.butterfly_medium, 'name': 'butterfly_medium'},
{'icon': SBBIcons.bus_surrounding_area_medium, 'name': 'bus_surrounding_area_medium'},
{'icon': SBBIcons.bus_stop_medium, 'name': 'bus_stop_medium'},
{'icon': SBBIcons.bus_sbb_medium, 'name': 'bus_sbb_medium'},
Expand Down
5 changes: 4 additions & 1 deletion font_scripts/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,7 @@ build/
node_modules

# generated icons
icons
icons/*

# except the .version file
!icons/.version
2 changes: 1 addition & 1 deletion font_scripts/icons/.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
1.0.3
Binary file modified lib/fonts/sbb_icons_large.ttf
Binary file not shown.
Binary file modified lib/fonts/sbb_icons_medium.ttf
Binary file not shown.
Binary file modified lib/fonts/sbb_icons_small.ttf
Binary file not shown.
Loading

0 comments on commit 3dad037

Please sign in to comment.