Tomáš Čarnecký

Results 23 comments of Tomáš Čarnecký

Both vscode and eslint cli report the warning: ![image](https://user-images.githubusercontent.com/34538/127286856-5b14b900-43c9-4c27-b2f2-9e6b91c59446.png) I'm using the latest eslint and related packages (@typescript-eslint/* etc).

The background color could be simulated using an absolutely-positioned img (generate the image in the browser using [HTMLCanvasElement toDataURL](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL) or perhaps simpler a svg (with a rect inside it and...

The font is different. You see the difference if you look at the letter 'g' for example. Maybe the font doesn't load anymore?

Look in chrome devtools if you see any errors. I use the https://chrome.google.com/webstore/detail/whatfont/jabopobgcpjmedljpbcaablpmlmfcogm?hl=en extension to find out what font a website is using. If I read the [CSS](https://github.com/crobi/rpg-cards/blob/3f19f941c7ab0e5cf99bc29da252b9318635878f/generator/css/cards.css#L7) correctly then...

@dylanjt have you found a workaround?

@amcdnl my two cents… - A lot of packages (including `p-cancellable`) are adopting a «ESM-only» strategy. They don't bother with CJS, they simply set type:module in the package.json and include...

First part is to internationalize the app. For that I've had good experience with [react-intl](https://github.com/yahoo/react-intl). The second part is to take all the strings and give them to someone to...

What project config do you use for the next app? I have a pnpm + nx monorepo but am not using @nrwl/next as that wasn't working for me, I'm using...

I'm using react-intl / formatjs. By default it extract into a slightly extended JSON format like so: ```json { "this-is-the-message-id": { "defaultMessage": "foo", "description": "helpful information for translators" } }...

I want to retain the original ICC profile in the output image, and use sharp only to resize and convert to a particular output format (jpeg, avif, webp etc). That...