Skip to content

Commit

Permalink
Make some styles closer to canvas
Browse files Browse the repository at this point in the history
  • Loading branch information
pynappo committed Nov 1, 2024
1 parent 024ac51 commit fabb15d
Showing 1 changed file with 24 additions and 8 deletions.
32 changes: 24 additions & 8 deletions styles/canvas-lms/catppuccin.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -222,14 +222,14 @@
background-color: @base;
border-color: @surface1;
> div[class$="modalHeader"] {
background-color: @surface0;
background-color: transparent;
border-color: @surface1;
}
img {
background-color: transparent;
}
> div[class$="modalFooter"] {
background-color: @surface1;
background-color: @surface0;
border-color: @surface1;
}
}
Expand Down Expand Up @@ -605,12 +605,15 @@
select,
[class$="textInput__facade"] {
color: @text;
background-color: @surface1;
background-color: transparent;
border-color: @surface2;
input {
color: @text !important;
}
}
[class$="textInput__facade"]::before {
border-color: @accent-color;
}

/* notifications */
.ic-notification {
Expand All @@ -625,6 +628,13 @@
div[class*="view-alert"] {
color: @text;
background-color: @base;
border-color: @accent-color;
> div {
border-color: @accent-color;
}
> div:has(> svg) {
background-color: @accent-color;
}
}

/* pdf reader */
Expand Down Expand Up @@ -829,6 +839,13 @@
}
}

span[data-testid="RCE_RestoreAutoSaveModal"] {
span[class$="view--block"] {
background-color: transparent;
border-color: @surface1;
color: @text;
}
}
/* select dropdowns */
span[data-position-content^="Popover"]:has(ul[role="listbox"]) {
border-color: @surface2;
Expand Down Expand Up @@ -1467,7 +1484,7 @@
.tox-split-button:hover,
.tox-tbtn.tox-tbtn--enabled:hover,
.tox-split-button .tox-tbtn.tox-split-button__chevron:hover {
background-color: transparent;
background-color: fadeout(@surface0, 50%);
color: fadeout(@text, 20%);
svg {
fill: fadeout(@text, 20%);
Expand Down Expand Up @@ -1677,18 +1694,17 @@
span:has(> [data-testid="DiscussionEdit-container"]) {
background-color: @base;
}
#message-body-root_statusbar,
span[data-testid="RCEStatusBar"] {
#message-body-root_statusbar {
color: @subtext0;
button > span {
color: @blue;
color: @text;
}
> span > div {
border-color: @surface1 !important;
}
}
button[data-testid="attach-btn"] > span {
color: @blue;
color: @text;
}
.ic-discussion-content-container > span > span:last-child {
color: @text;
Expand Down

0 comments on commit fabb15d

Please sign in to comment.