{
  "subject": "base-styles",
  "title": "Base Styles",
  "docs": "https://test-apps.eurodata.de/a/eurodata-ui/docs/theming/base-styles/",
  "usage": "https://test-apps.eurodata.de/a/eurodata-ui/docs/theming/base-styles/usage/",
  "use": [],
  "notFor": [],
  "rules": [
    {
      "id": "base-styles/underline-means-link",
      "rule": "Signal a hyperlink by the link color and the link decoration — the base styles set both on `<a>`, and `ed-link` gives the same look to another element. Never underline text that is not a link.",
      "check": "warning"
    },
    {
      "id": "base-styles/no-hr",
      "rule": "Never separate sections with `<hr>` — it is styled, but the design system's divider is `ed-divider`.",
      "check": "error",
      "covered": true
    },
    {
      "id": "base-styles/no-title-tooltip",
      "rule": "Never show a tooltip with the native `title` attribute — on a library element, a button, a badge or a cut-off label alike. The design system's tooltip is [Tooltip](https://test-apps.eurodata.de/a/eurodata-ui/docs/components/tooltip), an `ed-tooltip` whose `for` names the target's id: it opens on hover and on keyboard focus, wears the theme's look, and a product can style and test it.",
      "why": "A `title` reaches only the pointer, after the browser's own delay and in the browser's own look, and never a keyboard or touch user.",
      "check": "error"
    }
  ]
}
