Fixed #6665 - Listbox - Remove Unused Tokens
parent
f0e4cc7a21
commit
9945048524
|
@ -12,13 +12,6 @@ const theme = ({ dt }) => `
|
||||||
box-shadow: ${dt('listbox.shadow')};
|
box-shadow: ${dt('listbox.shadow')};
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-listbox.p-focus {
|
|
||||||
border-color: ${dt('listbox.focus.border.color')};
|
|
||||||
box-shadow: ${dt('listbox.focus.ring.shadow')};
|
|
||||||
outline: ${dt('listbox.focus.ring.width')} ${dt('listbox.focus.ring.style')} ${dt('listbox.focus.ring.color')};
|
|
||||||
outline-offset: ${dt('listbox.focus.ring.offset')};
|
|
||||||
}
|
|
||||||
|
|
||||||
.p-listbox.p-disabled {
|
.p-listbox.p-disabled {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
background: ${dt('listbox.disabled.background')};
|
background: ${dt('listbox.disabled.background')};
|
||||||
|
|
|
@ -3,20 +3,11 @@ export default {
|
||||||
background: '{form.field.background}',
|
background: '{form.field.background}',
|
||||||
disabledBackground: '{form.field.disabled.background}',
|
disabledBackground: '{form.field.disabled.background}',
|
||||||
borderColor: '{form.field.border.color}',
|
borderColor: '{form.field.border.color}',
|
||||||
hoverBorderColor: '{form.field.hover.border.color}',
|
|
||||||
focusBorderColor: '{form.field.focus.border.color}',
|
|
||||||
invalidBorderColor: '{form.field.invalid.border.color}',
|
invalidBorderColor: '{form.field.invalid.border.color}',
|
||||||
color: '{form.field.color}',
|
color: '{form.field.color}',
|
||||||
disabledColor: '{form.field.disabled.color}',
|
disabledColor: '{form.field.disabled.color}',
|
||||||
shadow: '{form.field.shadow}',
|
shadow: '{form.field.shadow}',
|
||||||
borderRadius: '{form.field.border.radius}',
|
borderRadius: '{form.field.border.radius}',
|
||||||
focusRing: {
|
|
||||||
width: '{form.field.focus.ring.width}',
|
|
||||||
style: '{form.field.focus.ring.style}',
|
|
||||||
color: '{form.field.focus.ring.color}',
|
|
||||||
offset: '{form.field.focus.ring.offset}',
|
|
||||||
shadow: '{form.field.focus.ring.shadow}'
|
|
||||||
},
|
|
||||||
transitionDuration: '{form.field.transition.duration}'
|
transitionDuration: '{form.field.transition.duration}'
|
||||||
},
|
},
|
||||||
list: {
|
list: {
|
||||||
|
|
|
@ -3,20 +3,11 @@ export default {
|
||||||
background: '{form.field.background}',
|
background: '{form.field.background}',
|
||||||
disabledBackground: '{form.field.disabled.background}',
|
disabledBackground: '{form.field.disabled.background}',
|
||||||
borderColor: '{form.field.border.color}',
|
borderColor: '{form.field.border.color}',
|
||||||
hoverBorderColor: '{form.field.hover.border.color}',
|
|
||||||
focusBorderColor: '{form.field.focus.border.color}',
|
|
||||||
invalidBorderColor: '{form.field.invalid.border.color}',
|
invalidBorderColor: '{form.field.invalid.border.color}',
|
||||||
color: '{form.field.color}',
|
color: '{form.field.color}',
|
||||||
disabledColor: '{form.field.disabled.color}',
|
disabledColor: '{form.field.disabled.color}',
|
||||||
shadow: '{form.field.shadow}',
|
shadow: '{form.field.shadow}',
|
||||||
borderRadius: '{form.field.border.radius}',
|
borderRadius: '{form.field.border.radius}',
|
||||||
focusRing: {
|
|
||||||
width: '{form.field.focus.ring.width}',
|
|
||||||
style: '{form.field.focus.ring.style}',
|
|
||||||
color: '{form.field.focus.ring.color}',
|
|
||||||
offset: '{form.field.focus.ring.offset}',
|
|
||||||
shadow: '{form.field.focus.ring.shadow}'
|
|
||||||
},
|
|
||||||
transitionDuration: '{form.field.transition.duration}'
|
transitionDuration: '{form.field.transition.duration}'
|
||||||
},
|
},
|
||||||
list: {
|
list: {
|
||||||
|
|
|
@ -3,20 +3,11 @@ export default {
|
||||||
background: '{form.field.background}',
|
background: '{form.field.background}',
|
||||||
disabledBackground: '{form.field.disabled.background}',
|
disabledBackground: '{form.field.disabled.background}',
|
||||||
borderColor: '{form.field.border.color}',
|
borderColor: '{form.field.border.color}',
|
||||||
hoverBorderColor: '{form.field.hover.border.color}',
|
|
||||||
focusBorderColor: '{form.field.focus.border.color}',
|
|
||||||
invalidBorderColor: '{form.field.invalid.border.color}',
|
invalidBorderColor: '{form.field.invalid.border.color}',
|
||||||
color: '{form.field.color}',
|
color: '{form.field.color}',
|
||||||
disabledColor: '{form.field.disabled.color}',
|
disabledColor: '{form.field.disabled.color}',
|
||||||
shadow: '{form.field.shadow}',
|
shadow: '{form.field.shadow}',
|
||||||
borderRadius: '{form.field.border.radius}',
|
borderRadius: '{form.field.border.radius}',
|
||||||
focusRing: {
|
|
||||||
width: '{form.field.focus.ring.width}',
|
|
||||||
style: '{form.field.focus.ring.style}',
|
|
||||||
color: '{form.field.focus.ring.color}',
|
|
||||||
offset: '{form.field.focus.ring.offset}',
|
|
||||||
shadow: '{form.field.focus.ring.shadow}'
|
|
||||||
},
|
|
||||||
transitionDuration: '{form.field.transition.duration}'
|
transitionDuration: '{form.field.transition.duration}'
|
||||||
},
|
},
|
||||||
list: {
|
list: {
|
||||||
|
|
|
@ -3,20 +3,11 @@ export default {
|
||||||
background: '{form.field.background}',
|
background: '{form.field.background}',
|
||||||
disabledBackground: '{form.field.disabled.background}',
|
disabledBackground: '{form.field.disabled.background}',
|
||||||
borderColor: '{form.field.border.color}',
|
borderColor: '{form.field.border.color}',
|
||||||
hoverBorderColor: '{form.field.hover.border.color}',
|
|
||||||
focusBorderColor: '{form.field.focus.border.color}',
|
|
||||||
invalidBorderColor: '{form.field.invalid.border.color}',
|
invalidBorderColor: '{form.field.invalid.border.color}',
|
||||||
color: '{form.field.color}',
|
color: '{form.field.color}',
|
||||||
disabledColor: '{form.field.disabled.color}',
|
disabledColor: '{form.field.disabled.color}',
|
||||||
shadow: '{form.field.shadow}',
|
shadow: '{form.field.shadow}',
|
||||||
borderRadius: '{form.field.border.radius}',
|
borderRadius: '{form.field.border.radius}',
|
||||||
focusRing: {
|
|
||||||
width: '{form.field.focus.ring.width}',
|
|
||||||
style: '{form.field.focus.ring.style}',
|
|
||||||
color: '{form.field.focus.ring.color}',
|
|
||||||
offset: '{form.field.focus.ring.offset}',
|
|
||||||
shadow: '{form.field.focus.ring.shadow}'
|
|
||||||
},
|
|
||||||
transitionDuration: '{form.field.transition.duration}'
|
transitionDuration: '{form.field.transition.duration}'
|
||||||
},
|
},
|
||||||
list: {
|
list: {
|
||||||
|
|
Loading…
Reference in New Issue