decent icon indicating copy to clipboard operation
decent copied to clipboard

Basic per-server theming capability

Open bates64 opened this issue 7 years ago • 6 comments
trafficstars

As discussed a while ago:

Servers should be able to specify some theming options that the client may adhere to. For example:

  • A 'theme colour' - this could be a set of basic colours (see: Riot.im, Reddit) or full #rrggbb
    • If we go full RGB, it may be worth having two options for this - in light-theme environments and dark-theme colour. For example, #ffffff will look terrible on light-themed clients.
    • Some clients may not be able to display #rrggbb, like CLI-based ones.
  • A server avatar - like Discord

bates64 avatar Jan 15 '18 23:01 bates64

~~* Custom CSS could also be provided by the server, like on subreddits. This would be really cool to see people do things with, and should be easily disabled by any user.~~

bates64 avatar Jan 15 '18 23:01 bates64

Custom CSS could also be provided by the server, like on subreddits. This would be really cool to see people do things with, and should be easily disabled by any user.

I'm not a big fan of this. If there are ever multiple font-end clients (definitely possible!), dealing with custom CSS would be a nightmare.

PullJosh avatar Jan 16 '18 00:01 PullJosh

@PullJosh Oh yeah. Good point!

It may be beneficial for more general styling options, then. Once again I'm thinking of @towerofnix and I's di/_v in-chat game projects - it'd be awesome to define more custom colours etc - perhaps even per channel?

Yeah, there's a thought - per-channel styling!

bates64 avatar Jan 16 '18 01:01 bates64

It'd also be nice to have a basic editor for a list of custom non-standard properties that admins can define (see: http PATCH). This would have use-cases such as more specific custom client styling and generic data storage for bots etc.

If we find any custom clients supporting non-standard properties that we deem generic enough we can add them to the spec, like W3C does with CSS.

We'd want to expose properties and styling options on /.

bates64 avatar Jan 16 '18 01:01 bates64

Per-channel accent colours? That's a cool idea...

image

TheInitializer avatar Jan 17 '18 19:01 TheInitializer

@TheInitializer loving the diagram :shipit:

bates64 avatar Jan 17 '18 20:01 bates64