
                // Simplified color-contrast function to replicate bootstrap in report preview.
                @function preview-color-contrast($background) {
                    @if (lightness($background) > 50) {
                        @return black;
                    } @else {
                        @return white;
                    }
                }

                .o_company_1_layout {
                    font-family: Lato;

                    h2 {
                        color: #00af72;
                    }

                    #informations strong {
                        color: #2f91a5;
                    }

                    .o_total strong {
                        color: #00af72;
                    }

                    .o_company_tagline {
                        color: #00af72
                    }
                &.o_report_layout_bubble {
                    #informations {
                        border-color: #2f91a5;
                        background-color: mix(white, #2f91a5, 92%);
                    }

                    thead th, #total .o_total td {
                        background-color: #00af72;
                        color: preview-color-contrast(#00af72);

                        strong {
                            color: preview-color-contrast(#00af72);
                        }
                    }
                }
            }