Keyboard theme color display issue #122
-
Hello, I have set a theme on the keyboard, which does not include a background image. The background color of the keys is set to white. However, when running, both the keyboard background color and the button background color are cyan. Here is my theme code:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hello @FromApeToMen , The example that you provide has a background image. Could you share your current theme ? Thank you |
Beta Was this translation helpful? Give feedback.
Hey @FromApeToMen ,
I have tested your theme and it should look like this:
by using this:
let lightTheme: KeyboardTheme = KeyboardTheme(
key: "lightTheme1",
backgroundGradient: [UIColor(red: 209.0/255.0, green: 210.0/255.0, blue: 217.0/255.0, alpha: 1.0)],
keyLetters: .black,
keyBackground: UIColor.white,
keyBackgroundPressed: UIColor.white,
keyShadow: UIColor(red: 137.0/255.0, green: 138.0/255.0, blue: 141.0/255.0, alpha: 1.0),
hoverLetters: UIColor.black,
hoverBackground: UIColor.white,
hoverSelectedLetters: UIColor.white,
hoverSelectedBackground: UIColor(red: 0, green: 122.0/255.0, blue: 1.0, alpha: 1.0),
suggestionLetters: UIColor.black,
suggestionBackground: UIColor.clear,
suggesti…