diff --git a/src/renderer/src/pages/settings/aparence/components/theme-card.tsx b/src/renderer/src/pages/settings/aparence/components/theme-card.tsx
index b8797b82..4bc9698f 100644
--- a/src/renderer/src/pages/settings/aparence/components/theme-card.tsx
+++ b/src/renderer/src/pages/settings/aparence/components/theme-card.tsx
@@ -81,17 +81,6 @@ export const ThemeCard = ({ theme, onListUpdated }: ThemeCardProps) => {
>
{theme.name}
-
-
- {Object.entries(theme.colors).map(([key, color]) => (
-
- ))}
-
{theme.authorName && (
diff --git a/src/renderer/src/pages/settings/aparence/modals/add-theme-modal.tsx b/src/renderer/src/pages/settings/aparence/modals/add-theme-modal.tsx
index ec2798ec..ac50eed9 100644
--- a/src/renderer/src/pages/settings/aparence/modals/add-theme-modal.tsx
+++ b/src/renderer/src/pages/settings/aparence/modals/add-theme-modal.tsx
@@ -41,11 +41,6 @@ export const AddThemeModal = ({
isActive: false,
author: userDetails?.id || undefined,
authorName: userDetails?.username || undefined,
- colors: {
- accent: "",
- background: "",
- surface: "",
- },
code: "",
createdAt: new Date(),
updatedAt: new Date(),
diff --git a/src/renderer/src/pages/theme-editor/theme-editor.scss b/src/renderer/src/pages/theme-editor/theme-editor.scss
index 1f436417..8ba09958 100644
--- a/src/renderer/src/pages/theme-editor/theme-editor.scss
+++ b/src/renderer/src/pages/theme-editor/theme-editor.scss
@@ -9,7 +9,7 @@
&__header {
display: flex;
align-items: center;
- padding: calc(globals.$spacing-unit * 2);
+ padding: calc(globals.$spacing-unit + 1px);
background-color: globals.$dark-background-color;
font-size: 8px;
z-index: 50;
@@ -47,7 +47,7 @@
&-actions {
display: flex;
flex-direction: row;
- justify-content: space-between;
+ justify-content: flex-end;
align-items: center;
&__tabs {
diff --git a/src/renderer/src/pages/theme-editor/theme-editor.tsx b/src/renderer/src/pages/theme-editor/theme-editor.tsx
index b69b8261..68250467 100644
--- a/src/renderer/src/pages/theme-editor/theme-editor.tsx
+++ b/src/renderer/src/pages/theme-editor/theme-editor.tsx
@@ -4,11 +4,7 @@ import Editor from "@monaco-editor/react";
import { Theme } from "@types";
import { useSearchParams } from "react-router-dom";
import { Button } from "@renderer/components";
-import {
- CheckIcon,
- CodeIcon,
- ProjectRoadmapIcon,
-} from "@primer/octicons-react";
+import { CheckIcon } from "@primer/octicons-react";
import { useTranslation } from "react-i18next";
import cn from "classnames";
@@ -16,17 +12,12 @@ export default function ThemeEditor() {
const [searchParams] = useSearchParams();
const [theme, setTheme] = useState(null);
const [code, setCode] = useState("");
- const [activeTab, setActiveTab] = useState("code");
const [hasUnsavedChanges, setHasUnsavedChanges] = useState(false);
const themeId = searchParams.get("themeId");
const { t } = useTranslation("settings");
- const handleTabChange = (tab: string) => {
- setActiveTab(tab);
- };
-
useEffect(() => {
if (themeId) {
window.electron.getCustomThemeById(themeId).then((loadedTheme) => {
@@ -90,12 +81,11 @@ export default function ThemeEditor() {
)}
- {activeTab === "code" && (
-
- )}
-
- {activeTab === "info" && (
-
- entao mano eu ate fiz isso aqui mas tava feio dms ai deu vergonha e
- removi kkkk
-
- )}
+ />
-
-
-
-
-