use new @superset-ui/style package for theming (#9605)

* use new @superset-ui/style package for theming

* fix tests to reference theme

* try adding a wait
This commit is contained in:
David Aaron Suddjian
2020-04-22 13:13:40 -07:00
committed by GitHub
parent 7b33d5457b
commit f8adfc8fbf
9 changed files with 119 additions and 141 deletions

View File

@@ -16,12 +16,12 @@
* specific language governing permissions and limitations
* under the License.
*/
import styled from '@emotion/styled';
import styled from '@superset-ui/style';
export default styled.input`
background-color: #fff;
background-color: ${({ theme }) => theme.colors.secondary.light5};
background-image: none;
border: 1px solid #ccc;
border: 1px solid ${({ theme }) => theme.colors.secondary.light2};
border-radius: 4px;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
padding: 4px 8px;