-
Hiya, I'm using a single component from the taiga-ui. Is there a way to turn this off? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
It seems this fixes it: /* Remove taig-ui properties */
body[data-tui-theme] {
font: unset !important;
color: unset !important;
background: unset !important;
margin: unset !important
} |
Beta Was this translation helpful? Give feedback.
-
You can remove the |
Beta Was this translation helpful? Give feedback.
You can remove the
data-tui-theme
attribute frombody
(in 4.0 it will be onhtml
instead) — all those global effects target this attribute specifically so it can be turned off. You can do it inngOnInit
of your main component, for example.