How to customize default <input> date picker?

Is there a way to edit the appearance of the default date picker? Right now, I'm just looking to change the primary color from blue to a specific color of red. (see image) Currently, I'm using the <input type="datetime-local"> HTML element through React. The project I'm tasked to work on is using React Bootstrap, but that doesn't seem to have its own date picker, so I went this route
No description
6 Replies
ἔρως
ἔρως3mo ago
currently? not really check if the framework/library you are using has a calendar
TulioG
TulioG3mo ago
From what I've searched react-bootstrap doesn't have one. I would have to look for an additional framework/library, but those would already be customized to the intended appearance of the original creator
clevermissfox
clevermissfox3mo ago
Does accent-color work on it?
TulioG
TulioG3mo ago
Hello @clevermissfox ! Thank you for your response! Sadly it doesn't work based on my testing. It seems that the default <input type="datetime-local"> will vary based on the browser running it. The Firefox implementation doesn't have colors, and also doesn't provide a GUI way to specify a time. Will now mark this thread as 'sovled'
clevermissfox
clevermissfox3mo ago
Boooo.
ἔρως
ἔρως3mo ago
boooo indeed the html spec doesnt say how one should render the calendar, which is a good and bad thing you probably can use a bootstrap calendar
Want results from more Discord servers?
Add your server
More Posts
Priority Plus NavigationHello, I am currently working on my portfolio site using react and I was wondering how someone mightIs there an efficient way to handle SVG usage in Svelte?Instead of this hideous block of code in the picture, is there an easier way to handle using an svg?Looking for any constructive criticism on how I could do better or best practices.I've just completed a front-end coding challenge from @frontendmentor! 🎉 You can see my solution hFixing typeface artefactsDoes anyone with knowledge of font rendering know how I can fix this issue? It seems like the point How to use reusable containers in vanilla htmlI cannot use php since I am planning to host this on GithubDatabase setup for a simple login and registration page in terms of having a "remember me" functionI'm not sure how to setup my database to have a "Remember me" function in order to handle bypassing If Sveltekit, Next, Nuxt, are "Fullstack" frameworks, why would you need a backend language?Am I to assume that sure, the Fullstack Frameworks can do fullstack, but they're limited to a certaiAdvices for a Portable Computer for Development in C and other languages under UbuntuHey everyone ! *I don't know if it's the right place to ask this but* : I am going to begin school FooterDoes anyone know how to make a footer stay at the bottom of the page?Animations/Transitions with React - how do you handle these?Never done it, apart from some basic CSS transitions, wanted to mess with it a bit whilst I'm learni