Skip to content

Commit 490c23a

Browse files
committed
feat(text-editor): tweak placeholder colors
1 parent f8168a0 commit 490c23a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/core/components/text-editor/text-editor-vars.less

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,25 @@
1313
--f7-text-editor-text-color: #000;
1414
--f7-text-editor-bg-color: #fff;
1515
--f7-text-editor-button-divider-color: rgba(0,0,0,0.15);
16-
--f7-text-editor-placeholder-color: rgba(0,0,0,0.35);
1716
});
1817
.dark-vars({
1918
--f7-text-editor-bg-color: #121212;
2019
--f7-text-editor-text-color: #fff;
21-
--f7-text-editor-placeholder-color: rgba(255,255,255,0.35);
2220
--f7-text-editor-button-divider-color: rgba(255,255,255,0.15);
2321
});
2422
}
2523
.ios-vars({
2624
--f7-text-editor-toolbar-padding: 6px;
2725
--f7-text-editor-button-border-radius: 2px;
2826
.light-vars({
27+
--f7-text-editor-placeholder-color: rgba(0,0,0,0.35);
2928
--f7-text-editor-toolbar-border-color: rgba(0,0,0,0.25);
3029
--f7-text-editor-toolbar-bg-color: #fff;
3130
--f7-text-editor-border-color: rgba(0,0,0,0.1);
3231
--f7-text-editor-button-text-color: #333;
3332
});
3433
.dark-vars({
34+
--f7-text-editor-placeholder-color: rgba(255,255,255,0.35);
3535
--f7-text-editor-toolbar-bg-color: #121212;
3636
--f7-text-editor-toolbar-border-color: rgba(255,255,255,0.1);
3737
--f7-text-editor-toolbar-bg-color: #202020;
@@ -44,6 +44,7 @@
4444
--f7-text-editor-toolbar-padding: 8px;
4545
});
4646
.md-color-vars({
47+
--f7-text-editor-placeholder-color: var(--f7-md-on-surface-variant);
4748
--f7-text-editor-toolbar-bg-color: var(--f7-md-surface-1);
4849
--f7-text-editor-border-color: var(--f7-md-outline);
4950
--f7-text-editor-button-text-color: var(--f7-md-on-surface);

0 commit comments

Comments
 (0)