nsw-design-system 3.17.4 → 3.18.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 +4 -4
- package/dist/css/main.css +1 -1
- package/dist/js/main.js +243 -184
- package/package.json +3 -3
- package/src/components/_all.scss +1 -0
- package/src/components/form/_form.scss +0 -1
- package/src/components/hero-banner/_hero-banner.scss +0 -1
- package/src/components/masthead/_masthead.scss +9 -14
- package/src/components/support-list/_support-list.scss +113 -0
- package/src/main.scss +1 -0
package/README.md
CHANGED
|
@@ -82,8 +82,8 @@ After importing the core library, you can start importing individual components
|
|
|
82
82
|
Include the following lines of code in the `<head>` tag of your main HTML document, placing them before the NSW Design System styles import:
|
|
83
83
|
|
|
84
84
|
```
|
|
85
|
-
<link href="
|
|
86
|
-
<link href="
|
|
85
|
+
<link href="https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,400;0,700;1,400&display=swap" rel="stylesheet">
|
|
86
|
+
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
|
87
87
|
```
|
|
88
88
|
|
|
89
89
|
Alternatively, you can import fonts and icons directly in your CSS:
|
|
@@ -114,11 +114,11 @@ For a faster setup, you can utilize the JSDelivr CDN to include the NSW Design S
|
|
|
114
114
|
<html>
|
|
115
115
|
<head>
|
|
116
116
|
<!-- ... -->
|
|
117
|
-
<link rel="stylesheet" href="
|
|
117
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/nsw-design-system@3/dist/css/main.css">
|
|
118
118
|
</head>
|
|
119
119
|
<body>
|
|
120
120
|
<!-- ... -->
|
|
121
|
-
<script src="
|
|
121
|
+
<script src="https://cdn.jsdelivr.net/npm/nsw-design-system@3/dist/js/main.min.js"></script>
|
|
122
122
|
<script>window.NSW.initSite()</script>
|
|
123
123
|
</body>
|
|
124
124
|
</html>
|