From b7aa8dca6b5c8e2ca6bf17862bb00a6e35611ef1 Mon Sep 17 00:00:00 2001 From: hawkgs Date: Fri, 12 Jun 2026 16:27:30 +0300 Subject: [PATCH] fix(docs-infra): add explicit font styles to docs-primary-btn Add font family, size and weight to the `.docs-primary-btn`. This guarantees that applying the class to non-button elements, like anchors, will results in the same visual representation. (cherry picked from commit 91ab7c6dea797177634fc442fb169784b257ada2) --- adev/shared-docs/styles/_button.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/adev/shared-docs/styles/_button.scss b/adev/shared-docs/styles/_button.scss index 983ebdb88c4..60f0c7a8ff9 100644 --- a/adev/shared-docs/styles/_button.scss +++ b/adev/shared-docs/styles/_button.scss @@ -43,6 +43,12 @@ color: transparent; user-select: none; + // We explicitly apply font styles since the class + // may be used for non-button elements (e.g. ) as well. + font-family: var(--inter-font); + font-size: 0.875rem; + font-weight: 600; + // border gradient / background --angle: 90deg; background: linear-gradient(