-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
intensify secondary color in platform theme (#1360)
- Loading branch information
1 parent
1f9a677
commit aa56476
Showing
8 changed files
with
232 additions
and
175 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
35 changes: 35 additions & 0 deletions
35
lib/platform-bible-react/src/preview/pages/layouts/dialog.layout.component.tsx
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,35 @@ | ||
import { Button } from '@/components/shadcn-ui/button'; | ||
import { | ||
Card, | ||
CardDescription, | ||
CardFooter, | ||
CardHeader, | ||
CardTitle, | ||
} from '@/components/shadcn-ui/card'; | ||
|
||
export default function DialogExamples() { | ||
return ( | ||
<> | ||
<Card className="tw-w-[350px]"> | ||
<CardHeader> | ||
<CardTitle>Confirm</CardTitle> | ||
<CardDescription>Are you really sure</CardDescription> | ||
</CardHeader> | ||
<CardFooter className="tw-flex tw-justify-between"> | ||
<Button variant="outline">Cancel</Button> | ||
<Button>Save</Button> | ||
</CardFooter> | ||
</Card> | ||
|
||
<div className="tw-h-4" /> | ||
|
||
<div className="tw-w-[350px] tw-rounded-md tw-border tw-p-4"> | ||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit</p> | ||
<div className="tw-flex tw-gap-2 tw-pt-4"> | ||
<Button variant="secondary">Proceed with unsaved changes</Button> | ||
<Button>Save</Button> | ||
</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