Keep habit tints readable and use shared typography
This commit is contained in:
@@ -1605,13 +1605,12 @@
|
||||
.ds-goal--manual .ds-goal-title input:checked { background: var(--habit-color); border-color: var(--habit-color); }
|
||||
.ds-goal-schedule { @apply type-small; color: var(--ds-secondary); margin-top: 6px; }
|
||||
.ds-goal--manual .ds-goal-schedule { padding-left: 56px; }
|
||||
.ds-goal--count .ds-goal-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto); align-items: center; gap: 24px; padding: 24px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--habit-color) 20%, var(--ds-rule)); background: color-mix(in srgb, var(--habit-color) 5%, var(--ds-paper)); }
|
||||
.ds-goal--count .ds-goal-body > .ds-inline-editor { grid-column: 1 / -1; }
|
||||
.ds-goal--count .ds-goal-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto); align-items: center; gap: 24px; padding: 24px; border-radius: 8px; border: 1px solid var(--ds-rule); border-inline-start: 3px solid var(--habit-color); background: var(--habit-tint); }
|
||||
.ds-goal-count { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
|
||||
.ds-goal-count .ds-counter { justify-content: center; padding: 6px; gap: 6px; background: var(--ds-paper); border-color: color-mix(in srgb, var(--habit-color) 20%, var(--ds-rule)); }
|
||||
.ds-goal-count .ds-counter-input { font-size: 36px; line-height: 1.2; width: 4ch; min-height: 60px; background: transparent; }
|
||||
.ds-goal-count .ds-counter { justify-content: center; padding: 6px; gap: 6px; background: var(--ds-paper); border-color: var(--ds-rule); }
|
||||
.ds-goal-count .ds-counter-input { @apply type-section; width: 4ch; min-height: 60px; background: transparent; }
|
||||
.ds-goal-count .ds-counter .ds-button { min-height: 44px; min-width: 44px; }
|
||||
.ds-goal-count .ds-counter > .ds-muted { font-size: 18px; padding-right: 0; }
|
||||
.ds-goal-count .ds-counter > .ds-muted { @apply type-ui-heading; padding-right: 0; }
|
||||
.ds-goal-unit { @apply type-small; color: var(--ds-secondary); overflow-wrap: anywhere; text-align: center; }
|
||||
.ds-habit-list .ds-goal .ds-habit-history { align-self: flex-end; margin-top: 10px; }
|
||||
.ds-habit-list .ds-goal .ds-habit-history:has([aria-expanded="true"]) { align-self: stretch; }
|
||||
|
||||
Reference in New Issue
Block a user