Material overlays
parent
0bc6a19adc
commit
2924e3d42a
|
@ -4,17 +4,17 @@ export default {
|
||||||
roundedBorderRadius: '2rem',
|
roundedBorderRadius: '2rem',
|
||||||
gap: '0.5rem',
|
gap: '0.5rem',
|
||||||
paddingX: '1rem',
|
paddingX: '1rem',
|
||||||
paddingY: '{form.field.padding.y}',
|
paddingY: '0.625rem',
|
||||||
iconOnlyWidth: '3rem',
|
iconOnlyWidth: '3rem',
|
||||||
sm: {
|
sm: {
|
||||||
fontSize: '0.875rem',
|
fontSize: '0.875rem',
|
||||||
paddingX: '0.875rem',
|
paddingX: '0.875rem',
|
||||||
paddingY: '0.625rem'
|
paddingY: '0.5rem'
|
||||||
},
|
},
|
||||||
lg: {
|
lg: {
|
||||||
fontSize: '1.125rem',
|
fontSize: '1.125rem',
|
||||||
paddingX: '1.25rem',
|
paddingX: '1.125rem',
|
||||||
paddingY: '1rem'
|
paddingY: '0.75rem'
|
||||||
},
|
},
|
||||||
label: {
|
label: {
|
||||||
fontWeight: '500'
|
fontWeight: '500'
|
||||||
|
|
|
@ -8,13 +8,13 @@ export default {
|
||||||
color: '{content.color}',
|
color: '{content.color}',
|
||||||
borderRadius: '{content.border.radius}',
|
borderRadius: '{content.border.radius}',
|
||||||
shadow: '{overlay.popover.shadow}',
|
shadow: '{overlay.popover.shadow}',
|
||||||
padding: '{overlay.popover.padding}'
|
padding: '0.5rem'
|
||||||
},
|
},
|
||||||
header: {
|
header: {
|
||||||
background: '{content.background}',
|
background: '{content.background}',
|
||||||
borderColor: '{content.border.color}',
|
borderColor: '{content.border.color}',
|
||||||
color: '{content.color}',
|
color: '{content.color}',
|
||||||
padding: '0 0 0.75rem 0',
|
padding: '0 0 0.5rem 0',
|
||||||
fontWeight: '500',
|
fontWeight: '500',
|
||||||
gap: '0.5rem'
|
gap: '0.5rem'
|
||||||
},
|
},
|
||||||
|
@ -58,7 +58,7 @@ export default {
|
||||||
gap: '{overlay.popover.padding}'
|
gap: '{overlay.popover.padding}'
|
||||||
},
|
},
|
||||||
dayView: {
|
dayView: {
|
||||||
margin: '0.75rem 0 0 0'
|
margin: '0.5rem 0 0 0'
|
||||||
},
|
},
|
||||||
weekDay: {
|
weekDay: {
|
||||||
padding: '0.5rem',
|
padding: '0.5rem',
|
||||||
|
@ -76,7 +76,7 @@ export default {
|
||||||
width: '2.5rem',
|
width: '2.5rem',
|
||||||
height: '2.5rem',
|
height: '2.5rem',
|
||||||
borderRadius: '50%',
|
borderRadius: '50%',
|
||||||
padding: '0.5rem',
|
padding: '0.125rem',
|
||||||
focusRing: {
|
focusRing: {
|
||||||
width: '{focus.ring.width}',
|
width: '{focus.ring.width}',
|
||||||
style: '{focus.ring.style}',
|
style: '{focus.ring.style}',
|
||||||
|
@ -86,23 +86,23 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
monthView: {
|
monthView: {
|
||||||
margin: '0.75rem 0 0 0'
|
margin: '0.5rem 0 0 0'
|
||||||
},
|
},
|
||||||
month: {
|
month: {
|
||||||
borderRadius: '{content.border.radius}'
|
borderRadius: '{content.border.radius}'
|
||||||
},
|
},
|
||||||
yearView: {
|
yearView: {
|
||||||
margin: '0.75rem 0 0 0'
|
margin: '0.5rem 0 0 0'
|
||||||
},
|
},
|
||||||
year: {
|
year: {
|
||||||
borderRadius: '{content.border.radius}'
|
borderRadius: '{content.border.radius}'
|
||||||
},
|
},
|
||||||
buttonbar: {
|
buttonbar: {
|
||||||
padding: '0.75rem 0 0 0',
|
padding: '0.5rem 0 0 0',
|
||||||
borderColor: '{content.border.color}'
|
borderColor: '{content.border.color}'
|
||||||
},
|
},
|
||||||
timePicker: {
|
timePicker: {
|
||||||
padding: '0.75rem 0 0 0',
|
padding: '0.5rem 0 0 0',
|
||||||
borderColor: '{content.border.color}',
|
borderColor: '{content.border.color}',
|
||||||
gap: '0.5rem',
|
gap: '0.5rem',
|
||||||
buttonGap: '0.25rem'
|
buttonGap: '0.25rem'
|
||||||
|
|
|
@ -9,14 +9,14 @@ export default {
|
||||||
header: {
|
header: {
|
||||||
background: 'transparent',
|
background: 'transparent',
|
||||||
color: '{text.color}',
|
color: '{text.color}',
|
||||||
padding: '1.125rem',
|
padding: '1.25rem',
|
||||||
borderWidth: '0',
|
borderWidth: '0',
|
||||||
borderRadius: '0',
|
borderRadius: '0',
|
||||||
gap: '0.5rem'
|
gap: '0.5rem'
|
||||||
},
|
},
|
||||||
content: {
|
content: {
|
||||||
highlightBorderColor: '{primary.color}',
|
highlightBorderColor: '{primary.color}',
|
||||||
padding: '0 1.125rem 1.125rem 1.125rem'
|
padding: '0 1.25rem 1.25rem 1.25rem'
|
||||||
},
|
},
|
||||||
file: {
|
file: {
|
||||||
padding: '1rem',
|
padding: '1rem',
|
||||||
|
|
|
@ -1,23 +1,11 @@
|
||||||
export default {
|
export default {
|
||||||
root: {
|
root: {
|
||||||
|
background: '{surface.600}',
|
||||||
|
color: '{surface.0}',
|
||||||
maxWidth: '12.5rem',
|
maxWidth: '12.5rem',
|
||||||
gutter: '0.25rem',
|
gutter: '0.25rem',
|
||||||
shadow: '{overlay.popover.shadow}',
|
shadow: '{overlay.popover.shadow}',
|
||||||
padding: '0.5rem 0.75rem',
|
padding: '0.5rem 0.75rem',
|
||||||
borderRadius: '{overlay.popover.border.radius}'
|
borderRadius: '{overlay.popover.border.radius}'
|
||||||
},
|
|
||||||
colorScheme: {
|
|
||||||
light: {
|
|
||||||
root: {
|
|
||||||
background: '{surface.700}',
|
|
||||||
color: '{surface.0}'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
dark: {
|
|
||||||
root: {
|
|
||||||
background: '{surface.700}',
|
|
||||||
color: '{surface.0}'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue