diff --git a/kalk_web/README.md b/kalk_web/README.md index 7eba32c..3ddbb7c 100644 --- a/kalk_web/README.md +++ b/kalk_web/README.md @@ -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 + hinttext="Type something..." + identifiercolor="cornflowerblue" + operatorcolor="darkorange" + promptcolor="mediumseagreen" + errorcolor="tomato" + hintcolor="#9c9c9c" + linkcolor="cornflowerblue" + backgroundcolor="#424242" /> ``` \ No newline at end of file diff --git a/kalk_web/package.json b/kalk_web/package.json index 6161fcf..a0085c8 100644 --- a/kalk_web/package.json +++ b/kalk_web/package.json @@ -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", diff --git a/kalk_web/src/KalkCalculator.svelte b/kalk_web/src/KalkCalculator.svelte index a329fb1..46a164e 100644 --- a/kalk_web/src/KalkCalculator.svelte +++ b/kalk_web/src/KalkCalculator.svelte @@ -279,6 +279,7 @@ width: 100%; color: white; word-wrap: anywhere; + cursor: text; &:focus { outline: none;