UNPKG

@indielayer/ui

Version:

Indielayer UI Components with Tailwind CSS build for Vue 3

63 lines (59 loc) 2.52 kB
const d = { classes: { wrapper: "" }, styles({ props: o, colors: i, css: a, data: p }) { const n = i.getPalette("primary"), e = i.getPalette("secondary"), t = [` /*General*/ --dp-font-family: var(--font-family-sans); --dp-common-transition: all 0.1s ease-in; /*Generic transition applied on buttons and calendar cells*/ /*Sizing*/ --dp-button-height: 35px; /*Size for buttons in overlays*/ --dp-month-year-row-height: 35px; /*Height of the month-year select row*/ --dp-month-year-row-button-size: 35px; /*Specific height for the next/previous buttons*/ --dp-button-icon-height: 20px; /*Icon sizing in buttons*/ --dp-cell-size: 35px; /*Width and height of calendar cell*/ --dp-cell-padding: 5px; /*Padding in the cell*/ --dp-common-padding: 10px; /*Common padding used*/ --dp-input-icon-padding: 35px; /*Padding on the left side of the input if icon is present*/ --dp-input-padding: 6px 30px 6px 12px; /*Padding in the input*/ --dp-menu-min-width: 260px; /*Adjust the min width of the menu*/ --dp-action-buttons-padding: 12px; /*Adjust padding for the action buttons in action row*/ --dp-row-margin: 5px 0; /*Adjust the spacing between rows in the calendar*/ --dp-calendar-header-cell-padding: 0.5rem; /*Adjust padding in calendar header cells*/ --dp-two-calendars-spacing: 10px; /*Space between multiple calendars*/ --dp-overlay-col-padding: 3px; /*Padding in the overlay column*/ --dp-time-inc-dec-button-size: 32px; /*Sizing for arrow buttons in the time picker*/ --dp-menu-padding: 6px 8px; /*Menu padding*/ /*Font sizes*/ --dp-font-size: 0.875rem; /*Default font-size*/ --dp-preview-font-size: 0.875rem; /*Font size of the date preview in the action row*/ --dp-time-font-size: 0.8rem; /*Font size in the time picker*/ /*Transitions*/ --dp-animation-duration: 0.1s; /*Transition duration*/ --dp-menu-appear-transition-timing: cubic-bezier(.4, 0, 1, 1); /*Timing on menu appear animation*/ --dp-transition-timing: ease-out; /*Timing on slide animations*/ `]; return t.push(a.variables({ bg: "#fff", text: e[800], disabled: e[300], range: n[100], icon: e[500], primary: n[500], border: e[100], dark: { bg: e[800], text: e[100], disabled: e[600], range: n[900], icon: e[200], primary: n[500], border: e[800] } })), t; } }, r = d; export { r as default };