Skip to content

Instantly share code, notes, and snippets.

View itayganor's full-sized avatar
🐛

Itay Ganor itayganor

🐛
View GitHub Profile
@itayganor
itayganor / Slider.module.less
Created August 8, 2020 22:09
rc-slider Design improvements
@import '../../../theme/palette.less';
@slider-bg-color: lighten(@body-background-color, 15%);
@track-bg-color: mix(@text-color, @slider-bg-color, 80%);
@movement-duration: 0s;
@movement-easing: cubic-bezier(0, 0, 0, 1);
.slider {
user-select: none;
@itayganor
itayganor / main.js
Last active December 18, 2019 17:47
Asynchronously manipulate URLS found in a text paragraph - PoC
const linkify = require('linkifyjs');
function sleep(delay = 500) {
return new Promise(resolve => {
setTimeout(resolve, delay);
});
}