Tiny wrapper component for React-datepicker to stylistically fit with Chakra-UI.
<DatePicker selectedDate={myDate} handleChange={(d) => console.log(d) />
Adapted from this comment
{ | |
"colorList": { | |
"c1" : ["#000000", "#000011"], | |
"c2" : ["#000011", "#000022"], | |
"c3" : ["#000022", "#000033"], | |
"c4" : ["#000033", "#000044"], | |
"c7" : ["#000044", "#000055"], | |
"c8" : ["#000055", "#000066"], | |
"c9" : ["#000066", "#000077"], | |
"c10" : ["#000077", "#000088"] |
gulp.task('styles:toolkit', ['lint-styles:toolkit'], function () { | |
var sourcemaps = require('gulp-sourcemaps'); | |
var prefix = require('gulp-autoprefixer'); | |
var postcss = require('gulp-postcss'); | |
var calc = require('postcss-calc'); | |
var colorFunction = require('postcss-color-function'); | |
var customMedia = require('postcss-custom-media'); | |
var customProperties = require('postcss-custom-properties'); | |
var fontVariant = require('postcss-font-variant'); | |
var lost = require('lost'); |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://code.jquery.com/jquery-2.1.4.js"></script> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
body { | |
perspective: 500px; |
#!/bin/bash | |
## Email Variables | |
EMAILDATE=`date --date="today" +%y-%m-%d` | |
EMAIL="[email protected]" | |
SUBJECT="[servername] Backup Script Started! - "$EMAILDATE | |
EMAILMESSAGE="/tmp/emailmessage1.txt" | |
echo "Just to let you know that the backup script has started."> $EMAILMESSAGE | |
/bin/mail -s "$SUBJECT" "$EMAIL" < $EMAILMESSAGE |
Tiny wrapper component for React-datepicker to stylistically fit with Chakra-UI.
<DatePicker selectedDate={myDate} handleChange={(d) => console.log(d) />
Adapted from this comment