Comments (5)
Ok I just changed the theme to "hg-layout-custom" and was then able to target .hg-button no problem. Thanks!
from simple-keyboard.
Hello @capndave,
Following up on my previous message, I've released a new option called "buttonTheme" (on 2.3.0).
You would pass it as such:
buttonTheme: [
{
class: "hg-red",
buttons: "Q W E R T Y q w e r t y"
},
{
class: "hg-highlight",
buttons: "Q q"
}
]
Then add the corresponding css:
.hg-button.hg-standardBtn.hg-red {
background: rgb(255, 0, 0, 0.8);
color: white;
}
.hg-button.hg-standardBtn.hg-highlight {
box-shadow: 0px 0px 40px 5px rgba(255, 255, 0, 0.5);
z-index: 1;
}
And the output would look like this:
I'll get the readme updated shortly :)
Regards,
Francisco Hodge
from simple-keyboard.
Hello @capndave,
Glad you got it working!
There's definitely some improvements I would like to do in terms of customization. I put it as a todo in a "Roadmap" post:
https://github.com/hodgef/simple-keyboard/wiki/Roadmap
I think I'll start work on this and hopefully release an improvement in the next few hours. :)
Thanks for filing the issue, btw! If you see anything that you think should be improved, feel free to open a new issue.
Regards,
Francisco Hodge
from simple-keyboard.
from simple-keyboard.
from simple-keyboard.
Related Issues (20)
- Prevent showing system keyboard on tablets HOT 3
- Support for mouse element HOT 2
- Japanese Flick Input (Mobile) HOT 3
- excludeFromLayout doesnt work HOT 2
- can i use in vue3? HOT 1
- Keyboard button not showing with tailwind HOT 2
- Not responsive on mobile HOT 1
- CSS partialy Apply HOT 1
- BackSpace Issue HOT 1
- need more layers (right alt) HOT 2
- Button Hold : Allow additional keys via options HOT 6
- `layoutCandidates` is not case sensitive HOT 1
- When simple-keyboard is used with accessibility voice over turned on, hitting q enters 1 in input HOT 1
- Simple-keyboard Not Rendering HOT 2
- When set layoutCandidatesPageSize = 15, There is an issue with the background color of the candidate box
- Not displaying keyboard outside app.component HOT 1
- Virtual Keyboard, keys are coming all white HOT 1
- Can this component be dragged by the mouse motor? HOT 2
- When multiple virtual keyboard instances are used, only one instance can get activeInputElement HOT 1
- Is there any working example for the integration of Japanese keyboard with IME input HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simple-keyboard.