mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
<!--
Make sure you've read the CONTRIBUTING.md guidelines:
https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md
-->
<!-- ELLIPSIS_HIDDEN -->
----
> [!IMPORTANT]
> Refactor provider icon handling by introducing `ProviderIcon`
component and add Apple brand color.
>
> - **Components**:
> - Introduce `ProviderIcon` component in `providers.tsx` to encapsulate
icon rendering logic.
> - Replace inline icon rendering with `ProviderIcon` in
`page-client.tsx` and `ProviderSettingSwitch` in `providers.tsx`.
> - **Brand Icons**:
> - Add `apple` to `BRAND_COLORS` in `brand-icons.tsx`.
> - **Misc**:
> - Update imports in `page-client.tsx` to include `ProviderIcon`.
>
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=stack-auth%2Fstack-auth&utm_source=github&utm_medium=referral)<sup>
for
|
||
|---|---|---|
| .. | ||
| src | ||
| .eslintrc.cjs | ||
| CHANGELOG.md | ||
| components.json | ||
| LICENSE | ||
| package.json | ||
| tsconfig.json | ||
| vitest.config.ts | ||