Skip to content

Commit 7b0af1d

Browse files
Refactored
1 parent 7402a91 commit 7b0af1d

2 files changed

Lines changed: 155 additions & 149 deletions

File tree

src/presentation/IconSheet.qml

Lines changed: 94 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -6,122 +6,122 @@ Item
66
id: iconSheet
77

88
// Arrows-icons
9-
property string arrowheadBackIcon: "/resources/images/light_mode/arrows/arrowhead_back_icon.svg"
10-
property string arrowheadNextIcon: "/resources/images/light_mode/arrows/arrowhead_next_icon.svg"
11-
property string dropdownDark: "/resources/images/light_mode/arrows/dropdown_dark.svg"
12-
property string dropdownLight: "/resources/images/light_mode/arrows/dropdown_light.svg"
9+
property string arrowheadBackIcon
10+
property string arrowheadNextIcon
11+
property string dropdownDark
12+
property string dropdownLight
1313

1414
// Decision-icons
15-
property string checkGreen: "/resources/images/light_mode/decision/check_green_icon.svg"
16-
property string checkWhite: "/resources/images/light_mode/decision/check_white_icon.svg"
17-
property string closePopup: "/resources/images/light_mode/decision/close_popup_icon.svg"
18-
property string cancelPurple: "/resources/images/light_mode/decision/cancel_purple_icon.svg"
19-
property string addFirstBookPlus: "/resources/images/light_mode/decision/add_first_book_plus_icon.svg"
20-
property string addWhite: "/resources/images/light_mode/decision/add_white_icon.svg"
21-
property string plusSquare: "/resources/images/light_mode/decision/plus_square_icon.svg"
22-
property string checkCircle: "/resources/images/light_mode/decision/check_circle_icon.svg"
15+
property string checkGreen
16+
property string checkWhite
17+
property string closePopup
18+
property string cancelPurple
19+
property string addFirstBookPlus
20+
property string addWhite
21+
property string plusSquare
22+
property string checkCircle
2323

2424
// Tags
25-
property string tagsRemove: "/resources/images/light_mode/tags/remove_icon.svg"
26-
property string tagsRemoveSelected: "/resources/images/light_mode/tags/remove_selected_icon.svg"
27-
property string tagsEdit: "/resources/images/light_mode/tags/edit_icon.svg"
28-
property string tagsEditSelected: "/resources/images/light_mode/tags/edit_selected_icon.svg"
25+
property string tagsRemove
26+
property string tagsRemoveSelected
27+
property string tagsEdit
28+
property string tagsEditSelected
2929

3030
// Book popup
31-
property string bookPopupDownload: "/resources/images/light_mode/book_popup/download_icon.svg"
32-
property string bookPopupUninstall: "/resources/images/light_mode/book_popup/uninstall_icon.svg"
33-
property string bookPopupRead: "/resources/images/light_mode/book_popup/read_icon.svg"
34-
property string bookPopupDetails: "/resources/images/light_mode/book_popup/details_icon.svg"
35-
property string bookPopupSave: "/resources/images/light_mode/book_popup/save_icon.svg"
36-
property string bookPopupTags: "/resources/images/light_mode/book_popup/tags_icon.svg"
37-
property string bookPopupMarkAsRead: "/resources/images/light_mode/book_popup/mark_as_read_icon.svg"
38-
property string bookPopupDelete: "/resources/images/light_mode/book_popup/delete_icon.svg"
31+
property string bookPopupDownload
32+
property string bookPopupUninstall
33+
property string bookPopupRead
34+
property string bookPopupDetails
35+
property string bookPopupSave
36+
property string bookPopupTags
37+
property string bookPopupMarkAsRead
38+
property string bookPopupDelete
3939

4040
// Decoration
41-
property string heart: "/resources/images/light_mode/decoration/heart_icon.svg"
42-
property string heartHallow: "/resources/images/light_mode/decoration/heart_hallow_icon.svg"
43-
property string seed: "/resources/images/light_mode/decoration/seed_icon.svg"
44-
property string popupDroplet: "/resources/images/light_mode/decoration/popup_droplet_icon.svg"
45-
property string patreon: "/resources/images/light_mode/decoration/patreon_icon.svg"
41+
property string heart
42+
property string heartHallow
43+
property string seed
44+
property string popupDroplet
45+
property string patreon
4646

4747
// Illustrations
48-
property string addImage: "/resources/images/light_mode/illustrations/add_image_illustration.svg"
49-
property string bookCover: "/resources/images/light_mode/illustrations/book_cover.png"
50-
property string emptyHomeBackground: "/resources/images/light_mode/illustrations/empty_home_background.svg"
51-
property string fileSwift: "/resources/images/light_mode/illustrations/file_swift_illustration.svg"
52-
property string lockProtected: "/resources/images/light_mode/illustrations/lock_protected_illustration.svg"
53-
property string attentionPurple: "/resources/images/light_mode/illustrations/attention_purple_illustration.svg"
54-
property string checkBubbleIllustration: "/resources/images/light_mode/illustrations/check_bubble_illustration.svg"
55-
property string addFileIllustration: "/resources/images/light_mode/illustrations/add_file_illustration.svg"
48+
property string addImage
49+
property string bookCover
50+
property string emptyHomeBackground
51+
property string fileSwift
52+
property string lockProtected
53+
property string attentionPurple
54+
property string checkBubbleIllustration
55+
property string addFileIllustration
5656

5757
// Reading searchbar
58-
property string readingSearchbarCancel: "/resources/images/light_mode/reading_searchbar/cancel_icon.svg"
59-
property string readingSearchbarNext: "/resources/images/light_mode/reading_searchbar/next_icon.svg"
60-
property string readingSearchbarPrevious: "/resources/images/light_mode/reading_searchbar/previous_icon.svg"
61-
property string readingSearchbarSearch: "/resources/images/light_mode/reading_searchbar/search_icon.svg"
58+
property string readingSearchbarCancel
59+
property string readingSearchbarNext
60+
property string readingSearchbarPrevious
61+
property string readingSearchbarSearch
6262

6363
// ReadingView
64-
property string readingViewBack: "/resources/images/light_mode/reading_view/back_icon.svg"
65-
property string readingViewBookmark: "/resources/images/light_mode/reading_view/bookmark_icon.svg"
66-
property string readingViewBookmarkSelected: "/resources/images/light_mode/reading_view/bookmark_selected_icon.svg"
67-
property string readingViewChapters: "/resources/images/light_mode/reading_view/chapters_icon.svg"
68-
property string readingViewChaptersSelected: "/resources/images/light_mode/reading_view/chapters_selected_icon.svg"
69-
property string readingViewMaximize: "/resources/images/light_mode/reading_view/maximize_icon.svg"
70-
property string readingViewMaximizeSelected: "/resources/images/light_mode/reading_view/maximize_selected_icon.svg"
71-
property string readingViewOptions: "/resources/images/light_mode/reading_view/options_icon.svg"
72-
property string readingViewOptionsPurple: "/resources/images/light_mode/reading_view/options_selected_icon.svg"
73-
property string readingViewSearch: "/resources/images/light_mode/reading_view/search_icon.svg"
74-
property string readingViewSearchSelected: "/resources/images/light_mode/reading_view/search_selected_icon.svg"
64+
property string readingViewBack
65+
property string readingViewBookmark
66+
property string readingViewBookmarkSelected
67+
property string readingViewChapters
68+
property string readingViewChaptersSelected
69+
property string readingViewMaximize
70+
property string readingViewMaximizeSelected
71+
property string readingViewOptions
72+
property string readingViewOptionsPurple
73+
property string readingViewSearch
74+
property string readingViewSearchSelected
7575

7676
// Reading options popup
77-
property string readingOptionsPopupPrinter: "/resources/images/light_mode/reading_options_popup/printer_icon.svg"
78-
property string readingOptionsPopupDownload: "/resources/images/light_mode/reading_options_popup/download_icon.svg"
79-
property string readingOptionsPopupShare: "/resources/images/light_mode/reading_options_popup/share_icon.svg"
80-
property string readingOptionsPopupSun: "/resources/images/light_mode/reading_options_popup/sun_icon.svg"
81-
property string readingOptionsPopupSync: "/resources/images/light_mode/reading_options_popup/sync_icon.svg"
82-
property string readingOptionsSettings: "/resources/images/light_mode/reading_options_popup/settings_icon.svg"
77+
property string readingOptionsPopupPrinter
78+
property string readingOptionsPopupDownload
79+
property string readingOptionsPopupShare
80+
property string readingOptionsPopupSun
81+
property string readingOptionsPopupSync
82+
property string readingOptionsSettings
8383

8484
// Setting
85-
property string settingsSidebarAbout: "/resources/images/light_mode/settings_sidebar/about_icon.svg"
86-
property string settingsSidebarAboutSelected: "/resources/images/light_mode/settings_sidebar/about_selected_icon.svg"
87-
property string settingsSidebarAccount: "/resources/images/light_mode/settings_sidebar/account_icon.svg"
88-
property string settingsSidebarAccountSelected: "/resources/images/light_mode/settings_sidebar/account_selected_icon.svg"
89-
property string settingsSidebarAppearance: "/resources/images/light_mode/settings_sidebar/appearance_icon.svg"
90-
property string settingsSidebarAppearanceSelected: "/resources/images/light_mode/settings_sidebar/appearance_selected_icon.svg"
91-
property string settingsSidebarSettings: "/resources/images/light_mode/settings_sidebar/settings_icon.svg"
92-
property string settingsSidebarSettingsSelected: "/resources/images/light_mode/settings_sidebar/settings_selected_icon.svg"
93-
property string settingsSidebarShortcuts: "/resources/images/light_mode/settings_sidebar/shortcuts_icon.svg"
94-
property string settingsSidebarShortcutsSelected: "/resources/images/light_mode/settings_sidebar/shortcuts_selected_icon.svg"
95-
property string settingsSidebarStorage: "/resources/images/light_mode/settings_sidebar/storage_icon.svg"
96-
property string settingsSidebarStorageSelected: "/resources/images/light_mode/settings_sidebar/storage_selected_icon.svg"
97-
property string settingsSidebarSupportUs: "/resources/images/light_mode/settings_sidebar/support_us_icon.svg"
98-
property string settingsSidebarSupportUsSelected: "/resources/images/light_mode/settings_sidebar/support_us_selected_icon.svg"
99-
property string settingsSidebarUpdates: "/resources/images/light_mode/settings_sidebar/updates_icon.svg"
100-
property string settingsSidebarUpdatesSelected: "/resources/images/light_mode/settings_sidebar/updates_selected_icon.svg"
85+
property string settingsSidebarAbout
86+
property string settingsSidebarAboutSelected
87+
property string settingsSidebarAccount
88+
property string settingsSidebarAccountSelected
89+
property string settingsSidebarAppearance
90+
property string settingsSidebarAppearanceSelected
91+
property string settingsSidebarSettings
92+
property string settingsSidebarSettingsSelected
93+
property string settingsSidebarShortcuts
94+
property string settingsSidebarShortcutsSelected
95+
property string settingsSidebarStorage
96+
property string settingsSidebarStorageSelected
97+
property string settingsSidebarSupportUs
98+
property string settingsSidebarSupportUsSelected
99+
property string settingsSidebarUpdates
100+
property string settingsSidebarUpdatesSelected
101101

102102
// Sidebar
103-
property string sidebarDownload: "/resources/images/light_mode/sidebar/download_icon.svg"
104-
property string sidebarHome: "/resources/images/light_mode/sidebar/home_icon.svg"
105-
property string sidebarPieChart: "/resources/images/light_mode/sidebar/pieChart_icon.svg"
106-
property string sidebarSettings: "/resources/images/light_mode/sidebar/settings_icon.svg"
107-
property string sidebarAddOns: "/resources/images/light_mode/sidebar/puzzle_icon.svg"
108-
property string sidebarSync: "/resources/images/light_mode/sidebar/sync_icon.svg"
109-
property string sidebarEmptyProfile : "/resources/images/light_mode/sidebar/empty_profile_icon.svg"
110-
property string sidebarLogout: "/resources/images/light_mode/sidebar/log_out_icon.svg"
103+
property string sidebarDownload
104+
property string sidebarHome
105+
property string sidebarPieChart
106+
property string sidebarSettings
107+
property string sidebarAddOns
108+
property string sidebarSync
109+
property string sidebarEmptyProfile
110+
property string sidebarLogout
111111

112112
// Utility
113-
property string dots: "/resources/images/light_mode/utility/dots_icon.svg"
114-
property string downloadSelected: "/resources/images/light_mode/utility/download_selected_icon.svg"
115-
property string edit: "/resources/images/light_mode/utility/edit_icon.svg"
116-
property string eyeOff: "/resources/images/light_mode/utility/eye_off_icon.svg"
117-
property string eyeOn: "/resources/images/light_mode/utility/eye_on_icon.svg"
118-
property string filter: "/resources/images/light_mode/utility/filter_icon.svg"
119-
property string search: "/resources/images/light_mode/utility/search_icon.svg"
120-
property string tag: "/resources/images/light_mode/utility/tag_icon.svg"
121-
property string microphone: "/resources/images/light_mode/utility/microphone_icon.svg"
122-
property string activeMicrophone: "/resources/images/light_mode/utility/active_microphone_icon.svg"
123-
property string trash: "/resources/images/light_mode/utility/trash_icon.svg"
124-
property string trashHighlighted: "/resources/images/light_mode/utility/trash_highlighted_icon.svg"
113+
property string dots
114+
property string downloadSelected
115+
property string edit
116+
property string eyeOff
117+
property string eyeOn
118+
property string filter
119+
property string search
120+
property string tag
121+
property string microphone
122+
property string activeMicrophone
123+
property string trash
124+
property string trashHighlighted
125125

126126

127127

0 commit comments

Comments
 (0)