- Replaced HABIT_PALETTES with HABIT_COLOR_CHOICES in HabitColorPicker component and related tests. - Adjusted the layout and styles of the color picker for improved usability. - Updated tests to reflect changes in color selection logic. - Modified WorkspacePanel and SettingRow components to allow optional eyebrow and description props. - Enhanced accessibility tests for calendar navigation. - Updated calendar model to include a 1-month view option. - Refined styles across various components for consistency and improved responsiveness.
15 lines
1.1 KiB
CSS
15 lines
1.1 KiB
CSS
@reference "./globals.css";
|
|
|
|
.ds-live-discord { display: grid; gap: 12px; padding: 0 24px 20px; }
|
|
.ds-live-discord-heading, .ds-live-discord-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
|
|
.ds-live-discord-heading h3 { @apply type-ui-heading; margin: 0; }
|
|
.ds-live-discord-heading p, .ds-live-discord-footer p { margin: 4px 0; @apply type-small; }
|
|
.ds-live-discord-preview { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 0; border: 1px solid var(--ds-rule); display: grid; place-items: center; }
|
|
.ds-live-discord-preview img { width: 100%; height: 100%; display: block; object-fit: contain; }
|
|
.ds-live-discord-description { @apply type-small; margin: 0; }
|
|
.ds-live-discord-privacy { @apply type-small; color: var(--ds-secondary); margin: 0; }
|
|
.ds-live-discord-footer { border-top: 1px solid var(--ds-rule); padding-top: 12px; }
|
|
.ds-live-discord-footer .ds-share-actions { flex-wrap: wrap; }
|
|
.ds-sharing-mode { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 24px; margin-block: 16px; }
|
|
@media (max-width: 600px) { .ds-live-discord { padding: 0 16px 16px; } .ds-sharing-mode { padding: 0 16px; } }
|