#theme-switcher-skeleton {
    position: relative;

    &::after {
        content: "";
        position: absolute;

        /* position on the menu item's padding edges */
        box-sizing: border-box;
        width: 16px;
        height: 16px;
        inset-block: 7px;
        inset-inline-end: 10px;

        /* spinner style */
        border-radius: 50%;
        border: 2px solid transparent;
        border-top-color: var(--aui-item-disabled-text, var(--aui-lesser-body-text));

        /* the line below is copied from the `aui-spinner` styles */
        animation: 0.86s cubic-bezier(0.4, 0.15, 0.6, 0.85) infinite spinnerRotateAnimation;
    }

    @keyframes spinnerRotateAnimation {
        to {
            transform: rotate(360deg);
        }
    }
}