@volvo-cars/css 0.6.2 → 0.7.0
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/README.md +132 -19
- package/dist/chunk-RZ7L3JFA.js +2 -0
- package/dist/{chunk-TZK66UJF.js.map → chunk-RZ7L3JFA.js.map} +0 -0
- package/dist/css/v0/styles.9727a36b.css +1 -0
- package/dist/css/v0/styles_hover.70268fe3.css +1 -0
- package/dist/css/v0/styles_lg.d3002579.css +1 -0
- package/dist/css/v0/styles_md.cc4002ff.css +1 -0
- package/dist/css/v0/{tokens.2fa42890.css → tokens.33d52e89.css} +1 -1
- package/dist/imports.json +5 -4
- package/dist/links.cjs +1 -1
- package/dist/links.cjs.map +1 -1
- package/dist/links.js +1 -1
- package/dist/links.js.map +1 -1
- package/dist/links.server.cjs +1 -1
- package/dist/links.server.cjs.map +1 -1
- package/dist/links.server.js +1 -1
- package/dist/links.server.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.d.ts +84 -0
- package/dist/styles.json +107 -23
- package/dist/styles_all-media.css +1 -1
- package/dist/styles_hover.css +1 -1
- package/dist/styles_lg.css +1 -0
- package/dist/styles_md.css +1 -0
- package/dist/tokens.css +1 -1
- package/dist/tokens.d.ts +73 -68
- package/dist/tokens.json +57 -52
- package/dist/unstable_styles.css +1 -1
- package/dist/unstable_tokens.css +1 -1
- package/package.json +5 -4
- package/dist/chunk-TZK66UJF.js +0 -2
- package/dist/css/v0/styles.015ad357.css +0 -1
- package/dist/css/v0/styles_hover.77cd08ed.css +0 -1
- package/dist/css/v0/styles_reduced-motion.eeee4929.css +0 -1
- package/dist/styles_reduced-motion.css +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volvo-cars/css",
|
|
3
3
|
"description": "Volvo Cars shared CSS",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.7.0",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"type": "module",
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
"./styles.css": "./dist/styles.css",
|
|
10
10
|
"./styles_all-media.css": "./dist/styles_all-media.css",
|
|
11
11
|
"./styles_hover.css": "./dist/styles_hover.css",
|
|
12
|
-
"./
|
|
12
|
+
"./styles_md.css": "./dist/styles_md.css",
|
|
13
|
+
"./styles_lg.css": "./dist/styles_lg.css",
|
|
13
14
|
"./tokens.css": "./dist/tokens.css",
|
|
14
15
|
"./font-face.css": "./dist/font-face.css",
|
|
15
16
|
"./unstable_styles.css": "./dist/unstable_styles.css",
|
|
@@ -118,10 +119,10 @@
|
|
|
118
119
|
"directory": "packages/css"
|
|
119
120
|
},
|
|
120
121
|
"devDependencies": {
|
|
121
|
-
"@types/css-tree": "2.0.
|
|
122
|
+
"@types/css-tree": "2.0.1",
|
|
122
123
|
"@volvo-cars/browserslist-config": "workspace:*",
|
|
123
124
|
"browserslist": "4.21.4",
|
|
124
|
-
"chokidar-cli": "
|
|
125
|
+
"chokidar-cli": "3.0.0",
|
|
125
126
|
"css-tree": "2.3.1",
|
|
126
127
|
"lightningcss": "1.18.0",
|
|
127
128
|
"lodash": "4.17.21",
|
package/dist/chunk-TZK66UJF.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var c={"font-face.css":"css/v0/font-face.05a7ed4c.css","styles.css":"css/v0/styles.015ad357.css","styles_hover.css":"css/v0/styles_hover.77cd08ed.css","styles_reduced-motion.css":"css/v0/styles_reduced-motion.eeee4929.css","tokens.css":"css/v0/tokens.2fa42890.css"};export{c as a};
|
|
2
|
-
//# sourceMappingURL=chunk-TZK66UJF.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:where(.volvo_v0),:where(.volvo_v0 [data-color-mode]){color:var(--v-color-foreground-primary);color-scheme:light;accent-color:var(--v-color-foreground-accent-blue)}:where(.volvo_v0[data-color-mode=dark],.volvo_v0 [data-color-mode=dark]){color-scheme:dark}:where(.volvo_v0){font:var(--v-font-16);tab-size:4}:where(.volvo_v0) :where(code,kbd,samp,pre){font-family:var(--v-font-mono-family);font-size:min(100%,var(--v-font-14-size))}:where(.volvo_v0 pre){white-space:break-spaces}:where(.volvo_v0) *,:where(.volvo_v0) :before,:where(.volvo_v0) :after{box-sizing:border-box}:where(.volvo_v0 :not(progress,meter)){border-color:var(--v-color-ornament-primary);border-style:solid;border-width:0}:where(.volvo_v0 body,body.volvo_v0){min-height:100vh;min-height:100dvh;scrollbar-gutter:stable;background-color:var(--v-color-background-primary);margin:0}:where(.volvo_v0) :where(h1,h2,h3,h4,h5,h6,p,figure,blockquote,dl,dd,ol,ul,pre,input,button,textarea,select,fieldset){margin:0}:where(.volvo_v0) :where(button,ol,ul,legend){padding:0}:where(.volvo_v0 a){color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;-webkit-text-decoration-skip-ink:auto;text-decoration-skip-ink:auto}:where(.volvo_v0 :focus-visible){outline:2px solid var(--v-color-foreground-primary);outline-offset:2px}:where(.volvo_v0) :where(img,picture,video,canvas,svg){max-width:100%}:where(.volvo_v0) :where(ol,ul){list-style:none}:where(.volvo_v0 button){-webkit-appearance:button;appearance:button;background-color:#0000}:where(.volvo_v0 details[class] summary){list-style:none}:where(.volvo_v0 details[class] summary)::marker,:where(.volvo_v0 details[class] summary)::-webkit-details-marker{display:none}:where(.volvo_v0) :where(button,input,optgroup,select,textarea,h1,h2,h3,h4,h5,h6,small){font:inherit}:where(.volvo_v0) :where(b,strong){font-weight:500}:where(.volvo_v0) :where(button,input,optgroup,select,label){line-height:1.3}:where(.volvo_v0 textarea){resize:vertical}:where(.volvo_v0) :where(p,li,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(.volvo_v0) [data-fluid-typography=min]{--_vcc7ec5de:0rem}:where(.volvo_v0) [data-fluid-typography=max]{--_vcc7ec5de:9rem}:where(.volvo_v0) .title-24{font-size:var(--v-font-title-24-size);line-height:var(--v-font-title-24-lineheight)}:where(.volvo_v0) .title-20{font-size:var(--v-font-title-20-size);line-height:var(--v-font-title-20-lineheight)}:where(.volvo_v0) .body-16{font-size:var(--v-font-16-size);line-height:var(--v-font-16-lineheight)}:where(.volvo_v0 small:not([class])),:where(.volvo_v0) .micro{font-size:var(--v-font-12-size);line-height:var(--v-font-12-lineheight);letter-spacing:.02em}:where(.volvo_v0) .font-medium{font-weight:500}:where(.volvo_v0) .font-light{font-weight:300}:where(.volvo_v0) .bg-inherit{background-color:inherit}:where(.volvo_v0) .bg-transparent{background-color:#0000}:where(.volvo_v0) .bg-always-black{background-color:var(--v-color-always-black)}:where(.volvo_v0) .bg-always-white{background-color:var(--v-color-always-white)}:where(.volvo_v0) .bg-primary{background-color:var(--v-color-background-primary)}:where(.volvo_v0) .bg-secondary{background-color:var(--v-color-background-secondary)}:where(.volvo_v0) .bg-accent-blue{background-color:var(--v-color-background-accent-blue)}:where(.volvo_v0) .bg-feedback-green{background-color:var(--v-color-background-feedback-green)}:where(.volvo_v0) .bg-feedback-orange{background-color:var(--v-color-background-feedback-orange)}:where(.volvo_v0) .bg-feedback-red{background-color:var(--v-color-background-feedback-red)}:where(.volvo_v0) .text-inherit{color:inherit}:where(.volvo_v0) .text-always-black{color:var(--v-color-always-black)}:where(.volvo_v0) .text-always-white{color:var(--v-color-always-white)}:where(.volvo_v0) .text-primary{color:var(--v-color-foreground-primary)}:where(.volvo_v0) .text-secondary{color:var(--v-color-foreground-secondary)}:where(.volvo_v0) .text-accent-blue{color:var(--v-color-foreground-accent-blue)}:where(.volvo_v0) .text-feedback-green{color:var(--v-color-foreground-feedback-green)}:where(.volvo_v0) .text-feedback-orange{color:var(--v-color-foreground-feedback-orange)}:where(.volvo_v0) .text-feedback-red{color:var(--v-color-foreground-feedback-red)}.text-start{text-align:start}.text-end{text-align:end}.text-center{text-align:center}:where(.volvo_v0 h1:not([class])),:where(.volvo_v0) .heading-1{font:var(--v-font-heading-1)}:where(.volvo_v0) .heading-1:where([data-fluid-typography]){font-size:clamp(var(--v-font-heading-1-size-min),var(--_vcc7ec5de,var(--v-font-heading-1-size)),var(--v-font-heading-1-size-max))}:where(.volvo_v0 h2:not([class])),:where(.volvo_v0) .heading-2{font:var(--v-font-heading-2)}:where(.volvo_v0) .heading-2:where([data-fluid-typography]){font-size:clamp(var(--v-font-heading-2-size-min),var(--_vcc7ec5de,var(--v-font-heading-2-size)),var(--v-font-heading-2-size-max))}:where(.volvo_v0 h3:not([class])),:where(.volvo_v0) .heading-3{font:var(--v-font-heading-3)}:where(.volvo_v0) .heading-3:where([data-fluid-typography]){font-size:clamp(var(--v-font-heading-3-size-min),var(--_vcc7ec5de,var(--v-font-heading-3-size)),var(--v-font-heading-3-size-max))}:where(.volvo_v0 a:not([class])),:where(.volvo_v0) :where(a,button,[role=link],[role=button]).link-inline{color:var(--v-color-foreground-secondary);-webkit-text-decoration-line:underline;text-decoration-line:underline}:where(.volvo_v0 ul,.volvo_v0 ol).list,:where(.volvo_v0 ul,.volvo_v0 ol):where(:not([class])){list-style-type:revert;padding-inline-start:2rem}:where(.volvo_v0) .statement-1{font:var(--v-font-statement-1)}:where(.volvo_v0) .statement-1:where([data-fluid-typography]){font-size:clamp(var(--v-font-statement-1-size-min),var(--_vcc7ec5de),var(--v-font-statement-1-size-max))}:where(.volvo_v0) .statement-2{font:var(--v-font-statement-2)}:where(.volvo_v0) .statement-2:where([data-fluid-typography]){font-size:clamp(var(--v-font-statement-2-size-min),var(--_vcc7ec5de),var(--v-font-statement-2-size-max))}:where(.volvo_v0) .statement-3{font:var(--v-font-statement-3)}:where(.volvo_v0) .statement-3:where([data-fluid-typography]){font-size:clamp(var(--v-font-statement-3-size-min),var(--_vcc7ec5de),var(--v-font-statement-3-size-max))}:where(.volvo_v0) .statement-signature{font:var(--v-font-statement-signature);letter-spacing:.02em}:where(.volvo_v0) .statement-signature:where([data-fluid-typography]){font-size:clamp(var(--v-font-statement-signature-size-min),var(--_vcc7ec5de),var(--v-font-statement-signature-size-max))}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:where(.volvo_v0) :where(summary,button:not(:disabled),[role=button],[role=link]){cursor:pointer}:where(.volvo_v0 a:not([class]):hover),:where(.volvo_v0) :where(a,button,[role=link],[role=button]).link-inline:hover{color:var(--v-color-foreground-primary);-webkit-text-decoration-line:none;text-decoration-line:none}:where(.volvo_v0) :where(a,button,[role=link],[role=button]).UNSTABLE_link-secondary:hover{color:var(--v-color-foreground-accent-blue)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.volvo_v0 *,.volvo_v0 :before,.volvo_v0 :after{transition-duration:0s!important;animation-duration:0s!important;animation-iteration-count:1!important}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.volvo_v0 *,.volvo_v0 :before,.volvo_v0 :after{transition-duration:0s!important;animation-duration:0s!important;animation-iteration-count:1!important}
|