-
-
Notifications
You must be signed in to change notification settings - Fork 604
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrading from Hobby to Pro displays a dialog to confirm (#1545)
* Upgrading from Hobby to Pro displays a dialog to confirm * Improved the logic for upgrading to pro * Added the spinner component to storybook * Improved the dark style spinner
- Loading branch information
Showing
4 changed files
with
101 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { Spinner } from "~/components/primitives/Spinner"; | ||
|
||
export default function Story() { | ||
return ( | ||
<div className="flex flex-col items-start gap-y-3 p-4"> | ||
<div className="flex items-center gap-x-4 rounded-md bg-charcoal-750 px-3 py-2 text-text-bright"> | ||
Blue: <Spinner color="blue" /> | ||
</div> | ||
<div className="flex items-center gap-x-4 rounded-md bg-charcoal-750 px-3 py-2 text-text-bright"> | ||
White: <Spinner color="white" /> | ||
</div> | ||
<div className="flex items-center gap-x-4 rounded-md bg-charcoal-600 px-3 py-2 text-text-bright"> | ||
Muted: <Spinner color="muted" /> | ||
</div> | ||
<div className="flex items-center gap-x-2"> | ||
<div className="flex items-center gap-x-4 rounded-md bg-charcoal-600 px-3 py-2 text-text-bright"> | ||
Dark: <Spinner color="dark" /> | ||
</div> | ||
<div className="flex items-center gap-x-4 rounded-md bg-primary px-2 py-2 text-text-bright"> | ||
<Spinner color="dark" /> | ||
</div> | ||
</div> | ||
<div className="flex items-center gap-x-4 rounded-md bg-charcoal-600 px-3 py-2 text-text-bright"> | ||
Custom: <Spinner color={{ background: "#EA189E", foreground: "#6532F5" }} /> | ||
</div> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters