From 702ad497648cc17f643822d443c3408362f3a543 Mon Sep 17 00:00:00 2001 From: "russell@unturf.com" Date: Wed, 4 Mar 2026 16:00:58 -0500 Subject: [PATCH] Purple source buttons, add purple to design system New .source-button class (#9B59B6, hover #7B2D8E) for PyPi and Source Code buttons. Updated styleguide, CLAUDE.md color palette, and button hierarchy docs. --- CLAUDE.md | 3 +++ common.css | 8 ++++++++ index.html | 4 ++-- styleguide.html | 23 +++++++++++++++++++++++ 4 files changed, 36 insertions(+), 2 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 6bd2d4c..7814e24 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -30,6 +30,8 @@ Mobile-first static site. CSS Grid. Helvetica. Media queries at 800px (tablet/de | Blue Secondary | `#98b6fa` | Secondary buttons (edit, preview, save, PyPi, blog), alert-info | | Navy Brand | `#5871ad` | Ribbon gradient start, log-out/activate buttons, corner ribbon | | Light Navy | `#82A8FF` | Ribbon gradient end | +| Purple | `#9B59B6` | Source/code buttons (PyPi, Source Code), corner ribbon | +| Purple Dark | `#7B2D8E` | Purple hover state, ribbon gradient | | Danger Red | `#CC6958` | Delete button | | Check Green | `#678731` | Checkmark list items | | Cross Red | `#c77765` | Cross list items | @@ -47,6 +49,7 @@ Green = primary CTA (action the user should take). Blue = secondary (information - `.shop-new-button.mps-button` — green CTA - `.product-edit-button.mps-button` — blue secondary +- `.source-button.mps-button` — purple (source code, open source links) - `.log-out-button.mps-button` — navy - `.cart-delete-button.mps-button` — danger red - `.shop-switch-button.mps-button` — outline (border only) diff --git a/common.css b/common.css index e188cdc..118f57c 100644 --- a/common.css +++ b/common.css @@ -275,6 +275,14 @@ a.cart-save-button { background-color: #98b6fa; } +a.source-button { + background-color: #9B59B6; +} + +a.source-button:hover { + background-color: #7B2D8E; +} + a.cart-activate-button { background-color: #5871ad; } diff --git a/index.html b/index.html index 8d94ff1..7c9101f 100644 --- a/index.html +++ b/index.html @@ -164,8 +164,8 @@ Sell digital downloads or physical products — commission free!
- 🕮 PyPi - ✐ Source Code + 🕮 PyPi + ✐ Source Code

diff --git a/styleguide.html b/styleguide.html index 5346e71..b7ed9db 100644 --- a/styleguide.html +++ b/styleguide.html @@ -155,6 +155,20 @@ Style Guide — Make Post Sell Design System
#82A8FF
+
+
+
+
Purple
+
#9B59B6
+
+
+
+
+
+
Purple Dark
+
#7B2D8E
+
+
@@ -290,6 +304,15 @@ a (links) — color #a3c765, weight 600
<a href="#" class="product-edit-button mps-button">🕮 PyPi</a>
+
+
Purple (Source / Code)
+ +
<a href="#" class="source-button mps-button">✐ Source Code</a>
+
+
Navy (Log Out / Activate)