Fix imports breaking on dev

This commit is contained in:
RMidhunSuresh 2022-07-29 23:40:12 +05:30
parent 67e94bd642
commit ef9f90bc36
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ export class DerivedVariables {
} }
} }
import pkg from "off-color"; import * as pkg from "off-color";
const {offColor} = pkg; const {offColor} = pkg;
export function tests() { export function tests() {

View File

@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
import pkg from 'off-color'; import * as pkg from 'off-color';
const offColor = pkg.offColor; const offColor = pkg.offColor;
export function derive(value, operation, argument, isDark) { export function derive(value, operation, argument, isDark) {