!LFSvgabwCbgYyABWyM:matrix.org

Hydrogen Web

390 Members
Lightweight web client - https://hydrogen.element.io/ - current release: 0.4.1 - FAQ: https://github.com/vector-im/hydrogen-web/blob/master/FAQ.md106 Servers

Load older messages


SenderMessageTime
17 May 2024
@xhawk87:hawks-haven.co.ukXHawk87
In reply to @rmidhunsuresh:matrix.org
You could probably create a new theme: https://github.com/element-hq/hydrogen-web/blob/master/doc/architecture/THEMING.md

I took this approach and created a new derived theme using this as a template: https://github.com/element-hq/hydrogen-web/blob/master/scripts/test-derived-theme/theme.json
However, I get this on the console: Error: Base manifest for derived theme at /assets/theme-neko.json not found!

        {
          "name": "Neko",
          "extends": "element",
          "id": "neko",
	  "values": {
            "variants": {
              "dark": {
                "dark": true,
                "default": true,
                "name": "Dark",
                "variables": {
                  "background-color-primary": "#36393f",
                  "background-color-secondary": "#404349",
                  "usercolor1": "#dcddde",
                  "usercolor2": "#dcddde",
                  "usercolor3": "#dcddde",
                  "usercolor4": "#dcddde",
                  "usercolor5": "#dcddde",
                  "usercolor6": "#dcddde",
                  "usercolor7": "#dcddde",
                  "usercolor8": "#dcddde"
                }
              }
            }
          }
        }

Am I doing something wrong here?

22:59:56
18 May 2024
@shadowrz:nixos.dev夜坂雅 changed their profile picture.03:19:34
@shadowrz:nixos.dev夜坂雅 changed their profile picture.03:27:15
@shadowrz:nixos.dev夜坂雅 changed their profile picture.03:43:52
22 May 2024
@andrewm:element.ioAndrew Morgan (anoa) {he/him} [back Oct22] changed their display name from Andrew Morgan (anoa) to Andrew Morgan (anoa) {he/him} [away; back 29th].02:23:03
24 May 2024
@bwindels:matrix.orgBruno
In reply to @xhawk87:hawks-haven.co.uk

I took this approach and created a new derived theme using this as a template: https://github.com/element-hq/hydrogen-web/blob/master/scripts/test-derived-theme/theme.json
However, I get this on the console: Error: Base manifest for derived theme at /assets/theme-neko.json not found!

        {
          "name": "Neko",
          "extends": "element",
          "id": "neko",
	  "values": {
            "variants": {
              "dark": {
                "dark": true,
                "default": true,
                "name": "Dark",
                "variables": {
                  "background-color-primary": "#36393f",
                  "background-color-secondary": "#404349",
                  "usercolor1": "#dcddde",
                  "usercolor2": "#dcddde",
                  "usercolor3": "#dcddde",
                  "usercolor4": "#dcddde",
                  "usercolor5": "#dcddde",
                  "usercolor6": "#dcddde",
                  "usercolor7": "#dcddde",
                  "usercolor8": "#dcddde"
                }
              }
            }
          }
        }

Am I doing something wrong here?

Could be wrong, but I think it can't find theme-element.json that you are deriving
08:03:02
@xhawk87:hawks-haven.co.ukXHawk87
In reply to @bwindels:matrix.org
Could be wrong, but I think it can't find theme-element.json that you are deriving
Yeh, but I am not sure why that would be the case. it's definitely loading that resource based on the network logs. I can't get a lot of debug information about what's going wrong as this is the release build in a production environment. Has anyone run this derived theme test recently?
15:07:06
27 May 2024
@fheese:element.ioFlorian Heese changed their display name from Florian Heese // away to Florian Heese.07:10:39
@davideg:element.ioDavide changed their display name from Davide[away] to Davide.07:55:02
29 May 2024
@bwindels:matrix.orgBruno
In reply to @xhawk87:hawks-haven.co.uk
Yeh, but I am not sure why that would be the case. it's definitely loading that resource based on the network logs. I can't get a lot of debug information about what's going wrong as this is the release build in a production environment. Has anyone run this derived theme test recently?
Because of the "extends":" element" prop in your theme.
06:45:26
@andrewm:element.ioAndrew Morgan (anoa) {he/him} [back Oct22] changed their display name from Andrew Morgan (anoa) {he/him} [away; back 29th] to Andrew Morgan (anoa) {he/him}.09:10:46
@xhawk87:hawks-haven.co.ukXHawk87
In reply to @bwindels:matrix.org
Because of the "extends":" element" prop in your theme.
Yes, that is the default theme, I am extending it, just like in the test case. The default theme loads fine, and is in use by default, so I know it works.
11:54:34
@xhawk87:hawks-haven.co.ukXHawk87If the "test-derived-theme" test works, then this should too, but it doesn't. So has anyone run the test?11:57:13
@phiber:matrix.phiberoptick.dev@phiber:matrix.phiberoptick.dev left the room.15:06:56
@lutzl:element.io@lutzl:element.io changed their display name from Lutz 🌍️ to Lutz - leaving on 31-May.15:48:34
30 May 2024
@bwindels:matrix.orgBruno
In reply to @xhawk87:hawks-haven.co.uk
If the "test-derived-theme" test works, then this should too, but it doesn't. So has anyone run the test?
I haven't. You can't run it?
09:58:05
@xhawk87:hawks-haven.co.ukXHawk87
In reply to @bwindels:matrix.org
I haven't. You can't run it?
I'm not set up for development. All I have is the production build running in a docker container.
10:33:57
31 May 2024
@lutzl:element.io@lutzl:element.io changed their display name from Lutz - leaving on 31-May to Lutz - leaving today.06:28:32
@lutzl:element.io@lutzl:element.io changed their display name from Lutz - leaving today to Lutz - gone.15:19:45
1 Jun 2024
@aminda:pikaviestin.fiAminda.eu ⚧︎ (she/they) changed their display name from Aminda.eu ⚧ to Aminda.eu ⚧︎ (she/they).11:19:15
3 Jun 2024
@lofi:lofitrek.comLofi joined the room.12:15:30
@lofi:lofitrek.comLofi 12:16:41
4 Jun 2024
@lutzl:element.io@lutzl:element.io removed their profile picture.08:13:52
@lutzl:element.io@lutzl:element.io removed their display name Lutz - gone.08:14:52
@lutzl:element.io@lutzl:element.io left the room.08:17:38
5 Jun 2024
@lofi:lofitrek.comLofi left the room.18:24:12
@lofi:lofitrek.comLofi joined the room.18:35:35
7 Jun 2024
@lofi:lofitrek.comLofi left the room.08:19:01
@thibaultmartin:matrix.orgThib (m.org) changed their display name from Thib (m.org) to Thib (m.org, away Fri 7).11:10:49
@lofi:lofitrek.comLofi joined the room.13:20:30

Show newer messages


Back to Room ListRoom Version: 9