8000 CSS Parsing error when building with NextJS · Issue #943 · coreui/coreui · GitHub
[go: up one dir, main page]

Skip to content

CSS Parsing error when building with NextJS #943

New issue

Have a q 9E3E uestion about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
defjamuk opened this issue Apr 15, 2025 · 1 comment
Open

CSS Parsing error when building with NextJS #943

defjamuk opened this issue Apr 15, 2025 · 1 comment

Comments

@defjamuk
Copy link

Before opening:

Bug reports must include:

  • Operating system and version (Windows, macOS, Android, iOS)
  • Browser and version (Chrome, Firefox, Safari, Microsoft Edge, Opera, Android Browser)
  • A reduced test case or suggested fix using CodePen or JS Bin
@defjamuk
Copy link
Author

Mac OS M2 Sequioa
Chrome Version 135.0.7049.85 (Official Build) (arm64)

package.json
{
"name": "my-dashboard",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev --turbopack",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@coreui/coreui": "^5.2.0",
"@coreui/react": "^5.5.0",
"bootstrap": "^5.3.5",
"next": "15.3.0",
"nextjs": "^0.0.3",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@eslint/eslintrc": "^3",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"eslint": "^9",
"eslint-config-next": "15.3.0",
"typescript": "^5"
}
}

border-color uses invalid var tag.

file
./node_modules/@coreui/coreui/dist/css/coreui.css

ERROR

.form-select:focus {
border-color: var(#acabeb);
outline: 0;
box-shadow: 0 0 0 0.25rem rgba(88, 86, 214, 0.25);
}

FIX

.form-select:focus {
border-color: #acabeb;
outline: 0;
box-shadow: 0 0 0 0.25rem rgba(88, 86, 214, 0.25);
}

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

No branches or pull requests

1 participant
0