dotfiles/etc/configs/element.nix

56 lines
1.7 KiB
Nix
Raw Normal View History

{ pkgs, ... }: {
# https://github.com/element-hq/element-web/blob/develop/config.sample.json
home-manager.users.grape.home.file.".config/Element/config.json" = {
enable = true;
text = ''
{
"default_theme": "Purple",
"setting_defaults": {
"breadcrumbs": true,
"custom_themes": [
{
"name": "Purple",
"is_dark": true,
"colors": {
"accent-color": "#FAd000",
"primary-color": "#FFF",
"warning-color": "#ec3a37f5",
"sidebar-color": "#192030",
"roomlist-background-color": "#131327",
"roomlist-text-color": "#FFF",
"roomlist-text-secondary-color": "#00ff00",
"roomlist-highlights-color": "#00000030",
"roomlist-separator-color": "#4d4d4d90",
"timeline-background-color": "#191830",
"timeline-text-color": "#fff",
"secondary-content": "#fff",
"tertiary-content": "#7870ab",
"quinary-content": "#fad000",
"timeline-text-secondary-color": "#FAD000",
"timeline-highlights-color": "#00000030",
"reaction-row-button-selected-bg-color": "#689d6a",
"menu-selected-color": "#fad000",
"icon-button-color": "#fad000",
"accent": "#689d6a",
"alert": "#cc241d",
"username-colors": [
"#FAD000",
"#ff7200",
"#35ad68",
"#5d37f0",
"#80fcff",
"#3ad900",
"#b362ff",
"#fff"
],
"avatar-background-colors": ["#458588", "#b16286", "#689d6a"]
}
}
]
}
}
'';
};
}