@utrecht/document-css 1.2.0 → 1.3.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/CHANGELOG.md +6 -0
- package/dist/index.css +2 -7
- package/dist/index.min.css +1 -0
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.d.ts +2 -0
- package/package.json +3 -3
- package/src/_mixin.scss +2 -1
- package/src/html/_mixin.scss +2 -1
- package/src/html/index.scss +2 -1
- package/src/index.scss +2 -1
- package/dist/index.js +0 -1
package/CHANGELOG.md
CHANGED
package/dist/index.css
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* @license EUPL-1.2
|
|
7
|
-
* Copyright (c) 2021 Robbert Broersma
|
|
3
|
+
* Copyright (c) 2020-2024 Frameless B.V.
|
|
4
|
+
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
8
5
|
*/
|
|
9
6
|
.utrecht-document {
|
|
10
|
-
/* reset `font-smoothing: antialiasing`, prefer automatic (`subpixel-antialiasing`) behavior for high-dpi screens */
|
|
11
7
|
-webkit-font-smoothing: auto !important;
|
|
12
8
|
-moz-osx-font-smoothing: auto !important;
|
|
13
9
|
color: var(--utrecht-document-color, inherit);
|
|
@@ -21,7 +17,6 @@
|
|
|
21
17
|
text-size-adjust: none;
|
|
22
18
|
}
|
|
23
19
|
.utrecht-document :lang(ar) {
|
|
24
|
-
/* `letter-spacing` design tokens break Arabic text rendering, avoid that */
|
|
25
20
|
letter-spacing: 0 !important;
|
|
26
21
|
}
|
|
27
22
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.utrecht-document{-webkit-font-smoothing:auto!important;-moz-osx-font-smoothing:auto!important;color:var(--utrecht-document-color,inherit);font-family:var(--utrecht-document-font-family,inherit);font-size:var(--utrecht-document-font-size,inherit);font-weight:var(--utrecht-document-font-weight,inherit);line-height:var(--utrecht-document-line-height,inherit);text-rendering:optimizeLegibility;-moz-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none}.utrecht-document :lang(ar){letter-spacing:0!important}.utrecht-document--surface{background-color:var(--utrecht-document-background-color,inherit)}
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default ".utrecht-document{-webkit-font-smoothing:auto!important;-moz-osx-font-smoothing:auto!important;color:var(--utrecht-document-color,inherit);font-family:var(--utrecht-document-font-family,inherit);font-size:var(--utrecht-document-font-size,inherit);font-weight:var(--utrecht-document-font-weight,inherit);line-height:var(--utrecht-document-line-height,inherit);text-rendering:optimizeLegibility;-moz-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none}.utrecht-document :lang(ar){letter-spacing:0!important}.utrecht-document--surface{background-color:var(--utrecht-document-background-color,inherit)}";
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.3.0",
|
|
3
3
|
"author": "Community for NL Design System",
|
|
4
4
|
"description": "Document component for the Municipality of Utrecht based on the NL Design System architecture",
|
|
5
5
|
"license": "EUPL-1.2",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
],
|
|
13
13
|
"main": "dist/index.css",
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"
|
|
15
|
+
"@utrecht/build-utils-css": "0.0.1"
|
|
16
16
|
},
|
|
17
17
|
"keywords": [
|
|
18
18
|
"nl-design-system"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"directory": "components/document"
|
|
27
27
|
},
|
|
28
28
|
"scripts": {
|
|
29
|
-
"build": "
|
|
29
|
+
"build": "build-css-package",
|
|
30
30
|
"clean": "rimraf dist"
|
|
31
31
|
}
|
|
32
32
|
}
|
package/src/_mixin.scss
CHANGED
package/src/html/_mixin.scss
CHANGED
package/src/html/index.scss
CHANGED
package/src/index.scss
CHANGED
package/dist/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var undefined$1 = undefined;export{undefined$1 as default};
|