.pd-fb-table {
    td,
    th {
        &:first-of-type {
            // Checkbox cell
            position: relative; // Because of .increase-surface-click
            padding-left: 1em;
            padding-right: 1em;
            width: calc(1.6rem + 2em);
        }
    }
}

.pd-fb-grid-item {
    background-color: var(--bgcolor-input, $pm-input-background);

    &:hover,
    &:focus {
        @extend .bg-global-highlight;
    }
}

.pd-fb-grid-item.pd-fb-grid-item--highlight {
    @extend .bg-global-highlight;
}

.pd-fb-table {
    td,
    th {
        &:first-of-type {
            // Checkbox cell
            position: relative; // Because of .increase-surface-click
            padding-left: 1em;
            padding-right: 1em;
            width: calc(1.6rem + 2em);
        }
    }
}

.pd-fb-grid-item {
    background-color: var(--bgcolor-input, $pm-input-background);

    &:hover,
    &:focus {
        @extend .bg-global-highlight;
    }
}

.isDarkMode .pd-fb-grid-item {
    @extend .bg-global-grey;
}

.pd-fb-grid-item.pd-fb-grid-item--highlight {
    @extend .bg-global-highlight;
}

Fix dark-mode grid view colors
Fix dark-mode grid view colors
