#6364ff (publish button on mastodon instance I use)

@MGOPW found some more; checkboxes for content warning on photos:

.compose-form__sensitive-button .checkbox.active {
border-color: #8c8dff;
background: #8c8dff;
}

privacy:
.privacy-dropdown__option.active, .privacy-dropdown__option:hover {
background: #6364ff;
color: #fff;
outline: 0;
}

content warning active:
.text-icon-button.active {
color: #8c8dff;
}

.language-dropdown__dropdown__results__item.active {
background: #6364ff;
color: #fff;
outline: 0;
}

@Lapineige
```
.button:active, .button:focus, .button:hover {
background-color: #6364ff;
}
```
components.scss ?

in Administration > Server settings > Appearance - there's a field for custom CSS:

.compose-form__publish-button-wrapper button {
visibility: hidden;
}

.compose-form__publish-button-wrapper button:before {
visibility: visible;
content: 'Toot!';
display: block;
width: 100%;
padding: 7px;
margin-top:-7px;
border-radius: 3px;
background-color: #595aff;
}

.button.button--block:hover:before {
background-color: #6364ff;
}

@selea @david @sotolf also to keep that hover color change, add also

.button.button--block:hover:before {
background-color: #6364ff;
}

@rey Here's a patch! Should be able to apply it by tossing it in a file and going e.g. "git am nopurple.patch".

Note that I can't actually test this, and it'll probably only revert things like the post button and follow button, not the new actual purple of the boost button and whatnot. But!

From e72a91518023829e44d55185b0747658ba791d1e Mon Sep 17 00:00:00 2001
From: Frost <[email protected]>
Date: Wed, 5 Oct 2022 19:48:23 -0700
Subject: [PATCH] Revert brand color part of 45aa5781ce611ea411e34e3b18358a9fe15f67ce

No purple!
---
app/javascript/styles/mastodon/variables.scss | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/javascript/styles/mastodon/variables.scss b/app/javascript/styles/mastodon/variables.scss
index be2c900ea..3da40305a 100644
--- a/app/javascript/styles/mastodon/variables.scss
+++ b/app/javascript/styles/mastodon/variables.scss
@@ -13,5 +13,5 @@ $red-bookmark: $warning-red;
$classic-primary-color: #9baec8; // Echo Blue
$classic-secondary-color: #d9e1e8; // Pattens Blue
-$classic-highlight-color: #6364ff; // Brand purple
+$classic-highlight-color: #2b90d9; // Summer Sky

// Variables for defaults in UI
--
2.34.1

#Mastodon #mastodev #MastoAdmin

@rey AHA!

in app/javascript/styles/mastodon/variables.scss
-$classic-highlight-color: #2b90d9; // Summer Sky
+$classic-highlight-color: #6364ff; // Brand purple

is what we want to revert.
I should be able to make a patch you (and other admins!) can one-command apply...

@tusooa 理论上应该是变量,查看F12,:root里有这两个--theme-ui-highlight-color: #6364ff;--theme-classic-highlight-color: #6364ff;
但改掉之后毫无反应