How to split antd theme into smaller components
Recently I stumbled upon an interesting problem at work. I was using ant-design and I wanted to customize default theme variables. To do that I’ve created a...
View ArticleIntl Collator in JavaScript
Recently I needed to sort an array of objects from A to Z. Usually for such task I’m using the following piece of code:const cities =[{ name:'Wrocław'},{ name:'Kraków'},{ name:'Łódź'}];...
View ArticleStack & Column in CSS-in-JS
Today I want to write more about new emotion components that we try at Ingrid. Those components help us with spacing.The problemI want to implement this footer:It has a logo, text in two rows and...
View ArticleTooling overload in JS
Before I start let me clarify what I mean by tooling in the context of programming language: all ecosystem of tools/libraries/frameworks that are needed to use with a given programming language.When...
View ArticleTIL - how height:auto works
Today I learned a bit more on how height:auto works. Let’s say you have a box that has implicit height& width set to 250px. Inside this box you place 1px by 1px image. You give image height: auto....
View ArticleTIL - Chrome has emulate focused page
Today I learned that chrome has Emulate Focused Page settings.What such toggle is doing?It emulates that the page is focused and allows to debug select or dropdown that is triggered when user focus...
View ArticleDistractions tips & tricks
In this blog post I want to write more about different techniques I tried to lower my distractions both in work and in personal environment.Websites blocking & elements on websites blockingThanks...
View ArticleHTML has a base tag
Today I learned about <base /> tag. It is really useful in a situation where you need to tell the browser what is the base for relative links. Why you need that? Imagine that you have a script...
View ArticleAlfred Snippet workflow
I recently decided to remove a few no so frequently used applications. One of them was Typinator. It is a text expander - one of many. While I was researching if I can remove it and consolidate my...
View ArticleOn generating social images for this blog
I recently decided to generate social images for my blog. You know those images that are being displayed by facebook or twitter when you share link on those platforms:I want to get started and create...
View Article