Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update docs button colors (#2189)

Leendert de Borst55c41d9068e5
diff --git a/docs/docs/installation/index.mdx b/docs/docs/installation/index.mdx
index 4ca85af62..9f8d387b9 100644
--- a/docs/docs/installation/index.mdx
+++ b/docs/docs/installation/index.mdx
@@ -28,7 +28,7 @@ into infrastructure you already run.
<strong>Best for:</strong> a fresh VM or VPS dedicated to AliasVault.
</p>
<div className="av-install-card__cta">
- <span className="button button--primary button--lg">
+ <span className="button button--secondary button--outline button--lg">
Install with the script →
</span>
</div>
diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css
index f5ce1e9db..a3c193b8c 100644
--- a/docs/src/css/custom.css
+++ b/docs/src/css/custom.css
@@ -430,15 +430,15 @@ html[class*='docs-doc-id-installation/index'] .theme-doc-markdown {
/* The CTA pill is a <span>, not the link itself, so its :hover never fires —
* the whole card is the anchor. Drive the pill's hover look from the card so it
- * still reacts when you point anywhere on the card. */
-.av-install-card:hover .button--primary {
- background-color: var(--ifm-color-primary-dark);
-}
-
+ * still reacts when you point anywhere on the card: both cards use the subtle
+ * outline button by default and fill with brand orange on hover. */
.av-install-card:hover .button--secondary.button--outline {
background-color: var(--ifm-color-primary);
border-color: var(--ifm-color-primary);
- color: #fff;
+ /* Same value Infima's own `.button--outline:hover` uses, so card-hover reads
+ * identically to a direct button mouseover (white in light mode, dark in dark
+ * mode) instead of leaving the default dark border-color text. */
+ color: var(--ifm-font-color-base-inverse);
}
/* ------------------------------------------------ Clickable action cards -- */