pull/6537/head
Mert Sincan 2024-10-04 14:14:16 +01:00
parent 6e28de62f2
commit 6417a11185
29 changed files with 37 additions and 38 deletions

View File

@ -48,7 +48,7 @@ export default {
color: '{text.color}', color: '{text.color}',
padding: '0 1.25rem 1.25rem 1.25rem' padding: '0 1.25rem 1.25rem 1.25rem'
}, },
style: ({ dt }) => ` css: ({ dt }) => `
.p-accordionpanel { .p-accordionpanel {
box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12); box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);
transition: margin ${dt('accordion.transition.duration')}; transition: margin ${dt('accordion.transition.duration')};

View File

@ -95,7 +95,7 @@ export default {
} }
} }
}, },
style: ({ dt }) => ` css: ({ dt }) => `
.p-autocomplete-dropdown:focus-visible { .p-autocomplete-dropdown:focus-visible {
background: ${dt('autocomplete.dropdown.hover.background')}; background: ${dt('autocomplete.dropdown.hover.background')};
border-color: ${dt('autocomplete.dropdown.hover.border.color')}; border-color: ${dt('autocomplete.dropdown.hover.border.color')};

View File

@ -484,7 +484,7 @@ export default {
} }
} }
}, },
style: ({ dt }) => ` css: ({ dt }) => `
.p-button:focus-visible { .p-button:focus-visible {
background: ${dt('button.primary.active.background')}; background: ${dt('button.primary.active.background')};
border-color: ${dt('button.primary.active.background')}; border-color: ${dt('button.primary.active.background')};

View File

@ -37,7 +37,7 @@ export default {
} }
} }
}, },
style: ({ dt }) => ` css: ({ dt }) => `
.p-carousel-indicator-button:hover { .p-carousel-indicator-button:hover {
box-shadow: 0 0 1px 10px color-mix(in srgb, ${dt('text.color')}, transparent 96%); box-shadow: 0 0 1px 10px color-mix(in srgb, ${dt('text.color')}, transparent 96%);
} }

View File

@ -56,7 +56,7 @@ export default {
size: '0.875rem' size: '0.875rem'
} }
}, },
style: ({ dt }) => ` css: ({ dt }) => `
.p-cascadeselect.p-variant-filled { .p-cascadeselect.p-variant-filled {
border-bottom-left-radius: 0; border-bottom-left-radius: 0;
border-bottom-right-radius: 0; border-bottom-right-radius: 0;

View File

@ -33,7 +33,7 @@ export default {
checkedHoverColor: '{primary.contrast.color}', checkedHoverColor: '{primary.contrast.color}',
disabledColor: '{form.field.disabled.color}' disabledColor: '{form.field.disabled.color}'
}, },
style: ({ dt }) => ` css: ({ dt }) => `
.p-checkbox { .p-checkbox {
border-radius: 50%; border-radius: 50%;
transition: box-shadow ${dt('checkbox.transition.duration')}; transition: box-shadow ${dt('checkbox.transition.duration')};

View File

@ -166,7 +166,7 @@ export default {
} }
} }
}, },
style: ({ dt }) => ` css: ({ dt }) => `
.p-datatable-header-cell, .p-datatable-header-cell,
.p-datatable-tbody > tr { .p-datatable-tbody > tr {
transition: none; transition: none;

View File

@ -137,7 +137,7 @@ export default {
} }
} }
}, },
style: ({ dt }) => ` css: ({ dt }) => `
.p-datepicker-header { .p-datepicker-header {
justify-content: start; justify-content: start;
} }

View File

@ -30,7 +30,7 @@ export default {
color: '{content.color}', color: '{content.color}',
borderRadius: '{content.border.radius}' borderRadius: '{content.border.radius}'
}, },
style: ({ dt }) => ` css: ({ dt }) => `
.p-editor .p-editor-toolbar { .p-editor .p-editor-toolbar {
padding: 0.75rem padding: 0.75rem
} }

View File

@ -33,7 +33,7 @@ export default {
content: { content: {
padding: '0' padding: '0'
}, },
style: ({ dt }) => ` css: ({ dt }) => `
.p-fieldset-toggle-button:focus-visible { .p-fieldset-toggle-button:focus-visible {
background: ${dt('navigation.item.active.background')}; background: ${dt('navigation.item.active.background')};

View File

@ -180,7 +180,7 @@ export default {
tooltip, tooltip,
ripple ripple
}, },
style: ({ dt }) => ` css: ({ dt }) => `
` `
}; };

View File

@ -35,7 +35,7 @@ export default {
} }
} }
}, },
style: ({ dt }) => ` css: ({ dt }) => `
.p-inputnumber-stacked .p-inputnumber-button-group { .p-inputnumber-stacked .p-inputnumber-button-group {
top: 2px; top: 2px;
right: 2px; right: 2px;

View File

@ -35,7 +35,7 @@ export default {
paddingY: '1rem' paddingY: '1rem'
} }
}, },
style: ({ dt }) => ` css: ({ dt }) => `
.p-inputtext.p-variant-filled { .p-inputtext.p-variant-filled {
border-bottom-left-radius: 0; border-bottom-left-radius: 0;
border-bottom-right-radius: 0; border-bottom-right-radius: 0;

View File

@ -63,7 +63,7 @@ export default {
} }
} }
}, },
style: ({ dt }) => ` css: ({ dt }) => `
.p-listbox-option { .p-listbox-option {
transition: none; transition: none;
} }

View File

@ -75,7 +75,7 @@ export default {
shadow: 'none' shadow: 'none'
} }
}, },
style: ({ dt }) => ` css: ({ dt }) => `
.p-megamenu-button:focus-visible { .p-megamenu-button:focus-visible {
background: ${dt('navigation.item.active.background')}; background: ${dt('navigation.item.active.background')};
} }

View File

@ -59,7 +59,7 @@ export default {
shadow: 'none' shadow: 'none'
} }
}, },
style: ({ dt }) => ` css: ({ dt }) => `
.p-menubar-button:focus-visible { .p-menubar-button:focus-visible {
background: ${dt('navigation.item.active.background')}; background: ${dt('navigation.item.active.background')};
} }

View File

@ -67,7 +67,7 @@ export default {
emptyMessage: { emptyMessage: {
padding: '{list.option.padding}' padding: '{list.option.padding}'
}, },
style: ({ dt }) => ` css: ({ dt }) => `
.p-multiselect.p-variant-filled { .p-multiselect.p-variant-filled {
border-bottom-left-radius: 0; border-bottom-left-radius: 0;
border-bottom-right-radius: 0; border-bottom-right-radius: 0;

View File

@ -38,7 +38,7 @@ export default {
color: '{navigation.submenu.icon.color}', color: '{navigation.submenu.icon.color}',
focusColor: '{navigation.submenu.icon.focus.color}' focusColor: '{navigation.submenu.icon.focus.color}'
}, },
style: ({ dt }) => ` css: ({ dt }) => `
.p-panelmenu-panel { .p-panelmenu-panel {
box-shadow: 0 0 0 1px ${dt('panelmenu.panel.border.color')}; box-shadow: 0 0 0 1px ${dt('panelmenu.panel.border.color')};
transition: margin ${dt('panelmenu.transition.duration')}; transition: margin ${dt('panelmenu.transition.duration')};

View File

@ -31,7 +31,7 @@ export default {
checkedHoverColor: '{primary.color}', checkedHoverColor: '{primary.color}',
disabledColor: '{form.field.disabled.color}' disabledColor: '{form.field.disabled.color}'
}, },
style: ({ dt }) => ` css: ({ dt }) => `
.p-radiobutton { .p-radiobutton {
border-radius: 50%; border-radius: 50%;
transition: box-shadow ${dt('radiobutton.transition.duration')}; transition: box-shadow ${dt('radiobutton.transition.duration')};

View File

@ -16,7 +16,7 @@ export default {
hoverColor: '{primary.color}', hoverColor: '{primary.color}',
activeColor: '{primary.color}' activeColor: '{primary.color}'
}, },
style: ({ dt }) => ` css: ({ dt }) => `
.p-rating:not(.p-disabled):not(.p-readonly) .p-rating-option:hover { .p-rating:not(.p-disabled):not(.p-readonly) .p-rating-option:hover {
background: color-mix(in srgb, ${dt('rating.icon.color')}, transparent 96%); background: color-mix(in srgb, ${dt('rating.icon.color')}, transparent 96%);
box-shadow: 0 0 1px 8px color-mix(in srgb, ${dt('rating.icon.color')}, transparent 96%); box-shadow: 0 0 1px 8px color-mix(in srgb, ${dt('rating.icon.color')}, transparent 96%);

View File

@ -71,7 +71,7 @@ export default {
emptyMessage: { emptyMessage: {
padding: '{list.option.padding}' padding: '{list.option.padding}'
}, },
style: ({ dt }) => ` css: ({ dt }) => `
.p-select.p-variant-filled { .p-select.p-variant-filled {
border-bottom-left-radius: 0; border-bottom-left-radius: 0;
border-bottom-right-radius: 0; border-bottom-right-radius: 0;

View File

@ -32,7 +32,7 @@ export default {
shadow: 'none' shadow: 'none'
} }
}, },
style: ({ dt }) => ` css: ({ dt }) => `
.p-slider-handle { .p-slider-handle {
transition: box-shadow ${dt('slider.transition.duration')}; transition: box-shadow ${dt('slider.transition.duration')};
} }

View File

@ -63,10 +63,9 @@ export default {
} }
} }
}, },
style: ({ dt }) => ` css: ({ dt }) => `
.p-step-header:focus-visible { .p-step-header:focus-visible {
background: ${dt('navigation.item.active.background')}; background: ${dt('navigation.item.active.background')};
} }
}
` `
}; };

View File

@ -61,7 +61,7 @@ export default {
bottom: '-1px', bottom: '-1px',
background: '{primary.color}' background: '{primary.color}'
}, },
style: ({ dt }) => ` css: ({ dt }) => `
.p-tabs-scrollable .p-tab { .p-tabs-scrollable .p-tab {

View File

@ -49,7 +49,7 @@ export default {
} }
} }
}, },
style: ({ dt }) => ` css: ({ dt }) => `
.p-togglebutton:focus-visible { .p-togglebutton:focus-visible {
background: ${dt('togglebutton.hover.background')}; background: ${dt('togglebutton.hover.background')};
} }

View File

@ -65,7 +65,7 @@ export default {
} }
} }
}, },
style: ({ dt }) => ` css: ({ dt }) => `
.p-toggleswitch-handle { .p-toggleswitch-handle {
box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12); box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
} }

View File

@ -48,7 +48,7 @@ export default {
loadingIcon: { loadingIcon: {
size: '2rem' size: '2rem'
}, },
style: ({ dt }) => ` css: ({ dt }) => `
.p-tree-node-content { .p-tree-node-content {
transition: none; transition: none;
} }

View File

@ -45,7 +45,7 @@ export default {
chip: { chip: {
borderRadius: '{border.radius.sm}' borderRadius: '{border.radius.sm}'
}, },
style: ({ dt }) => ` css: ({ dt }) => `
.p-treeselect.p-variant-filled { .p-treeselect.p-variant-filled {
border-bottom-left-radius: 0; border-bottom-left-radius: 0;
border-bottom-right-radius: 0; border-bottom-right-radius: 0;

View File

@ -120,7 +120,7 @@ export default {
} }
} }
}, },
style: ({ dt }) => ` css: ({ dt }) => `
.p-treetable-header-cell, .p-treetable-header-cell,
.p-treetable-tbody > tr { .p-treetable-tbody > tr {
transition: none; transition: none;