Skip to content

Commit

Permalink
fix(core): input selection style (#14)
Browse files Browse the repository at this point in the history
* fix: input selection style

* fix(core): style color

* Update packages/core/src/creator/index.scss

---------

Co-authored-by: YiJie <[email protected]>
  • Loading branch information
Lipraty and NWYLZW authored Jun 5, 2024
1 parent ca08fed commit ad8007b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/core/src/creator/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
border: 0;
font-family: var(--font-family, monospace), serif;
font-size: inherit;
&::selection {
color: transparent;
background-color: var(--shikitor-fg-color-op6, black);
}
}
&.line-numbers &-gutter-line-number {
margin: 0 10px;
Expand Down

0 comments on commit ad8007b

Please sign in to comment.