web_kalk text cursor when hovering input field

This commit is contained in:
PaddiM8 2021-01-05 01:38:56 +01:00
parent 51ef0d8e8f
commit 8b8ebec500
3 changed files with 10 additions and 9 deletions

View File

@ -38,12 +38,12 @@ I am not aware of a better way.
The colours in the component can be changed by using these attributes.
```html
<kalk-calculator
hintText="Type something..."
identifierColor="cornflowerblue"
operatorColor="darkorange"
promptColor="mediumseagreen"
errorColor="tomato"
hintColor="#9c9c9c"
linkColor="cornflowerblue"
backgroundColor="#424242" />
hinttext="Type something..."
identifiercolor="cornflowerblue"
operatorcolor="darkorange"
promptcolor="mediumseagreen"
errorcolor="tomato"
hintcolor="#9c9c9c"
linkcolor="cornflowerblue"
backgroundcolor="#424242" />
```

View File

@ -1,6 +1,6 @@
{
"name": "@paddim8/kalk-component",
"version": "1.0.2",
"version": "1.0.4",
"description": "A Svelte component for kalk, a calculator that supports user-defined functions and variables.",
"svelte": "src/main.ts",
"main": "public/build/bundle.js",

View File

@ -279,6 +279,7 @@
width: 100%;
color: white;
word-wrap: anywhere;
cursor: text;
&:focus {
outline: none;