File tree Expand file tree Collapse file tree 9 files changed +19
-15
lines changed Expand file tree Collapse file tree 9 files changed +19
-15
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## Unreleased
9
9
10
+ - [ PR-57] ( https://github.com/itk-dev/aapodwalk/pull/57 )
11
+ - Improve lightmode
10
12
- [ PR-56] ( https://github.com/itk-dev/aapodwalk/pull/56 )
11
13
- Rename component ` Map.jsx ` -> ` MapComponent.jsx ` to "[ not shadow the global "Map" property] ( https://eslint.org/docs/latest/rules/no-shadow ) "
12
14
- Create a mapper to map lats/longs to fit the outer bounds react-leaflet uses
Original file line number Diff line number Diff line change @@ -5,25 +5,25 @@ const FAQ = () => {
5
5
return (
6
6
< >
7
7
< h1 className = "text-2xl font-extrabold" > Hjælp og vejledning</ h1 >
8
- < section className = "bg-zinc-100 dark:bg-zinc-900 flex flex-row relative my-2 rounded font-bold p-5 flex flex-col mt-5" >
8
+ < section className = "bg-emerald-400 dark:bg-zinc-900 flex flex-row relative my-2 rounded font-bold p-5 flex flex-col mt-5" >
9
9
Oplysninger om Aarhus Kommune Kultur og Borgerservices behandling af dine personoplysninger ved anvendelse af
10
10
Podwalk
11
11
< Link
12
12
to = { "/personal-information-policy" }
13
- className = "text-emerald-400 dark:text-emerald-600 font-bold underline mt-5"
13
+ className = "text-zinc-900 dark:text-emerald-600 font-bold underline mt-5"
14
14
>
15
15
Læs hele oplysningsteksten
16
16
</ Link >
17
17
</ section >
18
- < section className = "bg-zinc-100 dark:bg-zinc-900 flex flex-row relative my-2 rounded font-bold p-5 flex flex-col mt-5" >
18
+ < section className = "bg-emerald-400 dark:bg-zinc-900 flex flex-row relative my-2 rounded font-bold p-5 flex flex-col mt-5" >
19
19
Sådan bruger du navigationen
20
- < Link to = { "/navigation-help" } className = "text-emerald-400 dark:text-emerald-800 font-bold underline mt-3" >
20
+ < Link to = { "/navigation-help" } className = "text-zinc-900 dark:text-emerald-800 font-bold underline mt-3" >
21
21
Vedledning til navigation
22
22
</ Link >
23
23
</ section >
24
- < section className = "bg-zinc-100 dark:bg-zinc-900 flex flex-row relative my-2 rounded font-bold p-5 flex flex-col mt-5" >
24
+ < section className = "bg-emerald-400 dark:bg-zinc-900 flex flex-row relative my-2 rounded font-bold p-5 flex flex-col mt-5" >
25
25
Tilgængelighedserklæring
26
- < Link className = "text-emerald-400 dark:text-emerald-800 font-bold underline mt-5" >
26
+ < Link className = "text-zinc-900 dark:text-emerald-800 font-bold underline mt-5" >
27
27
{ /* todo add Tilgængelighedserklæring */ }
28
28
Tilgængelighed og en erklæring herom
29
29
</ Link >
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ function MapConsentBanner() {
14
14
if ( openStreetMapConsent === false || openStreetMapConsent === true ) return null ;
15
15
16
16
return (
17
- < div className = "fixed left-3 bottom-3 right-3 dark:bg-zinc-600 flex flex-col gap-3 rounded-lg p-3 bg-emerald-400 " >
17
+ < div className = "fixed left-3 bottom-3 right-3 dark:bg-zinc-600 flex flex-col gap-3 rounded-lg p-3 bg-zinc-300 " >
18
18
< div >
19
19
< h2 className = "mb-1 font-bold" > Samtykke</ h2 >
20
20
< div className = "mt-1 flex flex-col" >
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ const Navbar = () => {
14
14
{ pathname === "/" && < img src = { Logo } alt = "" className = "w-10 h-10" /> }
15
15
{ pathname !== "/" && < BackButton /> }
16
16
< Link
17
- className = "flex place-content-center rounded-full text-xl w-9 h-9 bg-black justify-center items-center"
17
+ className = "flex place-content-center rounded-full text-xl w-9 h-9 bg-emerald-400 dark:bg- black justify-center items-center"
18
18
to = "/faq"
19
19
>
20
20
< FontAwesomeIcon icon = { faQuestion } />
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { React } from "react";
2
2
3
3
const OrderComponent = ( { order } ) => {
4
4
return (
5
- < div className = "flex place-content-center rounded text-xl w-6 h-6 bg-black justify-center mb-2 items-center flex dark:bg-emerald-800" >
5
+ < div className = "flex place-content-center rounded text-xl w-6 h-6 bg-black justify-center mb-2 items-center bg-white flex dark:bg-emerald-800" >
6
6
{ order }
7
7
</ div >
8
8
) ;
Original file line number Diff line number Diff line change @@ -80,15 +80,15 @@ function Point({
80
80
className = { `relative text-left w-full ${ unlocked ? "" : "pointer-events-none" } ` }
81
81
>
82
82
< div
83
- className = { `bg-zinc-100 dark:bg-zinc-700 flex flex-row relative h-32 my-2 rounded flex items-center ${
83
+ className = { `bg-emerald-400 dark:bg-zinc-700 flex flex-row relative h-32 my-2 rounded flex items-center ${
84
84
unlocked ? "" : "opacity-35 blur-sm bg-zinc-100 dark:bg-zinc-900"
85
85
} `}
86
86
>
87
87
< Image src = { image } className = "w-24 h-24 rounded grow w-1/4 ml-2 object-cover" />
88
88
< div className = "w-3/4 ml-2" >
89
89
< OrderComponent order = { order } />
90
90
< h2 className = "text-xl font-bold" > { name } </ h2 >
91
- < div className = "line-clamp-2 text-zinc-300 mr-2" > { subtitles } </ div >
91
+ < div className = "line-clamp-2 text-zinc-900 dark:text-zinc- 300 mr-2" > { subtitles } </ div >
92
92
</ div >
93
93
</ div >
94
94
</ button >
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ function Route({ route }) {
14
14
15
15
return (
16
16
< Link
17
- className = "bg-zinc-100 dark:bg-zinc-900 flex flex-row relative h-32 my-2 rounded"
17
+ className = "bg-emerald-400 dark:bg-zinc-900 flex flex-row relative h-32 my-2 rounded"
18
18
to = { `/route/${ route . id } ` }
19
19
onClick = { ( ) => setSelectedRoute ( route ) }
20
20
>
Original file line number Diff line number Diff line change @@ -25,8 +25,10 @@ function Tag({ title, id }) {
25
25
26
26
return (
27
27
< button
28
- className = { `block mr-1 rounded px-2 mt-1 h-6 font-bold bg-zinc-200 text-black ${
29
- selectedTag === id ? "bg-emerald-400 dark:bg-emerald-800 text-white" : ""
28
+ className = { `${
29
+ selectedTag === id
30
+ ? "block mr-1 rounded px-2 mt-1 h-6 font-bold bg-emerald-400 dark:bg-emerald-800 text-black"
31
+ : "block mr-1 rounded px-2 mt-1 h-6 font-bold bg-zinc-200 text-black"
30
32
} `}
31
33
type = "button"
32
34
onClick = { ( ) => setSelectedTag ( id ) }
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ function TagList({ tags, classes = "" }) {
7
7
setDisplayTags ( tags . map ( ( { title } ) => title ) . join ( ", " ) ) ;
8
8
} , [ ] ) ;
9
9
10
- return < span className = { `text-emerald-400 dark:text-emerald-800 font-bold text-sm ${ classes } ` } > { displayTags } </ span > ;
10
+ return < span className = { `text-black dark:text-emerald-800 font-bold text-sm ${ classes } ` } > { displayTags } </ span > ;
11
11
}
12
12
13
13
export default TagList ;
You can’t perform that action at this time.
0 commit comments