File tree Expand file tree Collapse file tree 4 files changed +25
-5
lines changed Expand file tree Collapse file tree 4 files changed +25
-5
lines changed Original file line number Diff line number Diff line change 1313 </script >
1414
1515<Story name =" One-up" asChild >
16- <DesignTokens >
16+ <DesignTokens theme = " light " >
1717 <ChartFooter layout =" one-up" >
1818 Daten: <a href =" #1" >Zensus 2022</a >
1919 (Durchschnittsmieten und Einwohnerzahlen),
2424</Story >
2525
2626<Story name =" One-up Centered" asChild >
27- <DesignTokens >
27+ <DesignTokens theme = " light " >
2828 <ChartFooter layout =" one-up" align =" center" >
2929 Daten: <a href =" #1" >Zensus 2022</a >
3030 (Durchschnittsmieten und Einwohnerzahlen),
4444 });
4545 }}
4646>
47- <DesignTokens >
47+ <DesignTokens theme = " light " >
4848 <ChartFooter layout ="one-up" align ="center" showLogo ={false }>
4949 Daten: <a href =" #1" >Zensus 2022</a >
5050 (Durchschnittsmieten und Einwohnerzahlen),
Original file line number Diff line number Diff line change 2020 </Note >
2121 {/if }
2222 {#if showLogo }
23- <Logotype />
23+ <a href =" https://www.swr.de/home/swr-data-lab-team-100.html" class =" logo-link" >
24+ SWR Data Lab
25+ <Logotype />
26+ </a >
2427 {/if }
2528</footer >
2629
3336 width : 100% ;
3437 }
3538 }
39+
40+ .logo-link {
41+ font-size : 0 ;
42+ & :hover ,
43+ & :focus-visible {
44+ :global (path ) {
45+ fill : var (--color-logoFillHover );
46+ }
47+ }
48+ }
49+
3650 .one-up {
3751 display : flex ;
3852 flex-flow : column ;
Original file line number Diff line number Diff line change 5858 --color-textSecondary : var (--textSecondary-light );
5959 --color-textSecondaryHover : var (--textSecondaryHover-light );
6060 --color-logoFill : var (--logoFill-light );
61+ --color-logoFillHover : var (--logoFillHover-light );
6162 --color-pageFill : var (--pageFill-light );
6263 --color-surfaceFill : var (--surfaceFill-light );
6364 --color-surfaceHover : var (--surfaceHover-light );
6667
6768 & [data-theme = ' dark' ] {
6869 --color-logoFill : var (--logoFill-dark );
70+ --color-logoFillHover : var (--logoFillHover-dark );
6971 --color-pageFill : var (--pageFill-dark );
7072 --color-surfaceFill : var (--surfaceFill-dark );
7173 --color-surfaceBorder : var (--surfaceBorder-dark );
Original file line number Diff line number Diff line change @@ -170,9 +170,13 @@ const semantics: ColourMap = {
170170 dark : '#b4b4b4'
171171 } ,
172172 logoFill : {
173- light : shades . gray . light3 ,
173+ light : shades . gray . light1 ,
174174 dark : shades . gray . base
175175 } ,
176+ logoFillHover : {
177+ light : shades . gray . base ,
178+ dark : shades . gray . light1
179+ } ,
176180 surfaceFill : {
177181 dark : '#222325' ,
178182 light : '#ffffff'
You can’t perform that action at this time.
0 commit comments