Hi all,

I have created some custom components which implement the IHeaderContributor
interface in order to obtain their custom css when rendered.
I want to give user the opportunity to override these classes without making
them create specific new trees in their page's basic css.

To be more specific, I have created a custom textfield which renders an
"Error" class in its tag when not valid.
I have also created a css file which is being rendered in order to define
the "Error" class displaying the textfield with red borders [the component
implements the IHeaderContributor].
I want to give user the opportunity to define a new "Error" class in his
page's css in order to override this.
The problem is that the page's css is being rendered before the components
css reference thus doesn't override it.

Do you have any hint on how to proceed?

Best regards,
Poko

Reply via email to