@rijkshuisstijl-community/components-css 3.0.0 → 3.1.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 CHANGED
@@ -1,5 +1,15 @@
1
1
  # @rijkshuisstijl-community/components-css
2
2
 
3
+ ## 3.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - a1502a5: Update Utrecht dependencies
8
+
9
+ ### Patch Changes
10
+
11
+ - 9e83410: Added "how to switch theme" instructions in the README.
12
+
3
13
  ## 3.0.0
4
14
 
5
15
  ### Major Changes
package/README.md CHANGED
@@ -35,4 +35,14 @@ pakket, en omring het deel van je applicatie waar je het thema wilt toepassen me
35
35
  @import '@rijkshuisstijl-community/components-css/dist/index.css'; // css importeren
36
36
  ```
37
37
 
38
+ #### Thema wijzigen
39
+
40
+ Om een ander thema toe te passen moet je het importeren van `import '@rijkshuisstijl-community/design-tokens/dist/{thema}/index.css';` en de class aanpassen naar het desbetreffende thema.
41
+ Zie het volgende voorbeeld om het uitvoerend-groen thema toe te passen:
42
+
43
+ ```scss
44
+ @import '@rijkshuisstijl-community/design-tokens/dist/uitvoerend-groen/index.css'; // design tokens importeren
45
+ @import '@rijkshuisstijl-community/components-css/dist/index.css'; // css importeren
46
+ ```
47
+
38
48
  Bekijk de [packages/font/README.md](https://github.com/nl-design-system/rijkshuisstijl-community/blob/main/packages/font/README.md) voor de meerdere manieren om de lettertypen te installeren voor jouw project.