Implement theme styling for TextInput
This commit is contained in:
parent
835877fc63
commit
ce53d3933c
12 changed files with 145 additions and 183 deletions
|
|
@ -120,7 +120,7 @@ pub struct Background {
|
|||
impl Background {
|
||||
pub fn new(base: Color, text: Color) -> Self {
|
||||
let weak = mix(base, text, 0.15);
|
||||
let strong = mix(base, text, 0.25);
|
||||
let strong = mix(base, text, 0.40);
|
||||
|
||||
Self {
|
||||
base: Pair::new(base, text),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue