/** @module Mixins */

/**
 * CSS to hide text to show a background image in a SEO-Friendly.
 * @static
 * @return {Object} CSS as JS.
 * @example
 * // Styles as object usage
 * const styles = {
 *   'background-image': 'url(logo.png)',
 *   ...hideText(),
 * }
 *
 * // styled-components usage
 * const div = styled.div`
 *   background-image: url(logo.png);
 *   ${...hideText()};
 * `
 *
 * // CSS as JS Output
 *
 * div {
 *   'background-image': 'url(logo.png)',
 *   'text-indent': '101%',
 *   'overflow': 'hidden',
 *   'white-space': 'nowrap',
 * }
 */

function hideText() {
  return {
    'text-indent': '101%',
    'overflow': 'hidden',
    'white-space': 'nowrap',
  }
}

export default hideText

@@ -361,19 +361,16 @@
 %0A *   $%7B
-...
 hideText

Fix bug in documentation