Skip to main content
8 events
when toggle format what by license comment
May 22, 2023 at 17:08 comment added rene Mod @Someone --theme-primary-color is coming from Stacks: stackoverflow.design/product/guidelines/theming see github.com/StackExchange/Stacks/blob/develop/lib/exports/… and all sites use stacks now.
May 22, 2023 at 17:06 comment added Someone (although a script might be needed if any classes are removed from the CSS)
May 22, 2023 at 17:05 comment added Someone Actually it doesn't look like even this is necessary; just pasting <button class="js-vote-up-btn flex--item s-btn s-btn__unset c-pointer fc-theme-primary" data-controller="s-tooltip" data-s-tooltip-placement="right" aria-pressed="true" aria-label="Up vote" data-selected-classes="fc-theme-primary" data-unselected-classes="" aria-describedby="--stacks-s-tooltip-oxqjjofg"> <svg aria-hidden="true" class="svg-icon iconArrowUpLg" width="36" height="36" viewBox="0 0 36 36"><path d="M2 25h32L18 9 2 25Z"></path></svg> </button> into any site shows in that site's color.
May 22, 2023 at 17:04 vote accept Someone
May 22, 2023 at 17:00 history edited GlorfindelMod CC BY-SA 4.0
added 277 characters in body
May 22, 2023 at 17:00 comment added Someone It is the vote button color, and my bookmerklet works with almost exactly that code you wrote.
May 22, 2023 at 16:59 comment added Someone So --theme-primary-color isn't going away?
May 22, 2023 at 16:58 history answered GlorfindelMod CC BY-SA 4.0