diff --git a/styles/formative/catppuccin.user.css b/styles/formative/catppuccin.user.css
index 6b997dce..20a2e1b9 100644
--- a/styles/formative/catppuccin.user.css
+++ b/styles/formative/catppuccin.user.css
@@ -2,7 +2,7 @@
@name Formative Catppuccin
@namespace github.com/catppuccin/userstyles/styles/formative
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/formative
-@version 0.2.3
+@version 0.2.4
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/formative/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aformative
@description Soothing pastel theme for Formative
@@ -112,23 +112,29 @@
.MainAppSideMenu__RootNav-sc-11gwnv8-0 {
background: @surface0;
- .SideTabItem__RootButton-sc-vtkzgr-0.selected {
- background: fade(@accent-color, 50%);
- &::after {
- background: @accent-color;
+ .SideTabItem__RootButton-sc-vtkzgr-0 {
+ &.selected {
+ background: fade(@accent-color, 50%);
+ &::after {
+ background: @accent-color;
+ }
}
- }
- .SideTabItem__RootButton-sc-vtkzgr-0:not(.selected):hover {
- .side-tab-item-label-div,
- .material-icons-outlined {
- color: @accent-color;
+ &:hover {
+ .avatar {
+ box-shadow: @accent-color 0 0 0 1px;
+ }
}
- .avatar {
- box-shadow: @accent-color 0 0 0 1px;
+ &:not(.selected):hover {
+ .side-tab-item-label-div,
+ .material-icons-outlined,
+ .svg-icons svg {
+ color: @accent-color;
+ }
}
}
.side-tab-item-label-div,
- .material-icons-outlined {
+ .material-icons-outlined,
+ .svg-icons {
color: @text;
}
}
@@ -149,7 +155,7 @@
background-color: @surface0;
}
- .SecondaryHeader__RootDiv-sc-p36xe7-0 {
+ .SecondaryHeader__RootDiv-sc-1lpafq7-0 {
background: @surface0;
border-color: @overlay0;
.TabsItem__RootDiv-sc-tj1og8-0 > a {
@@ -167,8 +173,9 @@
}
main,
- .FormativesShelf__HeaderDiv-sc-1pswvpk-2,
- .FormativesShelf__StyledSecondaryHeader-sc-1pswvpk-3 {
+ .FormativesShelf__HeaderDiv-sc-1pswvpk-3,
+ .FormativesShelf__StyledSecondaryHeader-sc-1pswvpk-4,
+ .TabsItem__TabDiv-sc-tj1og8-4:focus-visible {
background: @base;
}
.Home__TitleSpan-sc-q7a345-5,
@@ -199,7 +206,7 @@
.QuestionViewable__QuestionNumberDiv-sc-13jvio2-3,
.FormativeStudentFooter__ProgressCountDiv-sc-6tj89c-1,
.FormativeStudentFooter__SubTextDiv-sc-6tj89c-5,
- .FormativesShelf__ShowScoresText-sc-1pswvpk-5,
+ .FormativesShelf__ShowScoresText-sc-1pswvpk-6,
.ModalBody__RootDiv-sc-1lg094f-0,
.Elements__Title-sc-1qtb2ho-9,
.JoinQuickCode__QuickCodeTextParagraph-sc-1uhfett-1,
@@ -212,7 +219,7 @@
.DragAndDropViewableContainer__InstructionsDiv-sc-1ke293x-0,
.QuestionViewable__CorrectAnswerLabelDiv-sc-13jvio2-7,
.MatchingTableRow__ArrowIcon-sc-1u9h4tb-1,
- .PracticeSet__StyledLastUpdated-sc-1wup6tb-8,
+ .PracticeSet__StyledLastUpdated-sc-1wup6tb-9,
.MaterialIcon-sc-1g5xoi8-0,
.MinimalFormativeStudentHeader__FormativeTitleDiv-sc-14rcnaq-4,
.ErrorExplainer__SubTextHeading-sc-7nq4if-2,
@@ -237,7 +244,7 @@
.Summary__RawButtonLink-sc-1ofq6fd-2 {
color: @accent-color;
}
- .FormativesShelf__StyledSecondaryHeader-sc-1pswvpk-3 {
+ .FormativesShelf__StyledSecondaryHeader-sc-1pswvpk-4 {
border-color: @overlay0;
}
.TabsItem__SelectedLineDiv-sc-tj1og8-1 {
@@ -263,6 +270,7 @@
background: @surface2 !important;
border-color: @overlay0;
}
+ .Card__RootDiv-sc-hyrluv-0,
.Card__RootDiv-sc-4gt2nj-0 {
background: @surface0;
border-color: @overlay0;
@@ -270,8 +278,7 @@
border-color: @accent-color;
outline-color: @accent-color;
}
- .FormativeCardAttributesRow__AttributeDiv-sc-tx9rpw-1
- .material-icons-outlined {
+ .material-icons-outlined {
color: @text;
}
&:hover {
@@ -281,7 +288,7 @@
}
}
}
- .ClassAvatar__RootDiv-sc-1ihhtbf-0,
+ .ClassAvatar__RootDiv-sc-i7tto7-0,
.avatar > div {
background: @accent-color;
color: @contrast-accent-color;
@@ -330,7 +337,7 @@
.Button__StyledButton-sc-aum9f1-1,
.IconButton__RootButton-sc-ebvofk-0,
.SectionDetail__BackLink-sc-1aifgaj-4 {
- background: @surface0;
+ background: @surface0 !important;
&,
.material-icons-outlined {
color: @accent-color !important;
@@ -351,6 +358,15 @@
background: @overlay0;
}
}
+ .ButtonSwitch__RootDiv-sc-1cluxwg-0 {
+ background: @surface1;
+ .ButtonSwitchOption__RootDiv-sc-ek1jm8-0 {
+ &.selected {
+ background: @surface2;
+ }
+ color: @text;
+ }
+ }
.FormativeCardScore__PercentageSpan-sc-p5mc30-1 {
&[style*="rgba(32, 213, 171, 0.2)"] {
background: fade(@green, 50) !important;
@@ -404,6 +420,7 @@
.BadgeCard__RootButton-sc-13976oo-0 {
&:hover,
+ &:focus,
&.selected {
.BadgeCard__BadgeLabelDiv-sc-13976oo-8 {
color: @accent-color;
@@ -426,8 +443,26 @@
background: @surface1;
}
}
+ .BadgeSidebar__ChallengeLevelsDiv-sc-oi03p1-10 {
+ border-color: @overlay0;
+ }
}
- .ProgressBar__Progress-sc-4qm1te-0 {
+ .BadgeCard__BadgeImage-sc-13976oo-5,
+ .BadgeSidebar__BadgeImage-sc-oi03p1-2 {
+ &[src*="responses"] {
+ @svg: escape(
+ ''
+ );
+ content: url("data:image/svg+xml,@{svg}");
+ }
+ &[src*="formatives-assigned-submitted"] {
+ @svg: escape(
+ ''
+ );
+ content: url("data:image/svg+xml,@{svg}");
+ }
+ }
+ .ProgressBar__ProgressDiv-sc-4qm1te-0 {
background: @overlay0;
.ProgressBar__ProgressBarDiv-sc-4qm1te-2 {
background: @accent-color;
@@ -442,6 +477,10 @@
.Tooltip__Content-sc-1k6bq57-0 {
background: @surface0;
color: @text;
+ .Tooltip__KeyboardShortcutContainerDiv-sc-1k6bq57-1 {
+ background: @surface1;
+ color: @text;
+ }
}
.Modal__Overlay-sc-1uf7odj-0 {
background: fade(@crust, 80);
@@ -450,7 +489,7 @@
background: @base;
.modal-header,
.modal-footer {
- border-color: @overlay0;
+ border-color: @overlay0 !important;
}
.ModalHeader__Title-sc-1aoz840-1 {
color: @text;
@@ -470,12 +509,20 @@
.CopyablePracticeSetInfo__ExplainerDiv-sc-14zdsnw-5 {
background: @surface0;
}
+ .ThemePreview__PrimaryColorDiv-sc-zh51j9-0[style*="outline"] {
+ &[style*="outline: rgb(255, 255, 255)"] {
+ outline-color: @text !important;
+ }
+ &[style*="outline: rgb(13, 100, 242)"] {
+ outline-color: @accent-color !important;
+ }
+ }
}
.ReactModal__Overlay {
background: fade(@crust, 80);
.ReactModal__ActualContent {
- background: @base;
- .ModalBody__RootDiv-sc-1lg094f-0 > * {
+ background: @base !important;
+ .ModalBody-sc-1lg094f-0 > * {
color: @text !important;
&.ErrorExplainer__BodyDiv-sc-7nq4if-0 {
.material-icons-outlined {
@@ -486,19 +533,45 @@
color: @subtext0;
}
}
- .PracticeItemImport__StyledTextarea-sc-4fopem-2 {
- background: @surface0;
+ &.Input__StyledInput-sc-1632reg-0 {
+ background: @surface0 !important;
+ &::placeholder {
+ color: @overlay2 !important;
+ }
+ &:focus {
+ border-color: @accent-color;
+ }
}
+ &.CookiePolicyModal__AccordionDiv-sc-dpnzx7-0
+ .AccordionItem__ContainerDiv-sc-1aj05j4-0 {
+ &,
+ .AccordionItem__HeaderDiv-sc-1aj05j4-1,
+ .AccordionItem__BodyDiv-sc-1aj05j4-5 {
+ background: @surface0;
+ border-color: @overlay0;
+ }
+ .material-icons-outlined {
+ color: @text;
+ }
+ .CookiePolicyModal__BlueAlertText-sc-dpnzx7-5 {
+ color: @accent-color;
+ }
+ }
+ }
+ .ModalBody-sc-1lg094f-0:has(.Submit__ContentTitleH3-sc-1vceatk-1)
+ svg
+ path {
+ fill: @accent-color;
}
.ModalTitle {
background: @base;
}
- .PracticeDispatchModalOptionButton__RootButton-sc-eybp6x-0 {
+ .PracticeDispatchModalOptionLink__RootLink-sc-1wp7oro-0 {
background: @surface1 !important;
img {
&[src*="flashcard-preview"] {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
}
@@ -557,7 +630,7 @@
background: transparent;
}
- .FormativeStudentHeader__UpperDiv-sc-yw00ql-11 {
+ .FormativeStudentHeader__UpperDiv-sc-yw00ql-12 {
background: @crust !important;
color: @text;
&,
@@ -565,7 +638,7 @@
border-color: @overlay0;
}
}
- .FormativeStudentHeader__NavStrip-sc-yw00ql-10 {
+ .FormativeStudentHeader__NavStrip-sc-yw00ql-11 {
.FormativeStudentHeader__ScrollableDiv-sc-yw00ql-9 {
&::-webkit-scrollbar-track {
background: @surface0 !important;
@@ -581,22 +654,14 @@
.selectedSection {
border-color: @accent-color;
}
- .FormativeProgressBarStyles__NavItemGroupDiv-sc-1rm72lt-2 {
- border-color: @overlay0;
- &:hover,
- &:focus-within {
- background: @surface0;
- .formative-nav-item,
- .formative-nav-item-icon {
- color: @accent-color;
- }
- }
- }
.formative-nav-item {
&,
.formative-nav-item-icon {
color: @text;
}
+ .FormativeStudentNavItem__StyledMessageIcon-sc-i1u5ts-4 {
+ color: @accent-color;
+ }
&:hover,
&:focus {
background: @surface1;
@@ -641,16 +706,29 @@
color: @contrast-accent-color;
}
}
- .FormativeItemViewable__RootDiv-sc-m0kwch-0 {
+ .FormativeUnavailableMessage__InnerDiv-sc-14kxg7t-1 {
+ border-color: @accent-color;
+ background-color: @surface0;
+ }
+ .FormativeItemViewable__RootDiv-sc-m0kwch-0,
+ .SectionDescription__SectionInformationCard-sc-nmaua7-0 {
background: @mantle;
.correct {
- border-color: @green;
+ outline-color: @green !important;
+ background: color-mix(in srgb, @base, @green 25%) !important;
+ }
+ .incorrect {
+ outline-color: @red !important;
+ background: color-mix(in srgb, @base, @red 25%) !important;
}
&,
.withFunctionalizedViewable__LeftColumn-sc-1636o2h-2,
.withFunctionalizedViewable__RightColumn-sc-1636o2h-4 {
border-color: @overlay0;
}
+ .SectionDescription__DividerDiv-sc-nmaua7-1 {
+ border-color: @overlay0;
+ }
.ScoreCircle__RootDiv-sc-lj5glq-0 {
&[style*="rgb(32, 213, 171)"] {
background-color: @green !important;
@@ -926,8 +1004,12 @@
z-index: 1;
}
}
- .DrawingToolbar__TooltipBox-sc-2xuxy3-6 {
+ .slider {
background: @surface1;
+ .thumb {
+ background: @overlay0;
+ color: @text;
+ }
}
.ExpandedDrawing__BodyDiv-sc-cz2rcw-0 {
.DrawingToolbar__RootDiv-sc-2xuxy3-0 {
@@ -961,6 +1043,10 @@
color: @text;
}
}
+ .SidePicker__RootDiv-sc-xie0qr-0 {
+ background: @base;
+ border-color: @overlay0;
+ }
}
.MathLiveInput__RootDiv-sc-tki2b-0 {
.keyboard-button-wrapper .svg-icons svg path {
@@ -983,6 +1069,7 @@
--correct-color: @text;
--incorrect-color: @red;
--latex-color: @blue;
+ --placeholder-color: @blue;
}
.ML__keyboard--plate {
--keyboard-text: @text;
@@ -1014,6 +1101,18 @@
--keyboard-alternate-text-active: @text;
}
+ #mathlive-popover-panel {
+ background: @surface2;
+ color: @text;
+ box-shadow: 0 14px 28px fade(@crust, 25%) 0 10px 10px fade(@crust, 22%);
+ li:hover {
+ background: @overlay0;
+ }
+ &::after {
+ border-color: @surface2 transparent;
+ }
+ }
+
.FullPointsAnimation__AbsoluteContainerDiv-sc-mzm76r-0,
.ScoreCircle__LottieWrapperDiv-sc-lj5glq-1,
.Summary__SummaryDiv-sc-1ofq6fd-0,
@@ -1078,11 +1177,20 @@
.Login__ContentDiv-sc-5w2jun-0,
.Login__LoginServiceButtonsRowDiv-sc-5w2jun-3 {
.Button__StyledButton-sc-aum9f1-1 {
- background: @surface1;
+ background: @surface1 !important;
&:hover {
- background: @surface2;
+ background: @surface2 !important;
}
}
+ .material-icons-outlined {
+ color: @text;
+ }
+ .NewselaServiceLoginButton__QuestionTextDiv-sc-mk13mj-1 {
+ color: @text;
+ }
+ .NewselaServiceLoginButton__ActionDiv-sc-mk13mj-2 {
+ color: @accent-color;
+ }
}
}
.JoinQuickCode__StyledLink-sc-1uhfett-2,
@@ -1117,11 +1225,6 @@
.FormativeStudentFooter__BottomDiv-sc-6tj89c-3 {
border-color: @overlay0;
}
- .ModalBody__RootDiv-sc-1lg094f-0:has(.Submit__ContentTitleH3-sc-1vceatk-1)
- svg
- path {
- fill: @accent-color;
- }
.StudentFormativeStatus__RootDiv-sc-y86tx8-1 {
&.bQdPlK {
background: @green;
@@ -1143,10 +1246,10 @@
color: @accent-color;
}
}
- .PracticeSet__StyledHeader-sc-1wup6tb-5 {
+ .PracticeSet__StyledHeader-sc-1wup6tb-6 {
background: @surface0;
border-color: @overlay0;
- input.ReactiveTextInput__StyledInput-sc-g83bxq-2 {
+ input.ReactiveTextInput__StyledInput-sc-go3drs-2 {
color: @text !important;
&::placeholder,
&:focus::placeholder {
@@ -1155,13 +1258,13 @@
}
.HeaderBackLink__TertiaryButtonLink-sc-1vx1tro-0,
.Button__StyledButton-sc-aum9f1-1 {
- background: @surface1;
- color: @accent-color;
- &:hover {
+ background: @surface1 !important;
+ color: @accent-color !important;
+ &:not([disabled]):hover {
background: @surface2;
}
}
- .PracticeSet__DividerDiv-sc-1wup6tb-3 {
+ .PracticeSet__DividerDiv-sc-1wup6tb-4 {
background: @overlay0;
}
}
@@ -1307,11 +1410,14 @@
}
}
}
- .GameContainer__RootDiv-sc-1x76nlz-0 {
+ .GameContainer__RootDiv-sc-1c3jzzv-0 {
background: @base !important;
.Timer__RootDiv-sc-bbbpy2-0 {
background: @surface1;
- color: @text;
+ &,
+ i {
+ color: @text;
+ }
}
.Header__HeaderDiv-sc-327vcg-0 {
background: @surface0;
@@ -1319,11 +1425,25 @@
.HeaderBackLink__TertiaryButtonLink-sc-1vx1tro-0,
.Button__StyledButton-sc-aum9f1-1 {
background: @surface1;
+ color: @accent-color;
&:hover {
background: @surface2;
}
}
}
+ .ThemePicker__ToggleItem-sc-juof75-3 {
+ div {
+ outline-color: @text !important;
+ }
+ &[aria-checked="true"],
+ &[aria-checked="true"] div {
+ outline-color: @accent-color !important;
+ }
+ }
+ .TitleCard__StartButton-sc-xz0ejb-1 {
+ background: @accent-color;
+ color: @base;
+ }
.QuizSession__BodyDiv-sc-4aco0-0 {
.QuizSession__DividerDiv-sc-4aco0-4 {
background: @overlay0;
@@ -1372,17 +1492,6 @@
background: @accent-color !important;
color: @contrast-accent-color;
}
- .PillToggleGroup__Item-sc-12fkyq8-1 {
- &[aria-checked="true"] {
- background: @surface0;
- color: @accent-color;
- }
- &:hover {
- background: @surface0;
- }
- border-color: @overlay0;
- color: @text;
- }
.MatchingSessionSummary__SessionDiv-sc-d3unim-13 {
border-color: @overlay0;
&.highlight {
@@ -1390,7 +1499,11 @@
}
}
}
- .MatchingSession__ContentDiv-sc-edrizy-2 {
+ .LatestPerformances__PerformanceDiv-sc-g3qin-2,
+ .Leaderboard__PerformanceDiv-sc-152arb5-3 {
+ border-color: @overlay0;
+ }
+ .MatchingSession__ContentDiv-sc-edrizy-0 {
.ProgressBar__RootDiv-sc-ly2f4w-0 {
.Glow__FlashDiv-sc-1c8wp5s-1 {
background: transparent;
@@ -1443,8 +1556,22 @@
}
}
}
+ .PillToggleGroup__Item-sc-12fkyq8-1 {
+ &[aria-checked="true"] {
+ background: @surface0;
+ color: @accent-color;
+ }
+ &:hover {
+ background: @surface0;
+ }
+ border-color: @overlay0;
+ color: @text;
+ }
.FeedbackButton__StyledButton-sc-1b7u8ss-0 {
background: @surface2;
+ i {
+ color: @text;
+ }
}
@keyframes catppuccin-formative-practiceset-quiz-correct {
0% {
@@ -1507,6 +1634,18 @@
);
content: url("data:image/svg+xml,@{svg}");
}
+ .NoFormatives__StyledImg-sc-1v9g5eg-4 {
+ @svg: escape(
+ ''
+ );
+ content: url("data:image/svg+xml,@{svg}");
+ }
+ .PracticeSetGrid__EmptyStateDiv-sc-1yuxflk-1 img {
+ @svg: escape(
+ ''
+ );
+ content: url("data:image/svg+xml,@{svg}");
+ }
}
}