mirror of
https://github.com/lima-vm/lima.git
synced 2026-10-28 11:44:35 +08:00
website: restore brand colors after docsy update
Docsy >= 0.12 pre-declares Bootstrap color variables in _variables_forward.scss before importing the project's _variables_project.scss, so our `!default` assignments of $primary, $secondary, and $dark were silently ignored, and the site fell back to the stock Bootstrap palette (blue primary, gray secondary). Turn them into plain assignments. Also pin $link-color to $blue: Docsy < 0.12 set it explicitly, but newer Docsy lets Bootstrap derive it from $primary, which is white here, making links invisible. Assisted-by: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
1 file changed
+8
-3
@@ -7,9 +7,14 @@ Add styles or override variables from the theme here.
|
||||
$display1-weight: 500 !default;
|
||||
$display2-weight: 100 !default;
|
||||
|
||||
$primary: rgb(255, 255, 255) !default;
|
||||
$secondary: rgb(66.274512%, 81.176472%, 21.960784%) !default;
|
||||
$dark: black !default;
|
||||
// No `!default` here: Docsy >= 0.12 pre-declares these variables in
|
||||
// _variables_forward.scss, so `!default` assignments would be ignored.
|
||||
$primary: rgb(255, 255, 255);
|
||||
$secondary: rgb(66.274512%, 81.176472%, 21.960784%);
|
||||
$dark: black;
|
||||
// Bootstrap derives $link-color from $primary (white); pin it to the blue
|
||||
// that Docsy < 0.12 used.
|
||||
$link-color: $blue;
|
||||
$td-sidebar-tree-root-color: #222 !default;
|
||||
|
||||
.nav-shadow {
|
||||
|
||||
Reference in new issue
Block a user