Oct 20, 2014, 11:19 PM
[CLOSED] custom css style with settings driven by theme
Hello:
How would you handle a situation where you have to have a custom style sheet that looks different for different themes?
For instance, let's say I want to have a stylesheet that defines the text color for a row description (or row preview). For themes that have a white background I like to use dark blue but that doesn't work for the accessibility theme where I want to use white or a very light gray.
So basically I would have to change the style sheet color based on the current theme.
It would be great If you could provide a sample that shows how to do this.
Another idea would be to use one of the current stock styles (field note, as an example in this particular case) that change based on the current theme.
Thank you!
How would you handle a situation where you have to have a custom style sheet that looks different for different themes?
For instance, let's say I want to have a stylesheet that defines the text color for a row description (or row preview). For themes that have a white background I like to use dark blue but that doesn't work for the accessibility theme where I want to use white or a very light gray.
So basically I would have to change the style sheet color based on the current theme.
It would be great If you could provide a sample that shows how to do this.
Another idea would be to use one of the current stock styles (field note, as an example in this particular case) that change based on the current theme.
Thank you!
Last edited by Daniil; Oct 23, 2014 at 4:29 AM.
Reason: [CLOSED]