Skip to content

Commit

Permalink
Improvements to mastodon's coloring (#182)
Browse files Browse the repository at this point in the history
* applying more colors to uncolored elements

- Fix coloring for detailed posts while also removing the coloring for focused posts
- Fix coloring for tab settings
- Apply accent color for switchers, pillbars and text boxes
- Fix compose placeholder coloring

* more coloring changes

- apply accent color to radio boxes and graphs
- fix coloring for announcements
- tweak colors from cards on posts

* fix user profile coloring

* color literally details
  • Loading branch information
resucutie authored Aug 26, 2023
1 parent 32a9b0a commit 924bef5
Showing 1 changed file with 65 additions and 15 deletions.
80 changes: 65 additions & 15 deletions styles/mastodon/catppuccin.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ domain("piaille.fr") {
border-bottom: none;
}

.navigation-panel {
.navigation-panel, .column-link{
background: transparent;
}

Expand Down Expand Up @@ -277,12 +277,33 @@ domain("piaille.fr") {
.column-header__back-button,
.navigation-bar strong,
.reply-indicator__content a.unhandled-link,
.status__content a.unhandled-link {
.status__content a.unhandled-link,
.announcements__item__content a.unhandled-link,
.reactions-bar__item.active .reactions-bar__item__count,
.column-header.active .column-header__icon{
color: @accent-color;
}

.conversation__unread,
.react-toggle--checked .react-toggle-track, .react-toggle--checked:hover .react-toggle-track,
.pillbar-button:not([disabled]).active, .pillbar-button:not([disabled]).active:focus, .pillbar-button:not([disabled]).active:hover,
.radio-button__input.checked{
background-color: @accent-color;
}

.reactions-bar__item.active {
background-color: rgba(@accent-color, .25);
}

.trends__item__sparkline path:last-child {
stroke: @accent-color !important;
}
.trends__item__sparkline path:first-child {
fill: rgba(@accent-color, .25) !important;
}

.icon-button,
.notification__message .fa {
.notification__message .fa{
color: @surface2;
}

Expand All @@ -305,7 +326,6 @@ domain("piaille.fr") {
.column-header__back-button,
.column-back-button,
.drawer__header,
.account__section-headline,
.notification__filter-bar,
.account__section-headline button,
.notification__filter-bar button,
Expand All @@ -319,21 +339,49 @@ domain("piaille.fr") {
.account__header__fields,
.account__header__fields dt,
.account__header__fields dd:not(.account__header__bio .account__header__fields dd),
.focusable:focus,
.admin-wrapper .sidebar ul .simple-navigation-active-leaf .selected {
.admin-wrapper .sidebar ul .simple-navigation-active-leaf .selected,
.explore__search-header,
.column-inline-form,
.follow_requests-unlocked_explanation,
.conversation--unread,
.column-header__collapsible-inner,
.announcements,
.status-card__image,
.account__header__bar{
border-color: @crust;
background: @surface0;
}

.account__section-headline {
background: @mantle;
border-color: @crust
}

.focusable:focus {
background: unset;
}

.admin-wrapper .sidebar ul a:hover,
.admin-wrapper .sidebar ul .simple-navigation-active-leaf a:hover {
.admin-wrapper .sidebar ul .simple-navigation-active-leaf a:hover,
.detailed-status, .detailed-status__action-bar{
background: @surface0;
}

.detailed-status__wrapper > div:first-child .detailed-status {
border-top: none;
}

.dismissable-banner {
border-color: @surface1;
background: @base;
}

.column-header__wrapper.active {
box-shadow: 0 1px 0 rgba(@accent-color,.3);
}
.column-header__wrapper.active::before {
background: radial-gradient(ellipse,rgba(@accent-color,.23) 0,rgba(99,100,255,0) 60%);
}

.theme-mastodon-light .account__header__bar,
.theme-mastodon-light .column-header__back-button,
Expand All @@ -352,11 +400,11 @@ domain("piaille.fr") {
}


.public-layout .public-account-header__tabs__tabs .counter::after {
border-color: @accent-color;
}

.public-layout .public-account-header__tabs__tabs .counter.active::after {
.public-layout .public-account-header__tabs__tabs .counter::after,
.public-layout .public-account-header__tabs__tabs .counter.active::after ,
.react-toggle--checked .react-toggle-thumb,
.radio-button__input.checked,
.account__action-bar__tab.active{
border-color: @accent-color;
}

Expand Down Expand Up @@ -461,7 +509,8 @@ domain("piaille.fr") {
}

.drawer__inner,
.drawer__inner__mastodon {
.drawer__inner__mastodon,
.explore__search-header .search__input{
background-color: @base;
}

Expand All @@ -474,7 +523,7 @@ domain("piaille.fr") {
}

.compose-form .autosuggest-textarea__textarea::placeholder {
color: @subtext0
color: @subtext0 !important
}

.compose-form .compose-form__buttons-wrapper {
Expand Down Expand Up @@ -582,7 +631,8 @@ domain("piaille.fr") {
color: @text !important;
}

.table > thead > tr > th {
.table > thead > tr > th,
.setting-text:active, .setting-text:focus{
border-color: @accent-color !important;
}

Expand Down

0 comments on commit 924bef5

Please sign in to comment.