diff options
author | stuebinm | 2024-04-02 02:59:56 +0200 |
---|---|---|
committer | stuebinm | 2024-04-02 02:59:56 +0200 |
commit | 9099b72cc8521bd42df697a34d91eff02896baab (patch) | |
tree | 7fbbbf54846ce91fceb19b0b170e5d50ae535a11 /pkgs | |
parent | 299a755ec15bac0103c268c0083ebd8f0741c5d2 (diff) |
element-web: nicer colours
Diffstat (limited to '')
-rw-r--r-- | pkgs/overlay.nix | 1 | ||||
-rw-r--r-- | pkgs/patches/element-css.patch | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/overlay.nix b/pkgs/overlay.nix index c8e91a3..e862613 100644 --- a/pkgs/overlay.nix +++ b/pkgs/overlay.nix @@ -121,6 +121,7 @@ in # the below patches the javascript's assumptions about box height # in the left side bar so that hiding overflow will work correctly # should be .mx_RoomTile's height + 12px + # TODO: once --replace-fail is in stable use that instead preBuild = '' substituteInPlace node_modules/matrix-react-sdk/src/stores/room-list/ListLayout.ts \ --replace "TILE_HEIGHT_PX = 44" "TILE_HEIGHT_PX = 32" diff --git a/pkgs/patches/element-css.patch b/pkgs/patches/element-css.patch index dae7298..4123bab 100644 --- a/pkgs/patches/element-css.patch +++ b/pkgs/patches/element-css.patch @@ -38,10 +38,10 @@ index 000000000..48ae3414f + color: purple; +} +.mx_Username_color5 { -+ color: darkblue; ++ color: #9a308b; +} +.mx_Username_color6 { -+ color: darkslateblue; ++ color: #484dcb; +} +.mx_Username_color7 { + color: darkmagenta; @@ -66,11 +66,11 @@ index 000000000..48ae3414f + background-color: purple; + } + &[data-color="5"] { -+ background-color: darkblue; ++ background-color: #9a308b; + color: black !important; + } + &[data-color="6"] { -+ background-color: darkslateblue; ++ background-color: #484dcb; + } + &[data-color="7"] { + background-color: darkmagenta; |