Skip to content

Commit 8e98117

Browse files
committed
feat: Adjust title and subtitle placeholder colors
1 parent 663101d commit 8e98117

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/components/notes/editor-view.styl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,12 @@ $COZY_BAR_HEIGHT=-3rem
2828
height fit-content !important // to override computed value
2929
margin-bottom var(--note-block-spacing) !important // to override Mui
3030

31-
&>div
31+
& > div
3232
font-size var(--note-title0-fs)
3333
line-height var(--note-title0-lh)
3434
font-weight 900
3535
font-family Lato-Black, var(--primaryFont)
36+
3637
+small-screen()
3738
line-height var(--note-title6-lh)
3839

@@ -50,6 +51,7 @@ $COZY_BAR_HEIGHT=-3rem
5051

5152
&::placeholder
5253
opacity 1 !important // to override Mui
54+
color var(--secondaryTextColor) !important // to override Mui
5355

5456
&, &:focus, &:hover
5557
opacity 1 !important // to override Mui

src/styles/index.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,10 @@ html body .note-editor-container .akEditor .code-block .code-content {
590590
margin-bottom: var(--note-block-spacing) !important;
591591
}
592592

593+
.ProseMirror .placeholder-decoration {
594+
color: var(--secondaryTextColor) !important;
595+
}
596+
593597
/*
594598
2 problems with tables:
595599

0 commit comments

Comments
 (0)