Skip to content

Commit

Permalink
Atualiza theme na versão deprecated do prensa
Browse files Browse the repository at this point in the history
  • Loading branch information
gbombassaro committed Feb 14, 2021
1 parent a116a78 commit acf10e0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion components/Templates/Columnists.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import colors from '../../styles/variables/colors.json'

const Columnists = ({content, domain, lazy, status, theme}) => {
const {title} = content;
const {activeColor} = theme;
const {activeColor} = theme.colors.deprecatedActiveColor;
const propsTemplate = {custom: 'templates-columnists', mb: '6', lg: {align: 'row between wrap', mb: '3'}};
return (
<React.Fragment>
Expand Down
2 changes: 1 addition & 1 deletion components/Templates/Featured.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Teaser from '../Teasers';
import colors from '../../styles/variables/colors.json'

const Featured = ({content, domain, lazy, status, theme}) => {
const {activeColor} = theme;
const {activeColor} = theme.colors.deprecatedActiveColor;
const {items} = content;
if (items.length === 1) {
return (
Expand Down
2 changes: 1 addition & 1 deletion components/Templates/GridNews.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {SectionTitle} from '../Typography';
import colors from '../../styles/variables/colors.json'

const GridNews = ({content, domain, lazy, status, theme}) => {
const {activeColor} = theme;
const {activeColor} = theme.colors.deprecatedActiveColor;
const {items, title} = content;
let items_pqueue = content['items-pqueue'];
let items_list = items_pqueue && items_pqueue.length > 0 ? items_pqueue : items;
Expand Down
2 changes: 1 addition & 1 deletion components/Templates/Latest.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import MostRead from './MostRead';
import colors from '../../styles/variables/colors.json'

const Latest = ({content, domain, lazy, ReadMore, Title, status, theme}) => {
const {activeColor} = theme;
const {activeColor} = theme.colors.deprecatedActiveColor;
const propsContainer = {custom: 'templates-latest-news', align: 'col left', w: '100p', md: {align: 'row between'}};
const propsPageLeft = {custom: 'page-left', mb: '6'};
const propsPageRight = {custom: 'page-right'};
Expand Down
2 changes: 1 addition & 1 deletion components/Templates/Related.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Teaser from '../Teasers';
import colors from '../../styles/variables/colors.json'

const Related = ({items, domain, lazy, ReadMore, status, theme}) => {
const {activeColor} = theme;
const {activeColor} = theme.colors.deprecatedActiveColor;
const propsContainer = {custom: 'templates-related-news', align: 'col left', w: '100p'};
return (
<Block {...propsContainer}>
Expand Down

0 comments on commit acf10e0

Please sign in to comment.