Skip to content

Commit

Permalink
test commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Faraz Maqsood committed Jun 10, 2024
1 parent 9b4f8ec commit c3bf4fb
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/course-home/outline-tab/DateSummary.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const DateSummary = ({
<li className="p-0 px-3 mb-3 small">
<div className="row">
<FontAwesomeIcon icon={faCalendarAlt} className="ml-3 mt-1 mr-1" fixedWidth />
<div className="ml-1 font-weight-bold text-secondary">
<div className="ml-1 font-weight-bold text-tertiary">
<FormattedDate
value={dateBlock.date}
day="numeric"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const StartOrResumeCourseCard = ({ intl, title }) => {
onClick={() => logResumeCourseClick()}
>
{hasVisitedCourse ? intl.formatMessage(messages.resumeBlurb) : intl.formatMessage(messages.startBlurb)}
<Icon src={isLocaleRtl ? ArrowBackIos : ArrowForwardIos} className="text-secondary ml-1" style={{ height: '16px', width: '16px' }} />
<Icon src={isLocaleRtl ? ArrowBackIos : ArrowForwardIos} className="text-tertiary ml-1" style={{ height: '16px', width: '16px' }} />
</Button>
</div>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const CourseGradeFooter = ({ intl, passingGrade }) => {
}

const icon = isPassing ? <CheckSquareIcon className="text-success-500 d-inline-flex" />
: <InfoIcon className="text-secondary d-inline-flex" />;
: <InfoIcon className="text-tertiary d-inline-flex" />;

return (
<div className={`row w-100 m-0 py-3 px-md-5 rounded-bottom course-grade-footer ${isPassing ? 'bg-suces-100' : 'bg-warnings-100'}`}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const DetailedGrades = ({ intl }) => {
)}
{overviewTabUrl && (
<p className="m-0 small">
<InfoIcon className="mr-2 text-secondary" />
<InfoIcon className="mr-2 text-tertiary" />
<FormattedMessage
id="progress.ungradedAlert"
defaultMessage="For progress on ungraded aspects of the course, view your {outlineLink}."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const DetailedGradesTable = ({ intl }) => {
Header: `${intl.formatMessage(messages.score)}`,
accessor: 'score',
headerClassName: 'justify-content-end mb-0',
cellClassName: 'align-top text-right font-weight-semi-bold text-secondary',
cellClassName: 'align-top text-right font-weight-semi-bold text-tertiary',
},
]}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ const GradeSummaryTable = ({ intl, setAllOfSomeAssignmentTypeIsLocked }) => {
accessor: 'weightedGrade',
headerClassName: 'justify-content-end mb-0 text-right',
Cell: ({ value }) => getCell(value.locked, value.weightedGrade),
cellClassName: 'text-right font-weight-semi-bold text-secondary',
footerClassName: 'text-secondary',
cellClassName: 'text-right font-weight-semi-bold text-tertiary',
footerClassName: 'text-tertiary',
},
]}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const GradeSummaryTableFooter = ({ intl }) => {
<DataTable.TableFooter>
<div className="row w-100 m-0">
<div id="weighted-grade-summary" className="col-8 font-weight-semi-bold p-0">{intl.formatMessage(messages.weightedGradeSummary)}</div>
<div data-testid="gradeSummaryFooterTotalWeightedGrade" aria-labelledby="weighted-grade-summary" className="col-4 p-0 text-right font-weight-semi-bold text-secondary">{totalGrade}%{isLocaleRtl && '\u200f'}</div>
<div data-testid="gradeSummaryFooterTotalWeightedGrade" aria-labelledby="weighted-grade-summary" className="col-4 p-0 text-right font-weight-semi-bold text-tertiary">{totalGrade}%{isLocaleRtl && '\u200f'}</div>
</div>
</DataTable.TableFooter>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class NotesVisibility extends Component {
const message = this.state.visible ? 'notes.button.hide' : 'notes.button.show';
return (
<button
className={`trigger btn ${this.state.visible ? 'text-secondary' : 'text-success'} mx-2 `}
className={`trigger btn ${this.state.visible ? 'text-tertiary' : 'text-success'} mx-2 `}
role="switch"
type="button"
onClick={this.handleClick}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ describe('Notes Visibility', () => {

const button = screen.getByRole('switch', { name: 'Hide Notes' });
expect(button).toBeChecked();
expect(button).toHaveClass('text-secondary');
expect(button).toHaveClass('text-tertiary');
expect(button.querySelector('svg')).toHaveClass('fa-pencil-alt');
expect(button.querySelector('svg')).toHaveAttribute('aria-hidden', 'true');
});
Expand Down

0 comments on commit c3bf4fb

Please sign in to comment.