Drew Powers

Results 68 issues of Drew Powers

**Versions:** ``` image-webpack-loader 3.4.2 srcset-loader 2.2.2 webpack 3.6.0 ``` This is my loader setup for image files, pairing srcset-loader with image-webpack-loader ``` rules: [ { test: /\.(gif|png|jpe?g)$/i, use: [ {...

I’m working on a project using Rollup, and getting this compile error: ``` [ ERROR ] Rollup: Missing Export: src/utils/new-id.js:1:9 'encode' is not exported by node_modules/hi-base32/src/base32.js L1: import { encode...

Was digging into alias behavior a bit, and I had a few question about alias `$type`s. What are peoples’ thoughts on whether any of the following are **valid** or **invalid**?...

Parsing behavior

In reviewing a lot of discussion around the DTCG format, one of the biggest continuing debates that seems to pop up in about every suggestion or discussion is the fundamental...

## Problem When using the `oklab` prop, values aren’t clamped to the sRGB (or P3) gamut which results in the picker showing the wrong X, Y if you change the...

## Changes Fixes #9. Clamps colors to the RGB range. ![CleanShot 2023-09-03 at 16 01 06](https://github.com/CaptainCodeman/svelte-color-select/assets/1369770/5ca2efae-faa8-4d68-a1d8-bb84fc7cc834) Worth noting that this is the “bad” way to clamp; Björn Ottosen outlines [keeping...

## Problem Wanted to open up an issue to discuss rather than a PR. When this component is rendered, it has hardcoded `fill` stylings on the SVG elements, and doesn’t...

Given the following TypeScript code, it throws an error: ```ts ⚠ eslint(no-undef): Disallow the use of undeclared variables function resolve(path: string): T { return { path } as T; ─...

## Changes Fixes #2764. Supercedes #2765. Also fixes user-generated content in landmark elements (`nav`, `footer`, etc.) ![CleanShot 2024-03-08 at 10 19 31@2x](https://github.com/shuding/nextra/assets/1369770/0cb04f01-87a7-4736-a469-455a1ece747b) ![CleanShot 2024-03-08 at 10 19 42@2x](https://github.com/shuding/nextra/assets/1369770/3daa26d1-a00e-46a3-9c5c-bc91a1491a03)

In [styles.css](https://github.com/shuding/nextra/blob/main/packages/nextra-theme-docs/css/styles.css#L33), global elements like `a`, `button`, and `input` have styling that leak into any custom components supplied: ```css a, summary, button, input, [tabindex]:not([tabindex='-1']) { @apply nx-outline-none; &:focus-visible { @apply...