Skip to content

Commit f165162

Browse files
authored
Merge pull request #1410 from inplayer-org/preview-footer-text-color
Preview footer color change
2 parents ac27167 + f49e3fd commit f165162

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
# [2.5.27] - 04.08.2022
6+
7+
## Added
8+
9+
- Changed the color of the text in the footer for Previews from fixed value to a value from the theme colors
10+
511
# [2.5.26] - 21.07.2022
612

713
## Added

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@inplayer-org/inplayer-ui",
33
"sideEffects": false,
4-
"version": "2.5.26",
4+
"version": "2.5.27",
55
"author": "InPlayer",
66
"description": "InPlayer React UI Components",
77
"main": "dist/inplayer-ui.cjs.js",

src/paywall-previews/Preview1/styled.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { ifProp } from 'styled-tools';
33
import { transparentize } from 'polished';
44
import { FaLock } from 'react-icons/fa';
55
import colors from '../../theme/colors';
6-
import { RestrictedAssetContainer } from '../shared/PreviewComponents';
76

87
export const InPlayerPreviewBox = styled.div`
98
background: ${({ theme }) => theme.palette.background.main};
@@ -195,7 +194,7 @@ export const InplayerFooter = styled.div`
195194
196195
a {
197196
text-decoration: none;
198-
color: #aaa;
197+
color: ${({ theme }) => theme.palette.text.light};
199198
font-size: 14px;
200199
line-height: 18px;
201200
}

0 commit comments

Comments
 (0)