- Introduced ModalDestinationButton for destination selection with customizable icons and labels. - Added ModalInput for text input with optional character counter. - Implemented ModalLink for reusable links styled as underlined text. - Created ModalPlatformCard for platform selection with badges. - Developed ModalRadioGroup for radio button groups with custom styling. - Added ModalSection for grouping modal content with optional labels. - Implemented ModalSelect for dropdown selections with custom styling. - Created ModalShareButtons for sharing options via Gmail, Email, and Messenger. - Developed ModalTextarea for multi-line text input with character counter. - Introduced ModalToggle for toggle switches with optional help text and links. - Updated README.md with component descriptions, usage examples, and design guidelines. - Added index.ts for centralized exports of modal components.
24 lines
323 B
CSS
24 lines
323 B
CSS
.link {
|
|
color: #1a73e8;
|
|
text-decoration: underline;
|
|
cursor: pointer;
|
|
transition: opacity 0.2s;
|
|
}
|
|
|
|
.link:hover {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.linkButton {
|
|
background: none;
|
|
border: none;
|
|
padding: 0;
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
text-align: inherit;
|
|
}
|
|
|
|
[data-theme="dark"] .link {
|
|
color: #4d9fff;
|
|
}
|