Skip to content

Commit 4ae5c81

Browse files
committed
chore(editor): new styles
1 parent cd61d29 commit 4ae5c81

File tree

3 files changed

+97
-16
lines changed

3 files changed

+97
-16
lines changed

packages/better-write-app/src/components/editor/pdf/configuration/PDFConfiguration.vue

+64-9
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,72 @@
33
v-motion
44
:initial="{ opacity: 0, y: 10 }"
55
:enter="{ opacity: 1, y: 0 }"
6-
:delay="100"
6+
:delay="0"
77
class="flex flex-col justify-start items-start p-5 gap-5"
88
>
99
<PDFConfigurationHeader />
10-
<PDFConfigurationSetProject />
11-
<PDFConfigurationSetCover />
12-
<PDFConfigurationSetBase />
13-
<PDFConfigurationSetParagraph />
14-
<PDFConfigurationSetHeadingOne />
15-
<PDFConfigurationSetHeadingTwo />
16-
<PDFConfigurationSetHeadingThree />
17-
<PDFConfigurationSetLineBreak />
10+
<PDFConfigurationSetProject
11+
v-motion
12+
:initial="{ opacity: 0, y: 30 }"
13+
:enter="{ opacity: 1, y: 0 }"
14+
:delay="100"
15+
/>
16+
<PDFConfigurationSetCover
17+
v-motion
18+
:initial="{ opacity: 0, y: 30 }"
19+
:enter="{ opacity: 1, y: 0 }"
20+
:delay="200"
21+
/>
22+
<PDFConfigurationSetBase
23+
v-motion
24+
:initial="{ opacity: 0, y: 30 }"
25+
:enter="{ opacity: 1, y: 0 }"
26+
:delay="300"
27+
/>
28+
<PDFConfigurationSetParagraph
29+
v-motion
30+
:initial="{ opacity: 0, y: 30 }"
31+
:visible-once="{
32+
opacity: 1,
33+
y: 0,
34+
}"
35+
:delay="0"
36+
/>
37+
<PDFConfigurationSetHeadingOne
38+
v-motion
39+
:initial="{ opacity: 0, y: 30 }"
40+
:visible-once="{
41+
opacity: 1,
42+
y: 0,
43+
}"
44+
:delay="0"
45+
/>
46+
<PDFConfigurationSetHeadingTwo
47+
v-motion
48+
:initial="{ opacity: 0, y: 30 }"
49+
:visible-once="{
50+
opacity: 1,
51+
y: 0,
52+
}"
53+
:delay="0"
54+
/>
55+
<PDFConfigurationSetHeadingThree
56+
v-motion
57+
:initial="{ opacity: 0, y: 30 }"
58+
:visible-once="{
59+
opacity: 1,
60+
y: 0,
61+
}"
62+
:delay="0"
63+
/>
64+
<PDFConfigurationSetLineBreak
65+
v-motion
66+
:initial="{ opacity: 0, y: 30 }"
67+
:visible-once="{
68+
opacity: 1,
69+
y: 0,
70+
}"
71+
:delay="0"
72+
/>
1873
</div>
1974
</template>

packages/better-write-app/src/components/editor/provider/project/ProviderProjectPreferences.vue

+32-6
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,40 @@
33
v-motion
44
:initial="{ opacity: 0 }"
55
:enter="{ opacity: 1 }"
6-
:delay="100"
6+
:delay="0"
77
class="wb-configuration-absolute"
88
>
9-
<EditorProjectPreferencesDefault />
10-
<EditorProjectPreferencesConfiguration />
11-
<EditorProjectPreferencesDropbox v-if="AUTH.dropbox.accessToken" />
12-
<EditorProjectPreferencesEntity />
13-
<EditorProjectPreferencesCommands />
9+
<EditorProjectPreferencesDefault
10+
v-motion
11+
:initial="{ opacity: 0, y: 30 }"
12+
:enter="{ opacity: 1, y: 0 }"
13+
:delay="150"
14+
/>
15+
<EditorProjectPreferencesConfiguration
16+
v-motion
17+
:initial="{ opacity: 0, y: 30 }"
18+
:enter="{ opacity: 1, y: 0 }"
19+
:delay="250"
20+
/>
21+
<EditorProjectPreferencesDropbox
22+
v-if="AUTH.dropbox.accessToken"
23+
v-motion
24+
:initial="{ opacity: 0, y: 30 }"
25+
:enter="{ opacity: 1, y: 0 }"
26+
:delay="350"
27+
/>
28+
<EditorProjectPreferencesEntity
29+
v-motion
30+
:initial="{ opacity: 0, y: 30 }"
31+
:enter="{ opacity: 1, y: 0 }"
32+
:delay="450"
33+
/>
34+
<EditorProjectPreferencesCommands
35+
v-motion
36+
:initial="{ opacity: 0, y: 30 }"
37+
:enter="{ opacity: 1, y: 0 }"
38+
:delay="550"
39+
/>
1440
</div>
1541
</template>
1642

packages/better-write-app/src/components/material/InputFile.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
/>
3232
<HeroIcon
3333
v-if="props.src"
34-
class="wb-text"
34+
class="wb-icon"
3535
@click.prevent.stop="onDeleteBase64"
3636
>
3737
<svg

0 commit comments

Comments
 (0)