2

I found I can use this css link: https://unpkg.com/@blueprintjs/core@^1.11.0/dist/blueprint.css for blueprint. Where do I get the CSS for the datetime module from?

It looks like this at the moment: enter image description here

kev
  • 8,928
  • 14
  • 61
  • 103
  • 1
    probably -> https://unpkg.com/@blueprintjs/datetime@1.11.0/dist/blueprint-datetime.css – QoP Mar 31 '17 at 09:02
  • Probably? How did you know? – kev Mar 31 '17 at 09:08
  • datetime@1.11.0 is the latest version in [blueprintjs repo](https://github.com/palantir/blueprint), so following unpkg syntax `https://unpkg.com/package@version/file` you can get the file you want real quick :p – QoP Mar 31 '17 at 09:15

2 Answers2

2

You must import the correct styles for DateRangeInput

@import "~normalize.css/normalize.css"; 
@import "~@blueprintjs/icons/lib/css/blueprint-icons.css"; 
@import "~@blueprintjs/core/lib/css/blueprint.css";
@import "~@blueprintjs/datetime/lib/css/blueprint-datetime.css";
Zerocity
  • 61
  • 3
0
  • i have already these

    @import "~normalize.css";
    @import "~@blueprintjs/core/lib/css/blueprint.css";
    @import "~@blueprintjs/icons/lib/css/blueprint-icons.css";
    
  • added these css

    @import "~@blueprintjs/datetime/lib/css/blueprint-datetime.css";
    
  • date picker working as well
Yewin
  • 160
  • 1
  • 7