Discussion:
[RCD] plugin development for elastic
c***@xs4all.nl
2018-09-12 12:22:46 UTC
Permalink
Hi, i maintain some public plugins and have a question about elastic skin. One of my plugins has a custom preferences page and it looks like I have to use different markup for elastic vs larry/classic. What is the recommended way to handle different markup based on the skin when using the plugin preferences hooks?

Cor
c***@xs4all.nl
2018-09-15 11:40:00 UTC
Permalink
Post by c***@xs4all.nl
Hi, i maintain some public plugins and have a question about elastic skin. One of my plugins has a custom preferences page and it looks like I have to use different markup for elastic vs larry/classic. What is the recommended way to handle different markup based on the skin when using the plugin preferences hooks?
I was able to keep the markup the same and only modify things in css. My message_highlight plugin now supports elastic skin, and also auto-detects bright/dark backgrounds and will change the font color accordingly.

Cor

Loading...