Commit Graph

71 Commits

Author SHA1 Message Date
John Preston d4cb56a73d Custom scroll bar in WebKit / Chromium. 2022-04-12 23:01:37 +04:00
John Preston aed1904b4c Support theming for webview-s (payments, attach). 2022-03-30 12:23:05 +04:00
John Preston ab0d2bf9c6 Initial chat theme changing. 2021-09-28 19:27:41 +04:00
John Preston c318f57fc0 Use outbox bubble colors, adjust custom colors. 2021-09-07 23:41:08 +03:00
John Preston 2554aaf3c0 Move Window::Theme::Colorizer to style::colorizer. 2021-09-06 13:13:26 +03:00
John Preston c4982711db Use ui/style/style_core_palette. 2021-09-06 13:13:26 +03:00
John Preston f59db10267 Update default chat background. 2021-08-31 22:10:39 +03:00
John Preston f5a323e40a Move all background helper methods to chat_theme module. 2021-08-30 20:32:57 +03:00
John Preston 0a1e84ddb2 Move ChatTheme to td_ui. 2021-08-30 20:32:57 +03:00
John Preston 3cd0f9d189 Start non-unique ChatTheme. 2021-08-30 20:32:57 +03:00
John Preston 7a06eccaec Make complex gradients animate on outgoing messages. 2021-08-16 16:07:43 +03:00
John Preston 3dadcd9352 Animated transition on pattern-on-gradient resize. 2021-08-16 10:26:08 +03:00
John Preston b9a9520ef5 Don't blend SoftLight patterns in realtime. 2021-08-16 10:26:08 +03:00
John Preston c2b1187948 Start support of linear gradient wallpapers. 2021-08-16 10:26:08 +03:00
John Preston 565877630f Dither default background to avoid color banding. 2021-07-23 15:42:17 +03:00
John Preston 4276b6cce0 Use rpl for Window::Theme::Background updates. 2021-07-15 16:42:36 +03:00
John Preston 05eb549a3d Move App::roundRect to Ui::FillRoundRect. 2020-10-30 18:32:18 +03:00
John Preston 8c4e8212cd Add 'respect system dark mode' checkbox. 2020-07-22 17:18:17 +04:00
John Preston 4add6234b6 Fix reading background before style init. 2020-06-23 21:53:44 +04:00
John Preston 3bb352e0e5 Fix build and working on macOS. 2020-06-23 21:53:42 +04:00
John Preston 2635ca33f8 Move background to global settings. 2020-06-23 21:53:42 +04:00
John Preston ad4afe9293 Move session data localstorage -> storage_account. 2020-06-23 21:53:39 +04:00
John Preston ca45fb617e Fix applying background after theme edit. 2019-09-10 00:36:16 +03:00
John Preston eebcdb842d Generate previews async in cloud themes list. 2019-09-09 09:59:57 +03:00
John Preston a770b5d4cd Allow share and remove cloud themes. 2019-09-08 20:32:25 +03:00
John Preston c92a9585e1 Check changes when saving theme. 2019-09-08 19:29:43 +03:00
John Preston cedb2d31af Check palette changes on editor cancel. 2019-09-08 16:40:15 +03:00
John Preston 95ee17bd54 Optimize theme edit data clearing. 2019-09-06 19:31:07 +03:00
John Preston 910f16312c Show not supported themes placeholders. 2019-09-06 19:31:07 +03:00
John Preston 79106e0c01 Correctly show custom themes in list. 2019-09-06 19:31:07 +03:00
John Preston 7485f0c960 Don't change real theme when editing. 2019-09-06 19:31:07 +03:00
John Preston 03bdd80b2f Open theme editor for existing themes. 2019-09-06 19:31:07 +03:00
John Preston 4929de2bfb Apply cloud themes. 2019-09-06 19:31:06 +03:00
John Preston ac8f924909 Show tdesktop cloud themes in a box. 2019-09-06 19:31:06 +03:00
John Preston 4b045a602c Add a box for new theme creating. 2019-09-06 19:31:06 +03:00
John Preston 117d6192fa Ensure contrast in colorized themes. 2019-08-29 10:01:28 +03:00
John Preston a3e993253c Keep colorized theme in editor. 2019-08-29 10:01:28 +03:00
John Preston c2117e7722 Save embedded themes accent colors. 2019-08-27 19:10:37 +03:00
John Preston 7de28fc4bd Apply saturation and value in colorizer. 2019-08-27 19:10:37 +03:00
John Preston 9cb5423d40 Allow changing accent color in default themes. 2019-08-27 19:10:37 +03:00
John Preston ff44094ded Rename AuthSession to Main::Session. 2019-07-24 13:45:24 +02:00
John Preston 263bbf1788 Move _authSession to Main::Account. 2019-06-06 12:37:12 +03:00
23rd b45705f39d Returned render color theme in main menu when background is filled. 2019-05-31 21:10:53 +03:00
John Preston b6e37b7730 Allow removing cloud wallpapers. 2019-02-09 16:36:07 +03:00
John Preston 95565c39ed Upload wallpapers to the cloud. 2019-02-08 19:20:08 +03:00
John Preston 890aacaeee Allow to blur wallpapers from file. 2019-02-08 16:55:02 +03:00
John Preston e2f0886950 Add option to blur chat background. 2019-02-07 19:36:30 +03:00
John Preston fe21b5a502 Support blurred backgrounds. 2019-02-06 17:38:37 +03:00
John Preston aae2101131 Sort backgrounds in the gallery. 2019-02-04 21:37:40 +03:00
John Preston 4d9464ed87 Remove flags checking for backgrounds.
Also limit image size to 2960px.

Fixes #5641.
2019-02-04 18:53:00 +03:00