Code Format

pull/5131/head
GitHub Actions Bot 2024-01-23 11:46:06 +00:00
parent 45842b90d3
commit 529d6a3952
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)');
}
}
},