Skip to content

Commit

Permalink
fix: dark style
Browse files Browse the repository at this point in the history
  • Loading branch information
balaji-sivasakthi committed Aug 10, 2023
1 parent d040d21 commit 0f101eb
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/components/FormGroup/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function FormGroup({ title, className, children, ...rest }) {
return (
<div className={cn("flex space-y-4 items-center", className)}>
<div className="flex-[.5]">
<label className="font-semibold">{title}:-</label>
<label className="font-semibold text-white">{title}:-</label>
</div>
<div className="flex-[1]">{children}</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/PluginCard/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Button from "../Button";
function PluginCard({ data }) {
const { title, isInstalled } = data;
return (
<div className="w-48 h-48 flex border-gray-600 border-2 m-3 flex-col rounded justify-between p-10 items-center">
<div className="w-48 h-48 flex border-gray-600 border-2 m-3 flex-col rounded justify-between p-10 items-center text-white">
{title}
{isInstalled && (
<Button
Expand Down
2 changes: 1 addition & 1 deletion src/components/PopupModel/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function PopupModel({ visible, setVisible, children }) {
>
X
</div>
<div className="bg-white w-full h-full rounded-lg">{children}</div>
<div className=" w-full h-full rounded-lg">{children}</div>
</div>
);
}
Expand Down
6 changes: 4 additions & 2 deletions src/components/RecentDesignCard/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ function RecentDesignCard({ data, onContextMenu }) {
{title.slice(0, 1).toUpperCase()}
</div>
<div className="p-2">
<p title={title && title}>{truncate(title && title, 20)}</p>
<p className="text-secondary text-sm">
<p className="text-white" title={title && title}>
{truncate(title && title, 20)}
</p>
<p className="text-white text-sm">
Last Edit {lastUpdate && new Date(lastUpdate).toLocaleString()}
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/containers/Favourite/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function Favourite() {
getData();
}, []);
return (
<div className="flex space-x-1 flex-wrap p-4 items-center">
<div className="flex space-x-1 flex-wrap p-4 items-center text-white">
{favDesign?.loading ? (
<h1>Loading...</h1>
) : favDesign.data.length != 0 ? (
Expand Down
2 changes: 1 addition & 1 deletion src/containers/ProfileEditor/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function ProfileEditor() {
/>
{errors.mobile && touched.mobile && errors.mobile}
</FormGroup>
<Button className={"mt-10"}>Update</Button>
<Button className={"mt-10 text-white"}>Update</Button>
</form>
)}
</Formik>
Expand Down
4 changes: 2 additions & 2 deletions src/containers/SettingsContainer/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ function SettingsContainer() {
return (
<div className="flex space-y-5 flex-wrap p-4 items-center border-2 border-gray-200 border-solid shadow-md m-10">
<div className="flex w-full">
<label className="flex-[.2]" htmlFor="">
<label className="flex-[.2] text-white" htmlFor="">
Theme
</label>
<select className="flex-[.1]" name="" id="">
<option value="">Dark</option>
<option value="">Light</option>
</select>
</div>
<div className="flex w-full">
<div className="flex w-full text-white">
<label className="flex-[.2]" htmlFor="">
Language
</label>
Expand Down
2 changes: 1 addition & 1 deletion src/containers/TeamContainer/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function TeamContainer() {
</div>
<div className="container flex flex-wrap">
{teams.map((item) => (
<div className="flex flex-col rounded justify-center w-48 h-48 m-3 items-center border-2 border-gray-600">
<div className="flex flex-col rounded justify-center w-48 h-48 m-3 items-center border-2 border-gray-600 text-white">
{item.title}
{item.isJoined && (
<Button
Expand Down

0 comments on commit 0f101eb

Please sign in to comment.