UNPKG

react-garden

Version:

React + TypeScript + ThreeJS app using Material UI on NextJS, Apollo Client, GraphQL + WordPress REST APIs, for ThreeD web development.. a part of the threed.ai code family.

44 lines (34 loc) 1.22 kB
// ThreeD Garden Base Styles import colors from "~/themes/theme-light/base/colors" // ThreeD Garden Helper Functions import rgba from "~/themes/theme-light/functions/rgba" const { info, white, gradients } = colors // types type Types = any const flatpickr: Types = { ".flatpickr-day:hover, .flatpickr-day:focus, .flatpickr-day.nextMonthDay:hover, .flatpickr-day.nextMonthDay:focus": { background: rgba(info.main, 0.28), border: "none", }, ".flatpickr-day.today": { background: info.main, color: white.main, border: "none", "&:hover, &:focus": { background: `${info.focus} !important`, }, }, ".flatpickr-day.selected, .flatpickr-day.selected:hover, .flatpickr-day.nextMonthDay.selected, .flatpickr-day.nextMonthDay.selected:hover, .flatpickr-day.nextMonthDay.selected:focus": { background: `${gradients.info.state} !important`, color: white.main, border: "none", }, ".flatpickr-months .flatpickr-next-month:hover svg, .flatpickr-months .flatpickr-prev-month:hover svg": { color: `${info.main} !important`, fill: `${info.main} !important`, }, } export default flatpickr