Skip to content

Commit

Permalink
feat: Adjust title and subtitle placeholder colors
Browse files Browse the repository at this point in the history
  • Loading branch information
JF-Cozy committed Jul 23, 2024
1 parent 663101d commit 8e98117
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/notes/editor-view.styl
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ $COZY_BAR_HEIGHT=-3rem
height fit-content !important // to override computed value
margin-bottom var(--note-block-spacing) !important // to override Mui

&>div
& > div
font-size var(--note-title0-fs)
line-height var(--note-title0-lh)
font-weight 900
font-family Lato-Black, var(--primaryFont)

+small-screen()
line-height var(--note-title6-lh)

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

&::placeholder
opacity 1 !important // to override Mui
color var(--secondaryTextColor) !important // to override Mui

&, &:focus, &:hover
opacity 1 !important // to override Mui
4 changes: 4 additions & 0 deletions src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,10 @@ html body .note-editor-container .akEditor .code-block .code-content {
margin-bottom: var(--note-block-spacing) !important;
}

.ProseMirror .placeholder-decoration {
color: var(--secondaryTextColor) !important;
}

/*
2 problems with tables:
Expand Down

0 comments on commit 8e98117

Please sign in to comment.