@include export-module('co-tooltip-theme') {
  .co-tooltip {
    background-color: $co-tooltip-background-color;
    color: $co-tooltip-color;
    border-color: $co-tooltip-border-color;

    &::after {
      border-bottom-color: transparent;
      border-top-color: $co-tooltip-border-color;
    }

    &::before {
      border-bottom-color: transparent;
      border-top-color: $co-tooltip-background-color;
    }

    @if $co-tooltip-border == "none" {
      &::after {
        display: none;
      }
    }
    &.bottom {
      &::after {
        border-top-color: transparent;
        border-bottom-color: $co-tooltip-border-color;
      }
      &::before {
        border-top-color: transparent;
        border-bottom-color: $co-tooltip-background-color;
      }
    }
  }
}
