File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ COPY ./webpack ./webpack
15
15
COPY client ./client
16
16
COPY server ./server
17
17
COPY translations/locales ./translations/locales
18
+ COPY public ./public
18
19
CMD ["npm" , "start" ]
19
20
20
21
FROM development as build
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import styled from 'styled-components';
3
3
import ReactMarkdown from 'react-markdown' ;
4
4
import remarkSlug from 'remark-slug' ;
5
5
import PropTypes from 'prop-types' ;
6
- import { remSize } from '../../../theme' ;
6
+ import { remSize , prop } from '../../../theme' ;
7
7
8
8
const PolicyContainerMain = styled . main `
9
9
max-width: ${ remSize ( 700 ) } ;
@@ -34,6 +34,9 @@ const PolicyContainerMain = styled.main`
34
34
margin-block-start: 1em;
35
35
margin-block-end: 1em;
36
36
}
37
+ & a {
38
+ color: ${ prop ( 'Policy.link' ) } ;
39
+ }
37
40
` ;
38
41
39
42
function PolicyContainer ( { policy } ) {
Original file line number Diff line number Diff line change @@ -8,7 +8,9 @@ export const Theme = {
8
8
9
9
export const colors = {
10
10
p5jsPink : '#ed225d' ,
11
- processingBlue : '#007BBB' ,
11
+ processingBlueDark : '#28347D' ,
12
+ processingBlue : '#2D67F6' ,
13
+ processingBlueLight : '#8DADF9' ,
12
14
p5jsActivePink : '#f10046' ,
13
15
white : '#fff' ,
14
16
black : '#000' ,
@@ -134,6 +136,9 @@ export default {
134
136
card : {
135
137
background : grays . lighter
136
138
}
139
+ } ,
140
+ Policy : {
141
+ link : colors . processingBlue
137
142
}
138
143
} ,
139
144
[ Theme . dark ] : {
@@ -211,6 +216,9 @@ export default {
211
216
card : {
212
217
background : grays . dark
213
218
}
219
+ } ,
220
+ Policy : {
221
+ link : colors . processingBlueLight
214
222
}
215
223
} ,
216
224
[ Theme . contrast ] : {
@@ -288,6 +296,9 @@ export default {
288
296
card : {
289
297
background : grays . dark
290
298
}
299
+ } ,
300
+ Policy : {
301
+ link : colors . processingBlueLight
291
302
}
292
303
}
293
304
} ;
You can’t perform that action at this time.
0 commit comments