Update renamed/moved imports

This commit is contained in:
Nate Butler
2022-03-31 23:43:01 -04:00
parent 1d42cbcf42
commit cea3ac6217
7 changed files with 11 additions and 11 deletions
+4 -4
View File
@@ -1,10 +1,10 @@
import chatPanel from "./chat-panel"; import Theme from "../themes/theme";
import chatPanel from "./chatPanel";
import { backgroundColor, borderColor, text } from "./components"; import { backgroundColor, borderColor, text } from "./components";
import editor from "./editor"; import editor from "./editor";
import projectPanel from "./project-panel"; import projectPanel from "./projectPanel";
import search from "./search"; import search from "./search";
import selectorModal from "./selector-modal"; import selectorModal from "./selectorModal";
import Theme from "./theme";
import workspace from "./workspace"; import workspace from "./workspace";
export const panel = { export const panel = {
+2 -2
View File
@@ -1,3 +1,4 @@
import Theme from "../themes/theme";
import { panel } from "./app"; import { panel } from "./app";
import { import {
backgroundColor, backgroundColor,
@@ -5,9 +6,8 @@ import {
player, player,
shadow, shadow,
text, text,
TextColor, TextColor
} from "./components"; } from "./components";
import Theme from "./theme";
export default function chatPanel(theme: Theme) { export default function chatPanel(theme: Theme) {
function channelSelectItem( function channelSelectItem(
+1 -1
View File
@@ -1,7 +1,7 @@
import chroma from "chroma-js"; import chroma from "chroma-js";
import Theme, { BackgroundColor, Weight } from "../themes/theme";
import core from "../tokens/core"; import core from "../tokens/core";
import { Color } from "../utils/color"; import { Color } from "../utils/color";
import Theme, { BackgroundColor, Weight } from "../themes/theme";
export type TextColor = keyof Theme["textColor"]; export type TextColor = keyof Theme["textColor"];
+1 -1
View File
@@ -1,3 +1,4 @@
import Theme from "../themes/theme";
import { import {
backgroundColor, backgroundColor,
border, border,
@@ -6,7 +7,6 @@ import {
text, text,
TextColor TextColor
} from "./components"; } from "./components";
import Theme from "./theme";
export default function editor(theme: Theme) { export default function editor(theme: Theme) {
const autocompleteItem = { const autocompleteItem = {
+1 -1
View File
@@ -1,5 +1,5 @@
import Theme from "../themes/theme";
import { backgroundColor, border, player, text } from "./components"; import { backgroundColor, border, player, text } from "./components";
import Theme from "./theme";
export default function search(theme: Theme) { export default function search(theme: Theme) {
const optionButton = { const optionButton = {
+1 -1
View File
@@ -1,5 +1,5 @@
import Theme from "../themes/theme";
import { backgroundColor, border, player, shadow, text } from "./components"; import { backgroundColor, border, player, shadow, text } from "./components";
import Theme from "./theme";
export default function selectorModal(theme: Theme): Object { export default function selectorModal(theme: Theme): Object {
const item = { const item = {
+1 -1
View File
@@ -1,5 +1,5 @@
import Theme from "../themes/theme";
import { backgroundColor, border, iconColor, text } from "./components"; import { backgroundColor, border, iconColor, text } from "./components";
import Theme from "./theme";
export default function workspace(theme: Theme) { export default function workspace(theme: Theme) {
const signInPrompt = { const signInPrompt = {