You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Besides using the already available default and gray themes, with the release v5.5.8 (March 26, 2020) we added an option for our customers to create a custom theme for WProofreader. You will be able to overwrite the default styles and adjust the look and feel of WProofreader to the style of your product.

1. Add theme option to the config and specify custom as a value.

<script>
    window.WEBSPELLCHECKER_CONFIG = {
        ...
        theme: 'custom',
        ...
    }
</script>

2. Create you custom CSS styles to overwrite the default theme of WProofreader.

<style>
    .wsc-theme-custom .wsc-badge__label-button {
        background-color: blue !important;
    }
</style>