@nuralyui/icon 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/icon.style.js +1 -1
- package/icon.style.js.map +1 -1
- package/icon.variables.js +1 -1
- package/icon.variables.js.map +1 -1
- package/package.json +1 -1
package/icon.style.js
CHANGED
|
@@ -2,7 +2,7 @@ import { css } from 'lit';
|
|
|
2
2
|
import { styleVariables } from './icon.variables.js';
|
|
3
3
|
const iconStyles = css `
|
|
4
4
|
.svg-icon {
|
|
5
|
-
fill: var(--hybrid-icon-color);
|
|
5
|
+
fill: var(--hybrid-icon-color, #000000);
|
|
6
6
|
width: var(--hybrid-icon-width);
|
|
7
7
|
height: var(--hybrid-icon-height);
|
|
8
8
|
}
|
package/icon.style.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.style.js","sourceRoot":"","sources":["../../../src/components/icon/icon.style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AACxB,OAAO,EAAC,cAAc,EAAC,MAAM,qBAAqB,CAAC;AAEnD,MAAM,UAAU,GAAG,GAAG,CAAA;;;;;;CAMrB,CAAC;AACF,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC","sourcesContent":["import {css} from 'lit';\nimport {styleVariables} from './icon.variables.js';\n\nconst iconStyles = css`\n .svg-icon {\n fill: var(--hybrid-icon-color);\n width: var(--hybrid-icon-width);\n height: var(--hybrid-icon-height);\n }\n`;\nexport const styles = [iconStyles, styleVariables];\n"]}
|
|
1
|
+
{"version":3,"file":"icon.style.js","sourceRoot":"","sources":["../../../src/components/icon/icon.style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AACxB,OAAO,EAAC,cAAc,EAAC,MAAM,qBAAqB,CAAC;AAEnD,MAAM,UAAU,GAAG,GAAG,CAAA;;;;;;CAMrB,CAAC;AACF,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC","sourcesContent":["import {css} from 'lit';\nimport {styleVariables} from './icon.variables.js';\n\nconst iconStyles = css`\n .svg-icon {\n fill: var(--hybrid-icon-color, #000000);\n width: var(--hybrid-icon-width);\n height: var(--hybrid-icon-height);\n }\n`;\nexport const styles = [iconStyles, styleVariables];\n"]}
|
package/icon.variables.js
CHANGED
package/icon.variables.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.variables.js","sourceRoot":"","sources":["../../../src/components/icon/icon.variables.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"icon.variables.js","sourceRoot":"","sources":["../../../src/components/icon/icon.variables.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAA;;;;;;;;;;;CAWhC,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styleVariables = css`\n :host {\n /* --hybrid-icon-color: #000000; */\n --hybrid-icon-width: 18px;\n --hybrid-icon-height: 18px;\n }\n @media (prefers-color-scheme: dark) {\n :host {\n --hybrid-icon-color: #ffffff;\n }\n }\n`;\n"]}
|