mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Theming docs progress update
This commit is contained in:
parent
a7c3bf15e3
commit
a9df0acc65
21 changed files with 788 additions and 11 deletions
29
doc/theming/styled/customization/FocusRingDoc.vue
Normal file
29
doc/theming/styled/customization/FocusRingDoc.vue
Normal file
|
@ -0,0 +1,29 @@
|
|||
<template>
|
||||
<DocSectionText v-bind="$attrs">
|
||||
<p>Focus ring defines the outline width, style, color and offset. Let's use a thicker ring with the primary color for the outline.</p>
|
||||
</DocSectionText>
|
||||
<DocSectionCode :code="code" hideToggleCode importCode hideStackBlitz />
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
code: {
|
||||
basic: `
|
||||
const MyPreset = definePreset(Aura, {
|
||||
semantic: {
|
||||
focusRing: {
|
||||
width: '2px',
|
||||
style: 'dashed',
|
||||
color: '{primary.color}',
|
||||
offset: '1px'
|
||||
}
|
||||
}
|
||||
});
|
||||
`
|
||||
}
|
||||
};
|
||||
}
|
||||
};
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue