Skip to content

Commit

Permalink
style: adjust color and button border radius
Browse files Browse the repository at this point in the history
  • Loading branch information
lukicenturi committed Jul 23, 2024
1 parent 9c6ad24 commit a07c522
Showing 1 changed file with 27 additions and 4 deletions.
31 changes: 27 additions & 4 deletions .vitepress/theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
* -------------------------------------------------------------------------- */

:root {
--vp-c-indigo-1: #4e5ba6;
--vp-c-default-1: var(--vp-c-gray-1);
--vp-c-default-2: var(--vp-c-gray-2);
--vp-c-default-3: var(--vp-c-gray-3);
Expand All @@ -68,6 +69,12 @@
--vp-c-danger-2: var(--vp-c-red-2);
--vp-c-danger-3: var(--vp-c-red-3);
--vp-c-danger-soft: var(--vp-c-red-soft);

--vp-code-bg: #65758512;
}

.dark {
--vp-c-indigo-1: #5B68B2;

Check failure on line 77 in .vitepress/theme/style.css

View workflow job for this annotation

GitHub Actions / ci

Replace `B68B` with `b68b`
}

/**
Expand All @@ -94,14 +101,14 @@
--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: -webkit-linear-gradient(
120deg,
#4e5ba6 30%,
#4e5ba6 30%
var(--vp-c-brand-1) 30%,
var(--vp-c-brand-1) 30%
);

--vp-home-hero-image-background-image: linear-gradient(
-45deg,
#4e5ba6 50%,
#363f72 50%
var(--vp-c-brand-1) 50%,
var(--vp-c-brand-1) 50%
);
--vp-home-hero-image-filter: blur(44px);
}
Expand Down Expand Up @@ -137,6 +144,10 @@
--docsearch-primary-color: var(--vp-c-brand-1) !important;
}


Check failure on line 147 in .vitepress/theme/style.css

View workflow job for this annotation

GitHub Actions / ci

Delete `⏎`

Check failure on line 147 in .vitepress/theme/style.css

View workflow job for this annotation

GitHub Actions / ci

More than 1 blank line not allowed
/**
* Images
*/
.content img {
border-radius: 8px;
border: 1px solid #ddd;
Expand All @@ -146,6 +157,18 @@
border-color: #333;
}

/*
* Code style for logs
*/

.vp-doc .language-log code {
white-space: normal;
}

/*
* Button on the homepage
*/

.VPButton.medium {
border-radius: 4px !important;

Check failure on line 173 in .vitepress/theme/style.css

View workflow job for this annotation

GitHub Actions / ci

Delete `··`
}

0 comments on commit a07c522

Please sign in to comment.