Skip to content

Commit a8abbd4

Browse files
committed
(style) update color theme
1 parent e1def50 commit a8abbd4

File tree

2 files changed

+23
-8
lines changed

2 files changed

+23
-8
lines changed

src/components/GrSiteFooter.astro

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import neo4jLogoImage from "../assets/images/neo4j-logo-white.png";
99
justify-content: space-between;
1010
padding: 1em;
1111
color: white;
12-
background-color: #05035A;
12+
background-color: #002B43;
1313
}
1414
.credits {
1515
;
@@ -35,7 +35,7 @@ import neo4jLogoImage from "../assets/images/neo4j-logo-white.png";
3535
text-align: left;
3636
}
3737
p.fineprint, .fineprint a {
38-
color: var(--sl-color-text-invert);
38+
color: #FCF9F6;
3939
}
4040

4141
</style>

tailwind.config.mjs

+21-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,26 @@
11
/** @type {import('tailwindcss').Config} */
2+
23
import starlightPlugin from '@astrojs/starlight-tailwind';
34

5+
// custom color theme
6+
const accent = { 200: '#8FE3E8', 600: '#0A6190', 900: '#014063', 950: '#002B43' };
7+
const gray = { 100: '#f3f7f9', 200: '#e7eff2', 300: '#bac4c8', 400: '#7b8f96', 500: '#495c62', 700: '#2a3b41', 800: '#182a2f', 900: '#121a1c' };
48

9+
/** @type {import('tailwindcss').Config} */
510
export default {
6-
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
7-
theme: {
8-
extend: {},
9-
},
10-
plugins: [starlightPlugin()],
11-
}
11+
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
12+
theme: {
13+
extend: {
14+
colors: {
15+
accent, gray,
16+
},
17+
fontFamily: {
18+
// Your preferred text font. Starlight uses a system font stack by default.
19+
sans: ['"Atkinson Hyperlegible"'],
20+
// Your preferred code font. Starlight uses system monospace fonts by default.
21+
mono: ['"IBM Plex Mono"'],
22+
},
23+
},
24+
},
25+
plugins: [starlightPlugin()],
26+
};

0 commit comments

Comments
 (0)