mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
fix(all): add customization of font-style
This commit is contained in:
@ -9,7 +9,8 @@
|
||||
* @prop --border-radius: Border radius of the textarea
|
||||
* @prop --color: Color of the text
|
||||
* @prop --placeholder-color: Color of the placeholder text
|
||||
* @prop --placeholder-weight: Weight of the placeholder text
|
||||
* @prop --placeholder-font-style: Style of the placeholder text
|
||||
* @prop --placeholder-font-weight: Weight of the placeholder text
|
||||
* @prop --placeholder-opacity: Opacity of the placeholder text
|
||||
* @prop --padding-top: Top padding of the textarea
|
||||
* @prop --padding-end: End padding of the textarea
|
||||
@ -19,7 +20,8 @@
|
||||
--background: initial;
|
||||
--color: currentColor;
|
||||
--placeholder-color: currentColor;
|
||||
--placeholder-weight: inherit;
|
||||
--placeholder-font-style: inherit;
|
||||
--placeholder-font-weight: inherit;
|
||||
--placeholder-opacity: .5;
|
||||
--padding-top: 0;
|
||||
--padding-end: 0;
|
||||
@ -85,7 +87,8 @@
|
||||
color: var(--placeholder-color);
|
||||
|
||||
font-family: inherit;
|
||||
font-weight: var(--placeholder-weight);
|
||||
font-style: var(--placeholder-font-style);
|
||||
font-weight: var(--placeholder-font-weight);
|
||||
|
||||
opacity: var(--placeholder-opacity);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user