diff --git a/client/src/app.css b/client/src/app.css index 45395ba..b103e85 100644 --- a/client/src/app.css +++ b/client/src/app.css @@ -3,19 +3,21 @@ :root { --clr-primary: #1976d2; --clr-code: rgba(0, 32, 90, 0.87); + --ff-primary: Roboto; + --ff-code: Roboto Mono; } /* General styling */ body { - font-family: Roboto; + font-family: var(--ff-primary); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } code { - font-family: Roboto Mono; + font-family: var(--ff-code); color: var(--clr-code); } diff --git a/client/src/components/infoview/goals.tsx b/client/src/components/infoview/goals.tsx index 3148f4b..a8a819c 100644 --- a/client/src/components/infoview/goals.tsx +++ b/client/src/components/infoview/goals.tsx @@ -123,7 +123,6 @@ interface GoalProps { export const Goal = React.memo((props: GoalProps) => { const { goal, filter } = props - const prefix = goal.goalPrefix ?? 'Prove: ' const filteredList = getFilteredHypotheses(goal.hyps, filter); const hyps = filter.reverse ? filteredList.slice().reverse() : filteredList; const locs = React.useContext(LocationsContext) @@ -133,7 +132,7 @@ export const Goal = React.memo((props: GoalProps) => { undefined, [locs, goal.mvarId]) const goalLi =
- Prove: +
Goal:
@@ -150,10 +149,12 @@ export const Goal = React.memo((props: GoalProps) => { return
{goal.userName &&
case {goal.userName}
} {filter.reverse && goalLi} -
Objects:
- {objectHyps.map((h, i) => )} -
Assumptions:
- {assumptionHyps.map((h, i) => )} + { objectHyps.length > 0 && +
Objects:
+ {objectHyps.map((h, i) => )}
} + { assumptionHyps.length > 0 && +
Assumptions:
+ {assumptionHyps.map((h, i) => )}
} {!filter.reverse && goalLi} {hints}
diff --git a/client/src/components/infoview/infoview.css b/client/src/components/infoview/infoview.css index a1af383..d05e5e1 100644 --- a/client/src/components/infoview/infoview.css +++ b/client/src/components/infoview/infoview.css @@ -16,3 +16,12 @@ color: #D8000C; background-color: #FFBABA; } + +.hyp-group { + margin-bottom: 0.3em; +} + +.hyp-group-title, .goal-title { + font-family: var(--ff-primary); + font-size: 1.2rem; +}