mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Unified link colors for accessibility and easier maintenance
This commit is contained in:
parent
65c6403acc
commit
69d9c0875b
21 changed files with 272 additions and 267 deletions
|
@ -43,7 +43,7 @@
|
|||
|
||||
<template v-else-if="k === 'parameters'">
|
||||
<div class="doc-option-params">
|
||||
<span v-if="v.name" :class="{ 'text-primary-700': label === 'Slots', 'doc-option-parameter-name': label === 'Emits' }"> {{ v.name }} : </span>
|
||||
<span v-if="v.name" class="doc-option-parameter-name"> {{ v.name }}: </span>
|
||||
<template v-for="(value, i) in getType(v.type)" :key="value">
|
||||
{{ i !== 0 ? ' | ' : '' }}<NuxtLink v-if="isLinkType(value)" :to="setLinkPath(value)" class="doc-option-link doc-option-parameter-type"> {{ value }} </NuxtLink>
|
||||
<span v-else :class="{ 'doc-option-parameter-type': label === 'Emits' }" v-html="value"> </span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue