nlkitai / nlux

The π—£π—Όπ˜„π—²π—Ώπ—³π˜‚π—Ή Conversational AI JavaScript Library πŸ’¬ β€”Β UI for any LLM, supporting LangChain / HuggingFace / Vercel AI, and more 🧑 React, Next.js, and plain JavaScript ⭐️
https://docs.nlkit.com/nlux
Other
937 stars 48 forks source link

CSS variable badly named #60

Closed ScreamZ closed 1 month ago

ScreamZ commented 2 months ago

In this chapter and also https://github.com/nluxai/nlux/blob/latest/packages/css/themes/src/nova/colors.css

Variable are named nlux-xxxxxx but in reality it's --nluxc-xxxxx

Screenshot 2024-05-03 at 12 33 56
salmenus commented 1 month ago

Thanks for reporting this @ScreamZ The docs page updated to link to the right theme files with the right variable names that are matching the production.

Full story: Starting from version 2.x (code in latest GitHub / currently in beta), theme variables will be renamed to nlux-xxxxxxx and that's what the GitHub project has. The docs on nlux.dev are still covering version 1.x.

I updated the link on the themes doc page to point to the right version of the theme file matching the live 1.x version. I will update it once v2 is released.