Skip to content

Commit

Permalink
chore: no direct use of supersetTheme (or bad LESS vars) in SqlEditor (
Browse files Browse the repository at this point in the history
…apache#16999)

* chore: no direct use of supersetTheme (or bad LESS vars) in SqlEditor

* putting the background back in, but using the theme.

* should be no need for this import anymore.
  • Loading branch information
rusackas authored and Emmanuel Bavoux committed Nov 14, 2021
1 parent 0eb0f9b commit 7e75a07
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions superset-frontend/src/SqlLab/components/SqlEditor/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import PropTypes from 'prop-types';
import Split from 'react-split';
import { t, styled, supersetTheme, withTheme } from '@superset-ui/core';
import { t, styled, withTheme } from '@superset-ui/core';
import debounce from 'lodash/debounce';
import throttle from 'lodash/throttle';
import StyledModal from 'src/components/Modal';
Expand Down Expand Up @@ -102,10 +102,10 @@ const LimitSelectStyled = styled.span`

const StyledToolbar = styled.div`
padding: ${({ theme }) => theme.gridUnit * 2}px;
background-color: @lightest;
background: ${({ theme }) => theme.colors.grayscale.light5};
display: flex;
justify-content: space-between;
border: 1px solid ${supersetTheme.colors.grayscale.light2};
border: 1px solid ${({ theme }) => theme.colors.grayscale.light2};
border-top: 0;
form {
Expand Down

0 comments on commit 7e75a07

Please sign in to comment.