Skip to content

Commit c7b03d6

Browse files
authored
Merge pull request #45 from n0-computer/rae/style-updates
Rae/style updates
2 parents 0ae9496 + c5baaf1 commit c7b03d6

2 files changed

Lines changed: 53 additions & 3 deletions

File tree

docs.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"theme": "aspen",
44
"name": "iroh",
55
"colors": {
6-
"primary": "#8790ff",
7-
"light": "#8790ff",
8-
"dark": "#8790ff"
6+
"primary": "#000000",
7+
"light": "#ffffff",
8+
"dark": "#ffffff"
99
},
1010
"favicon": "/favicon.ico",
1111
"navigation": {

style.css

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,53 @@
77
.dark #sidebar-content button[class*="dark:text-gray-400"] {
88
color: #ddd;
99
}
10+
11+
html:not(.dark),
12+
html:not(.dark) body {
13+
background-color: #f5f3ee;
14+
}
15+
16+
.dark,
17+
.dark body {
18+
background-color: #1a1a1a;
19+
}
20+
21+
a[href*="services.iroh.computer"],
22+
a[href*="services.iroh.computer"] *,
23+
button[data-href*="services.iroh.computer"] {
24+
background-color: #8790ff !important;
25+
color: #ffffff !important;
26+
border-color: #8790ff !important;
27+
border-radius: 8px !important;
28+
}
29+
30+
header a:not([href*="services.iroh.computer"]),
31+
header button:not([data-href*="services.iroh.computer"]),
32+
header [role="button"]:not([href*="services.iroh.computer"]),
33+
header [class*="bg-gray"]:not([href*="services.iroh.computer"]),
34+
header [class*="bg-zinc"]:not([href*="services.iroh.computer"]),
35+
header [class*="bg-neutral"]:not([href*="services.iroh.computer"]),
36+
#header a:not([href*="services.iroh.computer"]),
37+
#header button:not([data-href*="services.iroh.computer"]),
38+
#header [role="button"]:not([href*="services.iroh.computer"]),
39+
#header [class*="bg-gray"]:not([href*="services.iroh.computer"]),
40+
nav a:not([href*="services.iroh.computer"]):not([class*="sidebar"]),
41+
nav button:not([data-href*="services.iroh.computer"]),
42+
nav [role="button"]:not([href*="services.iroh.computer"]),
43+
nav [class*="bg-gray"]:not([href*="services.iroh.computer"]),
44+
[class*="navbar"] a:not([href*="services.iroh.computer"]),
45+
[class*="navbar"] button:not([data-href*="services.iroh.computer"]),
46+
[class*="navbar"] [role="button"]:not([href*="services.iroh.computer"]),
47+
[class*="navbar"] [class*="bg-gray"]:not([href*="services.iroh.computer"]),
48+
[aria-label*="theme" i],
49+
[aria-label*="mode" i],
50+
[aria-label*="dark mode" i],
51+
[aria-label*="light mode" i],
52+
[aria-label*="appearance" i],
53+
button[class*="theme"],
54+
button[class*="mode-toggle"],
55+
[class*="ThemeToggle"],
56+
[class*="theme-toggle"] {
57+
background-color: transparent !important;
58+
border-color: transparent !important;
59+
}

0 commit comments

Comments
 (0)