Comments (5)
from ion-datepicker.
Yes, I checked it as you mentioned and that is what I want thanks. how to customize the size and other styles? I tried accessing scss variables in the datepicker.component.scss in my pages scss file. But it seems not working. Any help?
from ion-datepicker.
from ion-datepicker.
I tried changing the header color using the below code in my pages .scss file
ionic2-datepicker .datepicker-wrapper .datepicker-header { color: white; background-color: #310096; display: flex; flex-flow: column; height: 35%; }
but it is not working. Can't I customize the datepicker by overriding the style variables externally without making changes to the datepicker.component.ts
from ion-datepicker.
Sorry I assumed that you forked the project since you mentioned the scss file.
Here is my overload:
ionic2-datepicker,
ionic2-datepicker .datepicker-wrapper {
background: linear-gradient(135deg, #172446 0%, #2a3c60 26%, #5393ae 61%, #5393ae 66%, #335e88 81%, #336084 100%);
.datepicker-header {
background-color: rgba(0, 0, 0, 0.25)!important;
.weekday-header {
background-color: rgba(0, 0, 0, 0.25)!important;
}
}
.button {
background-color: rgba(0, 0, 0, 0.25)!important;
}
.row {
color: white!important;
.datepicker-selected {
color: black;
}
.datepicker-current {
color: #bdbdbd;
}
}
}
from ion-datepicker.
Related Issues (20)
- disableddays not working
- Clicking next month but jumping for two months
- Background color HOT 1
- how to set datepicker regional thailand buddhist year
- Error: Type Page is part of the declarations of 2 modules HOT 1
- Incorrect marked dates (dates are one day out) HOT 2
- Any way to format Date()? HOT 4
- Template parse errors: HOT 3
- Question HOT 1
- Use in angular form HOT 1
- Issue : Model not opening and min & max dates HOT 2
- datepicker Undefined
- How and where to set options? HOT 3
- disabledDays not working
- ionic 4 version HOT 1
- DisabledDates not working HOT 1
- How to pass selected date to api HOT 1
- NLS: User requests for languages
- Are you planning to support v4 HOT 5
- temp date is sometimes an invalid date when changing month HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ion-datepicker.