diff --git a/package.json b/package.json index 235e385..2b62b94 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wkit", - "version": "1.10.11", + "version": "1.10.12", "type": "module", "description": "A library for building fast, lightweight web components.", "main": "dist/index.js", diff --git a/src/constants.js b/src/constants.js index 29a2aee..49e7b79 100644 --- a/src/constants.js +++ b/src/constants.js @@ -46,7 +46,7 @@ export const __mounted__ = Symbol('mounted') export const __pending__ = Symbol('pending') export const __children__ = Symbol('children') -export const RESET_CSS_STYLE = `* {box-sizing: border-box;margin: 0;padding: 0;}::before,::after {box-sizing: border-box;}` +export const RESET_CSS_STYLE = `* {box-sizing: border-box;margin: 0;padding: 0;}::before,::after {box-sizing: border-box;}::selection {background: var(--selection-background, var(--color-plain-a));color: var(--selection-color, inherit);}` function getDefaultValue(type) { switch (type) {