Skip to content

Commit 79c1db9

Browse files
authored
Merge pull request #11 from oslabs-beta/nick
All fonts have min 16px, darkened red
2 parents e375221 + 017987e commit 79c1db9

File tree

14 files changed

+33
-29
lines changed

14 files changed

+33
-29
lines changed

src/app/components/StateRoute/ComponentMap/ComponentMap.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export default function ComponentMap({
9696
maxWidth: 300,
9797
backgroundColor: 'rgb(15,15,15)',
9898
color: 'white',
99-
fontSize: '14px',
99+
fontSize: '16px',
100100
lineHeight: '18px',
101101
fontFamily: 'Roboto',
102102
zIndex: 100,

src/app/components/StateRoute/ComponentMap/LinkControls.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ import React from 'react';
33
import { LinkControlProps, ControlStyles, DropDownStyle, Node } from '../../../FrontendTypes'
44
// Font size of the Controls label and Dropdowns
55
const controlStyles: ControlStyles = {
6-
fontSize: '12px',
6+
fontSize: '16px',
77
padding: '10px',
88
};
99

1010
const dropDownStyle: DropDownStyle = {
1111
margin: '0.5em',
12-
fontSize: '12px',
12+
fontSize: '16px',
1313
fontFamily: 'Roboto, sans-serif',
1414
borderRadius: '4px',
1515
borderStyle: 'solid',

src/app/styles/abstracts/_variables.scss

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,18 @@
44
$text-font-stack: 'Roboto', sans-serif !default;
55

66
/// @type Color
7-
$fiery-rose: #ff6569;
7+
/// fiery-rose changed from ff6569 to F00008 globally to improve contrast
8+
$fiery-rose: #F00008;
89
$blue-brand: #62d6fb;
910

1011
/// @type Color
1112
$blue-color-gradient: linear-gradient(145deg, #69e5ff, #58c1e2);
12-
$red-color-gradient: linear-gradient(145deg, #ff6569, #e65558);
13+
$red-color-gradient: linear-gradient(145deg, #f92f35, #f00008);
1314
$grey-color-gradient: linear-gradient(145deg, #5c6068, #4d5157);
1415

1516
/// @type Color:
1617
$box-shadow-blue: inset 5px 5px 10px #53b6d5, inset -5px -5px 10px #71f6ff;
17-
$box-shadow-red: inset 5px 5px 10px #d95053, inset -5px -5px 10px #ff6c71;
18+
$box-shadow-red: inset 5px 5px 10px #ff0004, inset -5px -5px 10px #f9393f;
1819

1920
/// @type Color
2021
$text-color: #e7e7e7;
@@ -58,4 +59,4 @@ $background-rc-color: #e9e9e9 !default;
5859
$highlight-color: rgba(224, 224, 224, 0.5) !default;
5960

6061
/// @type Font Size
61-
$button-text-size: 12px;
62+
$button-text-size: 16px;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
body {
22
color: $text-color;
3-
font: normal 13px $text-font-stack;
3+
font: normal 16px $text-font-stack;
44
}

src/app/styles/components/_actionComponent.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
}
2121

2222
.action-component.selected {
23+
font-size: 16px;
2324
background-color: $light-grey-one;
2425
}
2526

src/app/styles/components/_buttons.scss

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
padding: 3px;
55
outline: transparent;
66
color: white;
7+
font-size: 16px;
78
display: flex;
89
justify-content: center;
910
align-items: center;
@@ -37,7 +38,7 @@
3738
border-radius: 3px;
3839
cursor: pointer;
3940
line-height: 1.5em;
40-
font: 300 14px 'Roboto', sans-serif;
41+
font: 300 16px 'Roboto', sans-serif;
4142
font-size: $button-text-size;
4243
width: 120px;
4344
background: $red-color-gradient;
@@ -95,7 +96,7 @@
9596
border-radius: 3px;
9697
background: $grey-color-gradient;
9798
font: normal 16px 'Roboto', sans-serif;
98-
color: #b0b0b0;
99+
color: #FFFFFF;
99100
}
100101

101102
.jump-button {
@@ -105,7 +106,7 @@
105106
width: 70px;
106107
border: transparent;
107108
border-radius: 3px;
108-
background-color: #565a61;
109+
background-color: #232529;
109110
font: normal 16px 'Roboto', sans-serif;
110111
color: #FFFFFF;
111112
transform: rotateX(90deg);
@@ -127,7 +128,7 @@
127128
width: 70px;
128129
border: transparent;
129130
border-radius: 3px;
130-
font: normal 11px 'Roboto', sans-serif;
131+
font: normal 16px 'Roboto', sans-serif;
131132
}
132133

133134
.empty-button:hover {
@@ -192,6 +193,7 @@
192193
.export-button,
193194
.pause-button {
194195
@extend %button-shared;
196+
font-size: 16px;
195197
color: white;
196198
border-color: transparent;
197199
background: $blue-color-gradient;
@@ -225,7 +227,7 @@
225227
align-items: center;
226228
cursor: pointer;
227229
line-height: 1.5em;
228-
font: 300 14px 'Roboto', sans-serif;
230+
font: 300 16px 'Roboto', sans-serif;
229231
font-size: $button-text-size;
230232

231233
background: $brand-color;

src/app/styles/components/_performanceVisx.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111

1212
.MuiSwitch-switchBase {
13-
color: #ff6569 !important;
13+
color: #F00008 !important;
1414
}
1515

1616
.MuiSwitch-track {
@@ -24,7 +24,7 @@
2424
#routes-formcontrol {
2525
padding: 3px;
2626
margin-left: 50px;
27-
font: 400 14px 'Roboto', sans-serif;
27+
font: 400 16px 'Roboto', sans-serif;
2828
text-align: left;
2929
// min-width: 10em;
3030
// max-height: 50%;
@@ -33,19 +33,19 @@
3333
#routes-dropdown {
3434
color: white !important;
3535
// background-color: #ff6569 !important;
36-
font: 400 14px 'Roboto', sans-serif;
36+
font: 400 16px 'Roboto', sans-serif;
3737
text-align: left;
3838
}
3939

4040
.saveSeriesContainer {
4141
#routes-select, #snapshot-select {
42-
background-color: #ff6569 !important;
42+
background-color: #F00008 !important;
4343
}
4444
}
4545

4646
#routes-select, #snapshot-select{
4747
color: white !important;
48-
font: 400 14px 'Roboto', sans-serif;
48+
font: 400 16px 'Roboto', sans-serif;
4949
text-align: left;
5050
width: 120px;
5151
height: 30px;

src/app/styles/components/_rc-slider.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
border-color: $border-slider;
5353
}
5454
.rc-slider-handle:active {
55-
background: #e4494b;
55+
background: #f00004;
5656
border-color: $border-slider;
5757
cursor: -webkit-grabbing;
5858
cursor: grabbing;
@@ -62,7 +62,7 @@
6262
top: 18px;
6363
left: 0;
6464
width: 100%;
65-
font-size: 12px;
65+
font-size: 16px;
6666
}
6767
.rc-slider-mark-text {
6868
position: absolute;
@@ -226,7 +226,7 @@
226226
padding: 6px 2px;
227227
min-width: 24px;
228228
height: 24px;
229-
font-size: 12px;
229+
font-size: 16px;
230230
line-height: 1;
231231
color: #fff;
232232
text-align: center;

src/app/styles/components/_renderingFrequency.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
margin-bottom: 5px;
4545
margin-top: 5px;
4646
text-transform: uppercase;
47-
font-size: 14px;
47+
font-size: 16px;
4848
font-weight: 500;
4949
}
5050

@@ -79,7 +79,7 @@
7979
margin-bottom: 5px;
8080
margin-top: 5px;
8181
text-transform: uppercase;
82-
font-size: 14px;
82+
font-size: 16px;
8383
font-weight: 500;
8484
}
8585

src/app/styles/components/_sliderHandle.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
z-index: 1070;
5555
display: block;
5656
visibility: visible;
57-
font-size: 12px;
57+
font-size: 16px;
5858
line-height: 1.5;
5959
opacity: 0.9;
6060
}

0 commit comments

Comments
 (0)