Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to mastodon's coloring #182

Merged
merged 4 commits into from
Aug 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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