Skip to content

Commit e1aa277

Browse files
authored
Merge pull request #26 from rhyek/docs/brighter-icon-prompt
Make the icon's prompt a more vivid indigo
2 parents 66356fb + f2dbbf2 commit e1aa277

9 files changed

Lines changed: 9 additions & 6 deletions

File tree

‎docs/.vitepress/theme/custom.css‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/*
22
* The accent is the green of a running service's dot in the terminal UI, in place of the default
33
* theme's indigo. Inline code takes the text color, so a page full of option names isn't tinted.
4-
* The home page's "stackctl" keeps the default theme's indigo.
4+
* The home page's "stackctl" takes the default theme's indigo in the light theme and the icon's
5+
* prompt color in the dark one.
56
*/
67
:root {
78
--vp-c-brand-1: #15803d;
@@ -34,6 +35,8 @@
3435
}
3536

3637
.dark {
38+
/* The prompt's color in the icon. */
39+
--vp-home-hero-name-color: #7a88ff;
3740
--vp-c-brand-1: #4ade80;
3841
--vp-c-brand-2: #22c55e;
3942
--vp-c-brand-3: #15803d;
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading

‎logo/logo-small.svg‎

Lines changed: 1 addition & 1 deletion
Loading

‎logo/logo.svg‎

Lines changed: 1 addition & 1 deletion
Loading

‎logo/site/apple-touch-icon.png‎

-39 Bytes
Loading

‎logo/site/favicon-32.png‎

-24 Bytes
Loading

‎logo/site/og-image.png‎

-31 Bytes
Loading

‎maintenance/scripts/icon-themes.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ const offset: [number, number] = [
125125
];
126126
// The icon's colors and their nearest in the Material palette: for dark themes, then light.
127127
const material: Record<string, [dark: string, light: string]> = {
128-
'#a8b1ff': ['#9fa8da', '#5c6bc0'], // the prompt: indigo 200, indigo 400
128+
'#7a88ff': ['#7986cb', '#5c6bc0'], // the prompt: indigo 300, indigo 400
129129
'#e4e4e7': ['#e0e0e0', '#757575'], // the outer lines: grey 300, grey 600
130130
'#facc15': ['#ffca28', '#ffb300'], // the middle line: amber 400, amber 600
131131
};

0 commit comments

Comments
 (0)