• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Messaging app colors

Scheduled Pinned Locked Moved Solved Support
22 Posts 5 Posters 4.0k Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K Offline
      Keneda
      last edited by Keneda 4 May 2021, 10:25 5 Apr 2021, 10:12

      Ok i managed to copy file to it's original directory, i had to "sudo su" in terminal, and then use "cp" command, all this with r/w files system on.

      So i tried to test edit line 100 from return theme.name === "Ubuntu.Components.Themes.SuruDark" ? "lightGreen" : "green" to return theme.name === "Ubuntu.Components.Themes.SuruDark" ? "lightGreen" : "orange" but no success (even with device powered off then on), bubble still are green :grinning_face_with_sweat:

      Obviously i reverted back the file.

      2015-2023 : Meizu MX4 ☠️⚰️✝️
      2023-2024 : Nexus 5 ☠️⚰️✝️
      2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
      🇲🇫🇬🇧

      K 1 Reply Last reply 5 Apr 2021, 12:56 Reply Quote 0
      • K Offline
        kugiigi @Keneda
        last edited by 5 Apr 2021, 12:56

        @keneda Worked fine with me when I modified it directly. You just need to restart the messaging app to make it take effect. Perhaps you were not able to copy the file successfully.

        K 1 Reply Last reply 5 Apr 2021, 13:18 Reply Quote 0
        • K Offline
          Keneda @kugiigi
          last edited by Keneda 4 May 2021, 13:19 5 Apr 2021, 13:18

          @kugiigi Yes i restarted app as i restarted device itself, and i checked that the file was successfully copied (the modded one) before restarting, by opening it with seabass after doing the CP command, from the messaging-app folder.

          What color did you mod, and what color did you use to mod it?

          2015-2023 : Meizu MX4 ☠️⚰️✝️
          2023-2024 : Nexus 5 ☠️⚰️✝️
          2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
          🇲🇫🇬🇧

          K 1 Reply Last reply 5 Apr 2021, 13:21 Reply Quote 0
          • K Offline
            kugiigi @Keneda
            last edited by 5 Apr 2021, 13:21

            @keneda I changed it to blue and orange. Maybe you are on dark mode so lightGreen is still being used?

            K 1 Reply Last reply 5 Apr 2021, 13:35 Reply Quote 0
            • K Offline
              Keneda @kugiigi
              last edited by Keneda 4 May 2021, 13:37 5 Apr 2021, 13:35

              @kugiigi
              Ohhh my god, i though i was modding for dark theme...
              I tested with clear theme just now and yes, it works!

              So, what do i need to mod for dark theme, the "lightcolors" ones?

              By the way, messaging app often crashs when i change theming, i noticed this before trying this thread mod.
              I have to try lot of time before being able to change theme in the app, then, when succesfull one time, i can change it without crash, untill i close app then it start again to crash.

              2015-2023 : Meizu MX4 ☠️⚰️✝️
              2023-2024 : Nexus 5 ☠️⚰️✝️
              2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
              🇲🇫🇬🇧

              K 1 Reply Last reply 5 Apr 2021, 13:46 Reply Quote 0
              • K Offline
                Keneda @Keneda
                last edited by Keneda 4 May 2021, 13:51 5 Apr 2021, 13:46

                @keneda said in Messaging app colors:

                So, what do i need to mod for dark theme, the "lightcolors" ones?

                Answer to myslef, yes it is :grinning_face_with_big_eyes:

                @kugiigi now i have one question, were i can find all colors supported? And, is RGB/HEX color supported? (for example can a take one color or its RGB or hex value from this site, first from qwant results : https://rgbcolorcode.com/ )

                2015-2023 : Meizu MX4 ☠️⚰️✝️
                2023-2024 : Nexus 5 ☠️⚰️✝️
                2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                🇲🇫🇬🇧

                K 1 Reply Last reply 5 Apr 2021, 13:51 Reply Quote 0
                • K Offline
                  kugiigi @Keneda
                  last edited by 5 Apr 2021, 13:51

                  @keneda That is a known issue which is weird since other apps changes the theme without issues.

                  You can put colors in different formats. Just for color support in QML.
                  You can also pick a color from UITK.
                  https://phone.docs.ubuntu.com/en/apps/qml/tutorials-ubuntu-ui-toolkit-palette

                  K 1 Reply Last reply 5 Apr 2021, 13:54 Reply Quote 0
                  • K Offline
                    Keneda @kugiigi
                    last edited by Keneda 4 May 2021, 14:01 5 Apr 2021, 13:54

                    @kugiigi
                    OK i was going to open an issue when i find messaging app GIT, but i assume it already exist now ^^

                    Great thanks to you, @lduboeuf and @jezek for your help 🙂

                    EDIT : link from start of text on the page you gave me ("palette" https://ubuntu.com/developer/api/apps/qml/sdk-15.04.1/Ubuntu.Components.Themes.Palette ) is broken link by the way ^^

                    2015-2023 : Meizu MX4 ☠️⚰️✝️
                    2023-2024 : Nexus 5 ☠️⚰️✝️
                    2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                    🇲🇫🇬🇧

                    A 1 Reply Last reply 5 Apr 2021, 14:16 Reply Quote 1
                    • A Offline
                      AppLee @Keneda
                      last edited by 5 Apr 2021, 14:16

                      @keneda
                      This is from Canonical. I don't think they'll make an update here before shutting it down completely...
                      But the first page should give you all that you need.

                      K 1 Reply Last reply 5 Apr 2021, 14:25 Reply Quote 0
                      • K Offline
                        Keneda @AppLee
                        last edited by Keneda 4 May 2021, 14:32 5 Apr 2021, 14:25

                        @applee said in Messaging app colors:

                        This is from Canonical

                        Ah ok...

                        @applee said in Messaging app colors:

                        But the first page should give you all that you need.

                        Yes i got it, ^^
                        And i can confirm that any color under #XXXXXX format works.

                        2015-2023 : Meizu MX4 ☠️⚰️✝️
                        2023-2024 : Nexus 5 ☠️⚰️✝️
                        2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                        🇲🇫🇬🇧

                        A 1 Reply Last reply 5 Apr 2021, 14:29 Reply Quote 0
                        • A Offline
                          AppLee @Keneda
                          last edited by 5 Apr 2021, 14:29

                          @keneda
                          Great, now you're beginning to test things out and figuring out if it works.

                          So basically you became a coder 😉

                          K 1 Reply Last reply 5 Apr 2021, 14:35 Reply Quote 0
                          • K Offline
                            Keneda @AppLee
                            last edited by 5 Apr 2021, 14:35

                            @applee
                            lol, don't push so far, they are real coders here, i just edited some already created files :grinning_face_with_sweat:
                            At least i searched and learnt some usefull command lines 🙂

                            2015-2023 : Meizu MX4 ☠️⚰️✝️
                            2023-2024 : Nexus 5 ☠️⚰️✝️
                            2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                            🇲🇫🇬🇧

                            1 Reply Last reply Reply Quote 0
                            • K Keneda marked this topic as a question on 5 Jan 2022, 22:13
                            • K Keneda has marked this topic as solved on 5 Jan 2022, 22:16
                            • K Keneda referenced this topic on 9 Feb 2022, 16:16
                            • K Keneda referenced this topic on 17 May 2023, 14:10
                            • L lduboeuf referenced this topic on 17 May 2023, 15:15
                            20 out of 22
                            • First post
                              20/22
                              Last post