File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 --ifm-color-primary-lightest : # 8e89f4 ;
1111 --ifm-code-font-size : 95% ;
1212 --docusaurus-highlighted-code-line-bg : rgba (0 , 0 , 0 , 0.1 );
13+
14+ /* Brand accent: the teal of "coach" in the social card. Darker on light backgrounds for contrast. */
15+ --devcoach-accent : # 0d9488 ;
1316}
1417
1518[data-theme = "dark" ] {
2124 --ifm-color-primary-lighter : # 9da7fb ;
2225 --ifm-color-primary-lightest : # bcc3fc ;
2326 --docusaurus-highlighted-code-line-bg : rgba (0 , 0 , 0 , 0.3 );
27+
28+ /* Bright teal reads better on the dark navbar — matches the social card exactly. */
29+ --devcoach-accent : # 5eead4 ;
30+ }
31+
32+ /*
33+ * Brand wordmark: "dev" in the theme foreground, "coach" in the teal accent — the
34+ * social-card treatment. The real "devcoach" title text is kept in the DOM (font-size:0)
35+ * for the link's accessible name; the two-tone version is drawn with ::before/::after.
36+ */
37+ .navbar__title {
38+ font-size : 0 ;
39+ letter-spacing : 0 ;
40+ }
41+ .navbar__title ::before ,
42+ .navbar__title ::after {
43+ font-size : 1.15rem ;
44+ font-weight : 800 ;
45+ letter-spacing : -0.02em ;
46+ vertical-align : middle;
47+ }
48+ .navbar__title ::before {
49+ content : "dev" ;
50+ color : var (--ifm-navbar-link-color );
51+ }
52+ .navbar__title ::after {
53+ content : "coach" ;
54+ color : var (--devcoach-accent );
55+ }
56+
57+ /* Reusable inline wordmark for prose/MDX: <span class="devcoach-wm">dev<span>coach</span></span>. */
58+ .devcoach-wm {
59+ font-weight : 800 ;
60+ letter-spacing : -0.02em ;
61+ }
62+ .devcoach-wm > span {
63+ color : var (--devcoach-accent );
2464}
You can’t perform that action at this time.
0 commit comments