💄 update floating nav button color

This commit is contained in:
ghalestrilo 2020-08-07 15:25:41 -03:00
parent 81ad78ba79
commit 6fa1b23613

View file

@ -1,7 +1,7 @@
import React from 'react'; import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import styled from 'styled-components'; import styled from 'styled-components';
import { remSize } from '../../theme'; import { remSize, prop } from '../../theme';
import Button from '../../common/Button'; import Button from '../../common/Button';
import IconButton from './IconButton'; import IconButton from './IconButton';
@ -12,6 +12,9 @@ const FloatingContainer = styled.div`
text-align: right; text-align: right;
z-index: 3; z-index: 3;
svg { width: ${remSize(32)}; };
svg > path { fill: ${prop('Button.default.background')} !important };
`; `;
const FloatingNav = ({ items }) => ( const FloatingNav = ({ items }) => (