pull/5134/head
Cagatay Civici 2024-01-23 15:56:33 +03:00
commit 88c2bbd049
2 changed files with 4 additions and 9 deletions

View File

@ -7,11 +7,7 @@
</DocSectionText>
<div class="card">
<p>Enter "<strong>date</strong>" to display the current date, "<strong>greet {0}</strong>" for a message and "<strong>random</strong>" to get a random number.</p>
<Terminal
welcomeMessage="Welcome to PrimeVue"
prompt="primevue $"
aria-label="PrimeVue Terminal Service"
/>
<Terminal welcomeMessage="Welcome to PrimeVue" prompt="primevue $" aria-label="PrimeVue Terminal Service" />
</div>
<DocSectionCode :code="code" />
</template>

View File

@ -458,11 +458,10 @@ export default {
if (value) {
if (this.$appState.darkTheme) root.style.setProperty('--p-focus-ring-color', 'var(--primary-500)');
else root.style.setProperty('--p-focus-ring-color', 'var(--primary-500)');
}
else {
else root.style.setProperty('--p-focus-ring-color', 'var(--primary-500)');
} else {
if (this.$appState.darkTheme) root.style.setProperty('--p-focus-ring-color', 'var(--surface-500)');
else root.style.setProperty('--p-focus-ring-color', 'var(--surface-400)');
else root.style.setProperty('--p-focus-ring-color', 'var(--surface-400)');
}
}
},