Code Format
parent
45842b90d3
commit
529d6a3952
|
@ -7,11 +7,7 @@
|
||||||
</DocSectionText>
|
</DocSectionText>
|
||||||
<div class="card">
|
<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>
|
<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
|
<Terminal welcomeMessage="Welcome to PrimeVue" prompt="primevue $" aria-label="PrimeVue Terminal Service" />
|
||||||
welcomeMessage="Welcome to PrimeVue"
|
|
||||||
prompt="primevue $"
|
|
||||||
aria-label="PrimeVue Terminal Service"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
<DocSectionCode :code="code" />
|
<DocSectionCode :code="code" />
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -458,11 +458,10 @@ export default {
|
||||||
|
|
||||||
if (value) {
|
if (value) {
|
||||||
if (this.$appState.darkTheme) root.style.setProperty('--p-focus-ring-color', 'var(--primary-500)');
|
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 root.style.setProperty('--p-focus-ring-color', 'var(--primary-500)');
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
if (this.$appState.darkTheme) root.style.setProperty('--p-focus-ring-color', 'var(--surface-500)');
|
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)');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue