From b8526256abf0f5b2644cb9ce7e9810f03e51841d Mon Sep 17 00:00:00 2001 From: rutik wankhade Date: Wed, 25 Jan 2023 18:30:02 +0530 Subject: [PATCH] fix outline theme --- src/assets/images/theme5.webp | Bin 0 -> 1696 bytes src/components/Editor.js | 9 +++++++-- src/components/Themes/OutlineTheme.js | 23 +++++++++++++---------- 3 files changed, 20 insertions(+), 12 deletions(-) create mode 100644 src/assets/images/theme5.webp diff --git a/src/assets/images/theme5.webp b/src/assets/images/theme5.webp new file mode 100644 index 0000000000000000000000000000000000000000..98a86162b58b79a5461e0a08352b86d49a5c2298 GIT binary patch literal 1696 zcmWIYbaR`*#=sEn>J$(bU=hK^z`(!)#Qls6?->|?A_@{r3=9D}409Q^CNO?ru$$;I z-*f2_Wkt$tKkvjyRWE^Y+d(^G@VYIPR?!;V^yD)bD%FT14`A`^(x(ft5_T z*>bbn$F`)x3JC}&kr#jfzBsu{tDfg{8i$fkARK9jO|&!(|OidAE?yu2RT!F z2amwUz$=2fWzRomT`~*ll$I?C4o&^|HhP!Nq1yRbF>4|23A}XTu9dtl(6taBKNQ_~ zOY3ng(DxHJ%{X^m^Vx;EMGT#pPcxrv*^v}g8C9vPC*Ih2fPvxPKj|-flIOYvU1%=R zdVJq+!M$>h;};A+Cu%>Bt=qZ5Rq;CO&1 z72XrG+nz>T$(`EEpe~s7f8O`3xBV>sH$QaPpL=7a#p;-N{9}aVm#cw`EM$Ic{TX>? zQp={??yurCw5ni?Bg=$e>Xr07~CnVIOCrka>18yK0S7^PXj4T5MvHO4IoXo{(ksgaqfrJ;$T zxuvOv0bB!E5>rz#@Og1*+7Ah3Xsw@DCL2&0XWS8C4k;B zhI$9cvvMpg$;dCV3knVK^i~LW^z-&`baA!ON0I`jc(8-X3R_^7gaAs1-Q literal 0 HcmV?d00001 diff --git a/src/components/Editor.js b/src/components/Editor.js index 2222b52..96b08c4 100644 --- a/src/components/Editor.js +++ b/src/components/Editor.js @@ -11,6 +11,7 @@ import theme1 from '../assets/images/theme1.webp' import theme2 from '../assets/images/theme2.webp' import theme3 from '../assets/images/theme3.webp' import theme4 from '../assets/images/theme4.webp' +import theme5 from '../assets/images/theme5.webp' const defaultSettings = { @@ -79,7 +80,7 @@ class Editor extends React.Component {
- + @@ -250,6 +251,10 @@ class Editor extends React.Component { onClick={(e) => this.setState({ theme: "preview" })} className="opacity-60 cursor-pointer border border-gray-100 hover:border-gray-200 hover:scale-105 duration-300 m-2" /> + basic theme this.setState({ theme: "outline" })} + className="opacity-60 cursor-pointer border border-gray-100 hover:border-gray-200 hover:scale-105 duration-300 m-2" + />
@@ -274,7 +279,7 @@ class Editor extends React.Component { -
+
diff --git a/src/components/Themes/OutlineTheme.js b/src/components/Themes/OutlineTheme.js index 85bd965..6265be1 100644 --- a/src/components/Themes/OutlineTheme.js +++ b/src/components/Themes/OutlineTheme.js @@ -6,29 +6,32 @@ const OutlineTheme = ({ config }) => {
-
-
-

{title}

-
- -
+
{ customIcon ? -
- img +
+ img
:
- +
} -

{author}

+

{title}

+ +
+ +

{author}

+
+ +