This STYLE statement changes the value of the VISITEDLINKCOLOR= attribute in the style element contents so that the links in the table of contents appear in the same color as the rest of the table of contents. It also changes the foreground color so that the title of the table of contents appears in the same color as system titles.
   style contents from contents /
      visitedlinkcolor=colors("systitlefg")
      foreground = colors('systitlefg');