diff --git a/app/soapbox/features/ui/components/background_shapes.tsx b/app/soapbox/features/ui/components/background_shapes.tsx index 2f9427eba..50bdef350 100644 --- a/app/soapbox/features/ui/components/background_shapes.tsx +++ b/app/soapbox/features/ui/components/background_shapes.tsx @@ -9,28 +9,7 @@ interface IBackgroundShapes { /** Gradient that appears in the background of the UI. */ const BackgroundShapes: React.FC = ({ position = 'fixed' }) => (
-
- - - - - - - - - - - - - - - - - - - - -
+
); diff --git a/app/styles/application.scss b/app/styles/application.scss index 73622665e..1dcd2efd5 100644 --- a/app/styles/application.scss +++ b/app/styles/application.scss @@ -93,6 +93,26 @@ /* stylelint-disable-next-line unit-no-unknown */ height: 100dvh; } + + .bg-gradient-lg { + background: linear-gradient( + 112deg, + rgba(0, 0, 0, 0) 0%, + rgba(0, 0, 0, 0) 20%, + rgba(var(--color-gradient-start) / 0.1) 30%, + rgba(var(--color-gradient-end) / 0.1) 70%, + rgba(0, 0, 0, 0) 80%, + rgba(0, 0, 0, 0) 100% + ); + } + + .bg-gradient-sm { + background: linear-gradient( + 112deg, + rgba(var(--color-gradient-start) / 0.1) 0%, + rgba(var(--color-gradient-end) / 0.1) 50% + ); + } } @import 'forms';