diff --git a/styles/canvas-lms/catppuccin.user.less b/styles/canvas-lms/catppuccin.user.less index a133f2a8..ec714086 100644 --- a/styles/canvas-lms/catppuccin.user.less +++ b/styles/canvas-lms/catppuccin.user.less @@ -83,7 +83,11 @@ background-color: @base; border-color: @surface2; } - img:not([src^="/"], [src*="cloudfront.net/dist"], [src*="instructuremedia.com/build"]) { + img:not( + [src^="/"], + [src*="cloudfront.net/dist"], + [src*="instructuremedia.com/build"] + ) { /* force a white background for user-uploaded images */ background-color: #fffd; } @@ -129,7 +133,8 @@ .user_content { /* for highlighted non-links in user-created content, revert to regular-ish text color */ - [style~="background-color:"]:not([style~="color:"]) :not(a.external span) { + [style~="background-color:"]:not([style~="color:"]) + :not(a.external span) { color: black; } /* just a special exception for pure black text and pure white backgrounds */ @@ -482,7 +487,13 @@ } .btn:not(.btn-primary, .btn-link), - .Button:not(.Button--link, .Button--primary, .Button--icon-action, .Button--icon-action-danger, .Button--icon-action-rev), + .Button:not( + .Button--link, + .Button--primary, + .Button--icon-action, + .Button--icon-action-danger, + .Button--icon-action-rev + ), .ui-button { background-color: @surface0; color: @text; @@ -888,7 +899,9 @@ #dashboard section { background-color: @surface0; - [data-cid*="BaseButton"]:not([data-testid*="hide"]):not([data-testid^="color-picker"]) { + [data-cid*="BaseButton"]:not([data-testid*="hide"]):not( + [data-testid^="color-picker"] + ) { .neutral-button(); &[aria-current="page"] { color: black; @@ -1037,7 +1050,8 @@ color: @mantle; } } - .NotificationBadge-styles__activityIndicator.NotificationBadge-styles__hasBadge [class$="badge"] { + .NotificationBadge-styles__activityIndicator.NotificationBadge-styles__hasBadge + [class$="badge"] { background-color: @accent; } .Day-styles__root { @@ -1495,7 +1509,10 @@ border-color: @surface1; } } - :is(.calendar, #calendar-drag-and-drop-container) .fc-row :is(.fc-content-skeleton, .fc-helper-skeleton) td { + :is(.calendar, #calendar-drag-and-drop-container) + .fc-row + :is(.fc-content-skeleton, .fc-helper-skeleton) + td { border-color: @surface1; } @@ -1733,7 +1750,11 @@ #questions.assessment_results .question .answers .answer.wrong_answer { border-color: @red; } - #questions.assessment_results .question .answers .answer.wrong_answer .ui-selectmenu-status { + #questions.assessment_results + .question + .answers + .answer.wrong_answer + .ui-selectmenu-status { color: @red; } @@ -1968,7 +1989,10 @@ .tox-collection--list .tox-collection__group { border-color: @surface1; } - .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled), + .tox-collection--list + .tox-collection__item--active:not( + .tox-collection__item--state-disabled + ), .tox-collection__item--active { background-color: mix(@accent, @base, 30%); }