This repository was archived by the owner on Jan 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 17 files changed +112
-4183
lines changed
Expand file tree Collapse file tree 17 files changed +112
-4183
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { css } from "styled-components";
33export const callToActionStyle = css `
44 font-size : ${ ( props ) => props . theme . fontSizes [ 3 ] } ;
55 background-color : ${ ( props ) => props . theme . light . accentColor } ;
6- color : ${ ( props ) => props . theme . light . primaryColorText } ;
6+ color : ${ ( props ) => props . theme . light . textAbovePrimaryColor } ;
77 padding : ${ ( props ) => props . theme . spacing [ 2 ] } ;
88 border : none;
99 border-radius : 4px ;
@@ -13,18 +13,18 @@ export const callToActionStyle = css`
1313
1414 @media (prefers-color-scheme : dark) {
1515 background-color : ${ ( props ) => props . theme . dark . accentColor } ;
16- color : ${ ( props ) => props . theme . dark . primaryColorText } ;
16+ color : ${ ( props ) => props . theme . dark . textAbovePrimaryColor } ;
1717 }
1818
19- color : ${ ( props ) => props . theme . light . primaryColorText } ;
19+ color : ${ ( props ) => props . theme . light . textAbovePrimaryColor } ;
2020 text-decoration : none;
2121
2222 & : hover {
23- color : ${ ( props ) => props . theme . light . primaryColorText } ;
23+ color : ${ ( props ) => props . theme . light . textAbovePrimaryColor } ;
2424 text-decoration : none;
2525
2626 @media (prefers-color-scheme : dark) {
27- color : ${ ( props ) => props . theme . dark . primaryColorText } ;
27+ color : ${ ( props ) => props . theme . dark . textAbovePrimaryColor } ;
2828 }
2929 }
3030` ;
Original file line number Diff line number Diff line change 11import { css } from "styled-components" ;
22
33export const headingStyle = css `
4- line-height : ${ ( props ) => props . theme . lineHeight } ;
4+ line-height : 1.4 ;
55 color : ${ ( props ) => props . theme . light . primaryTextColor } ;
66 margin : ${ ( props ) => props . theme . spacing [ 0 ] } ;
77 font-weight : normal;
Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ import { StyledIconBase } from "@styled-icons/styled-icon";
33
44export const Icon = styled . div `
55 ${ StyledIconBase } {
6- color: ${ ( props ) => props . theme . light . primaryColorText } ;
6+ color: ${ ( props ) => props . theme . light . textAbovePrimaryColor } ;
77 }
88` ;
Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ import styled from "styled-components";
22
33export const List = styled . ul `
44 font-size: ${ ( props ) => props . theme . fontSizes [ 2 ] } ;
5- color: ${ ( props ) => props . theme . light . primaryColorText } ;
5+ color: ${ ( props ) => props . theme . light . primaryTextColor } ;
66 line-height: ${ ( props ) => props . theme . lineHeight } ;
77
88 @media (prefers-color-scheme: dark) {
9- color: ${ ( props ) => props . theme . dark . primaryColorText } ;
9+ color: ${ ( props ) => props . theme . dark . primaryTextColor } ;
1010 }
1111` ;
Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ import styled from "styled-components";
22
33export const Paragraph = styled . p `
44 font-size: ${ ( props ) => props . theme . fontSizes [ 2 ] } ;
5- color: ${ ( props ) => props . theme . light . primaryColorText } ;
5+ color: ${ ( props ) => props . theme . light . primaryTextColor } ;
66 margin: ${ ( props ) => props . theme . spacing [ 0 ] } ;
77 line-height: ${ ( props ) => props . theme . lineHeight } ;
88
99 @media (prefers-color-scheme: dark) {
10- color: ${ ( props ) => props . theme . dark . primaryColorText } ;
10+ color: ${ ( props ) => props . theme . dark . primaryTextColor } ;
1111 }
1212` ;
Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ interface CommentsProps {
99
1010const CommentsContainer = styled . div `
1111 margin-bottom: ${ ( props ) => props . theme . spacing [ 7 ] } ;
12+
13+ #thread__container {
14+ font-family: "Open Sans", Arial, sans-serif;
15+ }
1216` ;
1317
1418export const Comments : React . FC < CommentsProps > = ( { url, title } ) => (
Original file line number Diff line number Diff line change @@ -8,22 +8,22 @@ interface MenuItemProps {
88export const MenuItem = styled ( Link ) < MenuItemProps > `
99 color: ${ ( props ) =>
1010 props . selected
11- ? props . theme . light . primaryColorText
11+ ? props . theme . light . textAbovePrimaryColor
1212 : props . theme . light . primaryColorLight } ;
1313 font-weight: 500;
1414 text-decoration: none;
1515 line-height: ${ ( props ) => props . theme . lineHeight } ;
1616
1717 &:hover,
1818 &:focus {
19- color: ${ ( props ) => props . theme . light . primaryColorText } ;
19+ color: ${ ( props ) => props . theme . light . textAbovePrimaryColor } ;
2020 text-decoration: none;
2121 }
2222
2323 @media (prefers-color-scheme: dark) {
2424 color: ${ ( props ) =>
2525 props . selected
26- ? props . theme . dark . primaryColorText
26+ ? props . theme . dark . textAbovePrimaryColor
2727 : props . theme . dark . primaryColorLight } ;
2828 }
2929` ;
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import styled from "styled-components";
77import { ContainerFluid } from "../atoms/container-fluid" ;
88import { GatsbyImage } from "gatsby-plugin-image" ;
99import { Paragraph } from "../atoms/paragraph" ;
10- import { StandardInternalLink } from "../atoms/standard-internal -link" ;
10+ import { StandardExternalLink } from "../atoms/standard-external -link" ;
1111
1212const PostAuthorsContainer = styled ( ContainerFluid ) `
1313 padding: 0;
@@ -82,18 +82,19 @@ export const PostAuthors: React.FC<PostAuthorsProps> = ({
8282 />
8383 < Paragraph >
8484 { enableUrl && (
85- < StandardInternalLink
85+ < StandardExternalLink
8686 onClick = { ( ) =>
8787 track (
8888 tracking . action . open_blog_author ,
8989 trackingCategory ,
9090 trackingLabel
9191 )
9292 }
93- to = { blogAuthor . url }
93+ href = { blogAuthor . url }
94+ target = { "_blank" }
9495 >
9596 { blogAuthor . name }
96- </ StandardInternalLink >
97+ </ StandardExternalLink >
9798 ) }
9899 { ! enableUrl && blogAuthor . name }
99100 </ Paragraph >
Original file line number Diff line number Diff line change @@ -7,6 +7,22 @@ import styled from "styled-components";
77import { CallToActionInternal } from "../atoms/call-to-action-internal" ;
88import { Heading2 } from "../atoms/heading2" ;
99
10+ const Author = styled ( Heading2 ) `
11+ color: ${ ( props ) => props . theme . light . textAbovePrimaryColor } ;
12+
13+ @media (prefers-color-scheme: dark) {
14+ color: ${ ( props ) => props . theme . dark . textAbovePrimaryColor } ;
15+ }
16+ ` ;
17+
18+ const Job = styled ( Heading5 ) `
19+ color: ${ ( props ) => props . theme . light . textAbovePrimaryColor } ;
20+
21+ @media (prefers-color-scheme: dark) {
22+ color: ${ ( props ) => props . theme . dark . textAbovePrimaryColor } ;
23+ }
24+ ` ;
25+
1026const SocialContactsContainer = styled . div `
1127 display: flex;
1228 justify-content: center;
@@ -59,8 +75,8 @@ export const ProfilePresentation: React.FC<ProfilePresentationProps> = ({
5975 src = { "../../../images/authors/fabrizio-duroni.jpg" }
6076 alt = { author }
6177 />
62- < Heading2 > { author } </ Heading2 >
63- < Heading5 > Software Developer</ Heading5 >
78+ < Author > { author } </ Author >
79+ < Job > Software Developer</ Job >
6480 < SocialContactsContainer >
6581 < SocialContacts
6682 trackingCategory = { tracking . category . home }
You can’t perform that action at this time.
0 commit comments