Remove borders on overlays for Material

pull/6537/head
Cagatay Civici 2024-10-04 23:12:44 +03:00
parent 99ec7dce3a
commit d36e9b5e61
5 changed files with 15 additions and 5 deletions

View File

@ -1,7 +1,7 @@
export default { export default {
root: { root: {
background: '{content.background}', background: '{content.background}',
borderColor: '{content.border.color}', borderColor: 'transparent',
color: '{content.color}', color: '{content.color}',
borderRadius: '{content.border.radius}', borderRadius: '{content.border.radius}',
shadow: '{overlay.navigation.shadow}', shadow: '{overlay.navigation.shadow}',

View File

@ -36,7 +36,7 @@ export default {
overlay: { overlay: {
padding: '0', padding: '0',
background: '{content.background}', background: '{content.background}',
borderColor: '{content.border.color}', borderColor: 'transparent',
borderRadius: '{content.border.radius}', borderRadius: '{content.border.radius}',
color: '{content.color}', color: '{content.color}',
shadow: '{overlay.navigation.shadow}', shadow: '{overlay.navigation.shadow}',

View File

@ -31,5 +31,10 @@ export default {
}, },
separator: { separator: {
borderColor: '{content.border.color}' borderColor: '{content.border.color}'
} },
css: ({ dt }) => `
.p-menu-overlay {
border-color: transparent;
}
`
}; };

View File

@ -31,7 +31,7 @@ export default {
padding: '{navigation.list.padding}', padding: '{navigation.list.padding}',
gap: '{navigation.list.gap}', gap: '{navigation.list.gap}',
background: '{content.background}', background: '{content.background}',
borderColor: '{content.border.color}', borderColor: 'transparent',
borderRadius: '{content.border.radius}', borderRadius: '{content.border.radius}',
shadow: '{overlay.navigation.shadow}', shadow: '{overlay.navigation.shadow}',
mobileIndent: '1rem' mobileIndent: '1rem'

View File

@ -43,5 +43,10 @@ export default {
}, },
separator: { separator: {
borderColor: '{content.border.color}' borderColor: '{content.border.color}'
} },
css: ({ dt }) => `
.p-tieredmenu-overlay {
border-color: transparent;
}
`
}; };