Skip to content

Commit

Permalink
Merge pull request #559 from NYPL/SFR-2313/cleanup-scss-files
Browse files Browse the repository at this point in the history
SFR-2313: Cleanup scss files
  • Loading branch information
jackiequach authored Nov 15, 2024
2 parents c1d1d58 + 927b447 commit dcd142f
Show file tree
Hide file tree
Showing 80 changed files with 9 additions and 460 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# CHANGE LOG

## [Prerelease]

- Enable playwright tests GH action
- Remove unused scss and img files

## [0.18.8]

Expand Down
1 change: 1 addition & 0 deletions src/components/Landing/Landing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const LandingPage: React.FC<{ collections?: Opds2Feed }> = ({
sx={{
a: {
color: "ui.link.primary",
display: "inline",
},
}}
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/ReaderLayout/ReaderLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ const ReaderLayout: React.FC<{
const BackButton = () => {
return (
//Apends design system classname to use Design System Link.
<Link to={props.backUrl} className="nypl-ds logo-link">
<Link to={props.backUrl} type="action" className="nypl-ds logo-link">
<Icon decorative className="logo-link__icon">
<ReaderLogoSvg />
</Icon>
Expand Down
3 changes: 2 additions & 1 deletion src/components/Svgs/ReaderLogoSvg.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { PropsOf } from "@chakra-ui/react";
import React from "react";

const ReaderLogoSvg: React.FC = () => (
const ReaderLogoSvg: React.FC<PropsOf<"svg">> = () => (
<svg
width="48"
height="49"
Expand Down
5 changes: 0 additions & 5 deletions styles/components/Citations.scss

This file was deleted.

138 changes: 0 additions & 138 deletions styles/components/Feedback.scss

This file was deleted.

13 changes: 0 additions & 13 deletions styles/components/ReaderLayout.scss

This file was deleted.

90 changes: 0 additions & 90 deletions styles/components/RequestDigitization.scss

This file was deleted.

3 changes: 0 additions & 3 deletions styles/dividers.scss

This file was deleted.

17 changes: 0 additions & 17 deletions styles/img/alerts/error.svg

This file was deleted.

18 changes: 0 additions & 18 deletions styles/img/alerts/info.svg

This file was deleted.

12 changes: 0 additions & 12 deletions styles/img/alerts/success.svg

This file was deleted.

16 changes: 0 additions & 16 deletions styles/img/alerts/warning.svg

This file was deleted.

1 change: 0 additions & 1 deletion styles/img/angle-arrow-down-hover.svg

This file was deleted.

1 change: 0 additions & 1 deletion styles/img/angle-arrow-down-primary-hover.svg

This file was deleted.

1 change: 0 additions & 1 deletion styles/img/angle-arrow-down-primary.svg

This file was deleted.

4 changes: 0 additions & 4 deletions styles/img/angle-arrow-down-white.svg

This file was deleted.

1 change: 0 additions & 1 deletion styles/img/angle-arrow-down.svg

This file was deleted.

1 change: 0 additions & 1 deletion styles/img/angle-arrow-up-primary-hover.svg

This file was deleted.

1 change: 0 additions & 1 deletion styles/img/angle-arrow-up-primary.svg

This file was deleted.

4 changes: 0 additions & 4 deletions styles/img/angle-arrow-up-white.svg

This file was deleted.

1 change: 0 additions & 1 deletion styles/img/arrow-both.svg

This file was deleted.

1 change: 0 additions & 1 deletion styles/img/arrow-down.svg

This file was deleted.

1 change: 0 additions & 1 deletion styles/img/arrow-right.svg

This file was deleted.

Binary file removed styles/img/circle-124.png
Binary file not shown.
3 changes: 0 additions & 3 deletions styles/img/close-blue-30-alt.svg

This file was deleted.

Loading

0 comments on commit dcd142f

Please sign in to comment.