Skip to content

VL_New-tailwind-colors_Vitalii-Dudnik#682

Merged
itsJohnnyGrid merged 6 commits into
betafrom
VL_New-tailwind-colors_Vitalii-Dudnik
Jun 30, 2026
Merged

VL_New-tailwind-colors_Vitalii-Dudnik#682
itsJohnnyGrid merged 6 commits into
betafrom
VL_New-tailwind-colors_Vitalii-Dudnik

Conversation

@KinduD21

Copy link
Copy Markdown
Collaborator

Expanded NEUTRAL_COLORS and updated type definitions to include new colors

@KinduD21 KinduD21 requested a review from itsJohnnyGrid June 30, 2026 06:10
@KinduD21 KinduD21 self-assigned this Jun 30, 2026
Comment thread src/composables/useUI.ts Outdated
let cvaFn = cvaCache.get(key);

if (!cvaFn) {
// eslint-disable-next-line tailwindcss/no-custom-classname -- CVA config object, not a class string

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this is required? any more clear solution?

Comment thread eslint.config.ts
Comment thread eslint.config.ts Outdated
Comment thread src/utils/node/vuelessConfig.js Outdated
Comment thread src/utils/ui.ts Outdated
Comment thread eslint.config.ts Outdated
settings: {
tailwindcss: {
cssConfigPath: "./src/tailwind.css",
functions: ["classnames", "classNames", "clsx", "ctl", "tv", "tw", "twJoin"],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

define only functions which really used in the project

Leave functions empty because cx, cva, and twMerge are only called with
variables, not inline class strings. Parsing those helpers caused false
positives from no-custom-classname while template classes remain linted.
Comment thread eslint.config.ts Outdated
tailwindcss: {
cssConfigPath: "./src/tailwind.css",
functions: ["classnames", "classNames", "clsx", "ctl", "tv", "tw", "twJoin"],
functions: [],

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we drop functions entirely - we will get those linter warnings again, so this solution is explicit.

Image

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

define only functions which really used in the project, not drop

@itsJohnnyGrid itsJohnnyGrid merged commit 10e0935 into beta Jun 30, 2026
10 checks passed
@itsJohnnyGrid itsJohnnyGrid deleted the VL_New-tailwind-colors_Vitalii-Dudnik branch June 30, 2026 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants