davesnx / styled-ppx

Type-safe styled components for ReScript, Melange and native with type-safe CSS
https://styled-ppx.vercel.app
BSD 2-Clause "Simplified" License
402 stars 33 forks source link

Update docs #457

Closed zakybilfagih closed 8 months ago

zakybilfagih commented 8 months ago

latest preview link https://styled-ppx-git-update-docs-mackarelfish93.vercel.app/?_vercel_share=sTDXMjr19TksmSukcfO3wGW3eF8hPvYV

vercel[bot] commented 8 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
styled-ppx ❌ Failed (Inspect) Mar 25, 2024 0:10am
davesnx commented 8 months ago

Amazing progress, it's great.

I got a few questions regarding the amount of vendor stuff:

zakybilfagih commented 8 months ago

I initially wanted to only fork nextra-theme-docs but got into a problem where some of the CSS are not showing (the output style.css when running of npm run build:tailwind is different from the npm one) . It turns out that they reference the components folder from nextra on tailwind.config.js.

zakybilfagih commented 8 months ago

I also upgraded shiki and rehype-pretty-code on nextra (latest version still using shiki 0.14.7) to add support for dual color scheme. Details are on these commits (https://github.com/davesnx/styled-ppx/pull/457/commits/45145c582b21f0226080aca4d21057ce77036c39, https://github.com/davesnx/styled-ppx/pull/457/commits/e60844b2c3317e77be1525eef53858963b25f736)