@@ -63,7 +63,7 @@ export const Header: Component<{
63
63
64
64
return (
65
65
< header
66
- class = "p-2 flex text-sm justify-between items-center bg-brand-default text-white"
66
+ class = "p-2 flex text-sm justify-between items-center bg-white dark:bg-solid-darkbg dark: text-white text-black "
67
67
classList = { { 'md:col-span-3' : ! props . isHorizontal } }
68
68
>
69
69
< h1 class = "flex items-center space-x-4 uppercase leading-0 tracking-widest pl-1" >
@@ -92,7 +92,7 @@ export const Header: Component<{
92
92
< button
93
93
type = "button"
94
94
onClick = { props . toggleDark }
95
- class = "md:text-white flex flex-row space-x-2 items-center md:px-3 px-2 py-2 focus:outline-none focus:ring-1 rounded opacity-80 hover:opacity-100"
95
+ class = "flex flex-row space-x-2 items-center md:px-3 px-2 py-2 focus:outline-none focus:ring-1 rounded opacity-80 hover:opacity-100"
96
96
classList = { {
97
97
'rounded-none active:bg-gray-300 hover:bg-gray-300 dark:hover:text-black focus:outline-none focus:highlight-none active:highlight-none focus:ring-0 active:outline-none' :
98
98
showMenu ( ) ,
@@ -108,7 +108,7 @@ export const Header: Component<{
108
108
< button
109
109
type = "button"
110
110
onClick = { ( ) => exportToZip ( props . tabs ) }
111
- class = "md:text-white flex flex-row space-x-2 items-center md:px-3 px-2 py-2 focus:outline-none focus:ring-1 rounded opacity-80 hover:opacity-100"
111
+ class = "flex flex-row space-x-2 items-center md:px-3 px-2 py-2 focus:outline-none focus:ring-1 rounded opacity-80 hover:opacity-100"
112
112
classList = { {
113
113
'rounded-none active:bg-gray-300 hover:bg-gray-300 dark:hover:text-black focus:outline-none focus:highlight-none active:highlight-none focus:ring-0 active:outline-none' :
114
114
showMenu ( ) ,
@@ -121,7 +121,7 @@ export const Header: Component<{
121
121
< button
122
122
type = "button"
123
123
onClick = { shareLink }
124
- class = "md:text-white flex flex-row space-x-2 items-center md:px-3 px-2 py-2 focus:outline-none focus:ring-1 rounded"
124
+ class = "flex flex-row space-x-2 items-center md:px-3 px-2 py-2 focus:outline-none focus:ring-1 rounded"
125
125
classList = { {
126
126
'opacity-80 hover:opacity-100' : ! copy ( ) ,
127
127
'text-green-100' : copy ( ) && ! showMenu ( ) ,
@@ -142,18 +142,18 @@ export const Header: Component<{
142
142
classList = { {
143
143
'border-white border' : showMenu ( ) ,
144
144
} }
145
- class = "px-3 py-2 focus:outline-none focus:ring-1 rounded text-white opacity-80 hover:opacity-100 visible relative md:hidden m-0 mr-[10px]"
145
+ class = "px-3 py-2 focus:outline-none focus:ring-1 rounded opacity-80 hover:opacity-100 visible relative md:hidden m-0 mr-[10px]"
146
146
title = "Mobile Menu Button"
147
147
ref = { menuBtnEl }
148
148
>
149
149
< Show when = { showMenu ( ) } fallback = { < Icon path = { menu } class = "h-6 w-6" /> } >
150
150
< Icon path = { xCircle } class = "h-[22px] w-[22px]" /* adjusted to account for border */ />
151
151
</ Show >
152
- < span class = "sr-only text-black md:text-white " > Show menu</ span >
152
+ < span class = "sr-only" > Show menu</ span >
153
153
</ button >
154
- < div class = "-mb-1 leading-snug text-white bg-transparent border-transparent hover:border-white cursor-pointer" >
154
+ < div class = "-mb-1 leading-snug cursor-pointer" >
155
155
< a
156
- href = { `https://api.solidjs.com/auth/login?redirect=${ window . location . href } /login?auth=success` }
156
+ href = { `https://api.solidjs.com/auth/login?redirect=${ window . location . origin } /login?auth=success` }
157
157
>
158
158
Login
159
159
</ a >
0 commit comments