clerk / javascript

Official JavaScript repository for Clerk authentication
https://clerk.com
MIT License
1.18k stars 272 forks source link

OrganizationSwitcher missing organizationProfile appearance attribute #1534

Closed ghost closed 1 year ago

ghost commented 1 year ago

Package + Version

Dependencies + versions

{  
  "dependencies": {
    "@clerk/nextjs": "^4.23.1",
    "@types/node": "20.4.5",
    "@types/react": "18.2.16",
    "@types/react-dom": "18.2.7",
    "autoprefixer": "10.4.14",
    "class-variance-authority": "^0.7.0",
    "clsx": "^2.0.0",
    "eslint": "8.45.0",
    "eslint-config-next": "13.4.12",
    "lucide-react": "^0.263.1",
    "next": "13.4.12",
    "postcss": "8.4.27",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "tailwind-merge": "^1.14.0",
    "tailwindcss": "3.3.3",
    "tailwindcss-animate": "^1.0.6",
    "typescript": "5.1.6"
  }
}

Description

OrganizationSwitcher component does not style modal using appearance ->element attribute. It seems to be an issue where appearance attribute is missing OrganizationProfileTheme in OrganizationSwitcherProps as per my findings based on a very similar component like UserButton which has UserProfileTheme in UserButtonProps.

For anyone facing the issue, a possible workaround at the moment would be to use globals.css.

jescalan commented 1 year ago

Hey there - quick update on this one. It is on our backlog, but honestly we likely won't get to it any time soon as there are a lot of other issues in front of it. If anyone is eager to get it out sooner, contributions are very welcome, otherwise we will update and close when it's handled!

clerk-cookie commented 2 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.