Ant Design Charts更改tooltip样式的方法

tooltip是一个DOM,并不是在config中配置的。。。。。。

:global(.g2-tooltip) {
  background: #717bb8 !important;
  box-shadow: #fff 0px 0px 0px !important;
  opacity: 1 !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
:global {
  .g2-tooltip-title {
    color: #b0bed6 !important;
  }
  .g2-tooltip-list {
    li {
      text-align: left;
    }
    .g2-tooltip-name,
    .g2-tooltip-value {
      color: #b0bed6 !important;
    }
  }
}