88} from 'react-native' ;
99import { SafeAreaView } from 'react-native-safe-area-context' ;
1010import LinearGradient from 'react-native-linear-gradient' ;
11- import { ABOUT_PAGE_GRADIENT } from '@utils/GradientColors' ;
1211import Icon from 'react-native-vector-icons/Ionicons' ;
1312import { getWMBRLogoSVG } from '@utils/WMBRLogo' ;
1413import { COLORS } from '@utils/Colors' ;
@@ -26,11 +25,18 @@ const openProgramGuide = () =>
2625
2726export default function AboutPage ( ) {
2827 return (
29- < LinearGradient colors = { ABOUT_PAGE_GRADIENT } style = { styles . gradient } >
28+ < LinearGradient
29+ colors = { [ COLORS . BACKGROUND . SECONDARY , COLORS . BACKGROUND . PRIMARY ] }
30+ style = { styles . gradient }
31+ >
3032 < SafeAreaView style = { styles . safeArea } >
3133 < View style = { styles . container } >
3234 < View style = { styles . logoRow } >
33- < SvgXml xml = { getWMBRLogoSVG ( '#FFFFFF' ) } width = { 60 } height = { 16 } />
35+ < SvgXml
36+ xml = { getWMBRLogoSVG ( COLORS . TEXT . PRIMARY ) }
37+ width = { 60 }
38+ height = { 16 }
39+ />
3440 </ View >
3541
3642 < Text style = { styles . body } >
@@ -51,7 +57,7 @@ export default function AboutPage() {
5157 onPress = { ( ) => openLink ( 'tel:+16172538810' ) }
5258 activeOpacity = { 0.8 }
5359 >
54- < Icon name = "call-outline" size = { 20 } color = "#FFFFFF" />
60+ < Icon name = "call-outline" size = { 20 } color = { COLORS . TEXT . PRIMARY } />
5561 < View style = { styles . textBlock } >
5662 < Text style = { styles . linkText } > (617) 253-8810</ Text >
5763 < Text style = { styles . smallText } > Requests Line</ Text >
@@ -64,7 +70,7 @@ export default function AboutPage() {
6470 onPress = { ( ) => openLink ( 'mailto:music@wmbr.org' ) }
6571 activeOpacity = { 0.8 }
6672 >
67- < Icon name = "mail-outline" size = { 20 } color = "#FFFFFF" />
73+ < Icon name = "mail-outline" size = { 20 } color = { COLORS . TEXT . PRIMARY } />
6874 < View style = { styles . textBlock } >
6975 < Text style = { styles . linkText } > music@wmbr.org</ Text >
7076 < Text style = { styles . smallText } > Music Department</ Text >
@@ -76,7 +82,7 @@ export default function AboutPage() {
7682 onPress = { ( ) => openLink ( 'mailto:press@wmbr.org' ) }
7783 activeOpacity = { 0.8 }
7884 >
79- < Icon name = "mail-outline" size = { 20 } color = "#FFFFFF" />
85+ < Icon name = "mail-outline" size = { 20 } color = { COLORS . TEXT . PRIMARY } />
8086 < View style = { styles . textBlock } >
8187 < Text style = { styles . linkText } > press@wmbr.org</ Text >
8288 < Text style = { styles . smallText } > News Department</ Text >
@@ -99,7 +105,11 @@ export default function AboutPage() {
99105 onPress = { openProgramGuide }
100106 activeOpacity = { 0.8 }
101107 >
102- < Icon name = "musical-notes-outline" size = { 18 } color = "#000" />
108+ < Icon
109+ name = "musical-notes-outline"
110+ size = { 18 }
111+ color = { COLORS . BUTTON . ACCENT . TEXT }
112+ />
103113 < Text style = { styles . buttonText } > Program Guide</ Text >
104114 </ TouchableOpacity >
105115
@@ -108,7 +118,11 @@ export default function AboutPage() {
108118 onPress = { openWebsite }
109119 activeOpacity = { 0.8 }
110120 >
111- < Icon name = "globe-outline" size = { 18 } color = "#FFFFFF" />
121+ < Icon
122+ name = "globe-outline"
123+ size = { 18 }
124+ color = { COLORS . TEXT . PRIMARY }
125+ />
112126 < Text style = { styles . buttonOutlineText } > Visit Our Website</ Text >
113127 </ TouchableOpacity >
114128 </ View >
@@ -119,28 +133,40 @@ export default function AboutPage() {
119133 activeOpacity = { 0.8 }
120134 style = { styles . socialButton }
121135 >
122- < Icon name = "logo-instagram" size = { 20 } color = "#FFFFFF" />
136+ < Icon
137+ name = "logo-instagram"
138+ size = { 20 }
139+ color = { COLORS . TEXT . PRIMARY }
140+ />
123141 </ TouchableOpacity >
124142 < TouchableOpacity
125143 onPress = { openTwitter }
126144 activeOpacity = { 0.8 }
127145 style = { styles . socialButton }
128146 >
129- < Icon name = "logo-twitter" size = { 20 } color = "#FFFFFF" />
147+ < Icon name = "logo-twitter" size = { 20 } color = { COLORS . TEXT . PRIMARY } />
130148 </ TouchableOpacity >
131149 < TouchableOpacity
132150 onPress = { openFacebook }
133151 activeOpacity = { 0.8 }
134152 style = { styles . socialButton }
135153 >
136- < Icon name = "logo-facebook" size = { 20 } color = "#FFFFFF" />
154+ < Icon
155+ name = "logo-facebook"
156+ size = { 20 }
157+ color = { COLORS . TEXT . PRIMARY }
158+ />
137159 </ TouchableOpacity >
138160 < TouchableOpacity
139161 onPress = { openMastodon }
140162 activeOpacity = { 0.8 }
141163 style = { styles . socialButton }
142164 >
143- < Icon name = "logo-mastodon" size = { 20 } color = "#FFFFFF" />
165+ < Icon
166+ name = "logo-mastodon"
167+ size = { 20 }
168+ color = { COLORS . TEXT . PRIMARY }
169+ />
144170 </ TouchableOpacity >
145171 </ View >
146172 </ View >
@@ -169,13 +195,17 @@ const styles = StyleSheet.create({
169195 button : {
170196 flexDirection : 'row' ,
171197 alignItems : 'center' ,
172- backgroundColor : '#00D17A' ,
198+ backgroundColor : COLORS . BUTTON . ACCENT . BACKGROUND ,
173199 paddingHorizontal : 12 ,
174200 paddingVertical : 10 ,
175201 borderRadius : 8 ,
176202 marginRight : 8 ,
177203 } ,
178- buttonText : { marginLeft : 8 , color : '#000' , fontWeight : '700' } ,
204+ buttonText : {
205+ marginLeft : 8 ,
206+ color : COLORS . BUTTON . ACCENT . TEXT ,
207+ fontWeight : '700' ,
208+ } ,
179209 buttonOutline : {
180210 flexDirection : 'row' ,
181211 alignItems : 'center' ,
@@ -190,7 +220,7 @@ const styles = StyleSheet.create({
190220 socialRow : { flexDirection : 'row' , marginTop : 18 } ,
191221 socialButton : { marginRight : 12 } ,
192222 linkText : { color : COLORS . TEXT . LINK , textDecorationLine : 'underline' } ,
193- smallText : { color : '#AAAAAA' , fontSize : 12 , marginTop : 2 } ,
223+ smallText : { color : COLORS . TEXT . TERTIARY , fontSize : 12 , marginTop : 2 } ,
194224 section : { marginTop : 12 , marginBottom : 8 } ,
195225 sectionTitle : {
196226 color : COLORS . TEXT . PRIMARY ,
0 commit comments