@openwebconcept/theme-ridderkerk 0.0.0-stage → 1.0.1

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/package.json CHANGED
@@ -1,6 +1,39 @@
1
1
  {
2
2
  "name": "@openwebconcept/theme-ridderkerk",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "1.0.1",
4
+ "author": "Community for NL Design System",
5
+ "description": "Design tokens for Ridderkerk theme",
6
+ "license": "SEE LICENSE IN LICENSE.md",
7
+ "keywords": [
8
+ "nl-design-system",
9
+ "design-tokens",
10
+ "ridderkerk"
11
+ ],
12
+ "publishConfig": {
13
+ "access": "public"
14
+ },
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/OpenWebconcept/nl-design-system.git",
18
+ "directory": "proprietary/theme-ridderkerk"
19
+ },
20
+ "devDependencies": {
21
+ "chokidar-cli": "3.0.0",
22
+ "rimraf": "6.1.3",
23
+ "sass": "1.97.3",
24
+ "style-dictionary": "5.4.4",
25
+ "@openwebconcept/design-tokens": "2.1.0"
26
+ },
27
+ "dependencies": {
28
+ "@fontsource/open-sans": "5.3.0"
29
+ },
30
+ "scripts": {
31
+ "clean": "rimraf dist/",
32
+ "build": "pnpm run --sequential '/^build:.+$/'",
33
+ "build:clean": "pnpm run clean",
34
+ "build:style-dictionary": "style-dictionary build --config ./style-dictionary.config.json",
35
+ "build:index": "sass src/index.scss dist/index.css --no-source-map",
36
+ "watch": "pnpm run '/^watch:.+$/'",
37
+ "watch:style-dictionary": "chokidar --follow-symlinks --initial --command 'pnpm run build' 'src/**/*.tokens.json'"
38
+ }
6
39
  }
@@ -0,0 +1,9 @@
1
+ {
2
+ "owc": {
3
+ "color": {
4
+ "primary": {
5
+ "$value": "#008937"
6
+ }
7
+ }
8
+ }
9
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "owc": {
3
+ "typography": {
4
+ "font-family": {
5
+ "sans": {
6
+ "$value": "\"Open Sans\", sans-serif"
7
+ }
8
+ },
9
+ "font-size": {
10
+ "sm": {
11
+ "$value": "0.9rem"
12
+ },
13
+ "base": {
14
+ "$value": "clamp(0.9rem, 0.8046rem + 0.4071vw, 1rem)"
15
+ },
16
+ "lg": {
17
+ "$value": "1.1rem"
18
+ }
19
+ },
20
+ "line-height": {
21
+ "base": {
22
+ "$value": "1.7"
23
+ }
24
+ }
25
+ }
26
+ }
27
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "owc": {
3
+ "button": {
4
+ "border-radius": {
5
+ "$value": "5px"
6
+ },
7
+ "font-size": {
8
+ "$value": "1rem"
9
+ },
10
+ "font-weight": {
11
+ "$value": "700"
12
+ },
13
+ "padding-block": {
14
+ "$value": "0.7rem"
15
+ },
16
+ "padding-inline": {
17
+ "$value": "1.2rem"
18
+ },
19
+ "line-height": {
20
+ "$value": "1.7"
21
+ }
22
+ }
23
+ }
24
+ }
package/src/index.scss ADDED
@@ -0,0 +1,6 @@
1
+ /* Ridderkerk Theme */
2
+ @import "@fontsource/open-sans/300.css";
3
+ @import "@fontsource/open-sans/400.css";
4
+ @import "@fontsource/open-sans/700.css";
5
+
6
+ @import "./theme.css";
@@ -0,0 +1,57 @@
1
+ {
2
+ "usesDtcg": true,
3
+ "source": ["./src/**/tokens.json", "./src/**/*.tokens.json"],
4
+ "include": [
5
+ "node_modules/@openwebconcept/design-tokens/src/**/*.tokens.json",
6
+ "../design-tokens/src/**/*.tokens.json"
7
+ ],
8
+ "platforms": {
9
+ "css": {
10
+ "transforms": ["name/kebab", "color/hsl-4"],
11
+ "buildPath": "dist/",
12
+ "files": [
13
+ {
14
+ "destination": "theme.css",
15
+ "format": "css/variables",
16
+ "options": {
17
+ "selector": ".theme-ridderkerk",
18
+ "outputReferences": true
19
+ }
20
+ }
21
+ ]
22
+ },
23
+ "scss": {
24
+ "transforms": ["name/kebab", "color/hsl-4"],
25
+ "buildPath": "dist/",
26
+ "files": [
27
+ {
28
+ "destination": "_variables.scss",
29
+ "format": "scss/variables",
30
+ "options": {
31
+ "outputReferences": true
32
+ }
33
+ }
34
+ ]
35
+ },
36
+ "js": {
37
+ "transforms": ["name/camel", "color/hsl-4"],
38
+ "buildPath": "dist/",
39
+ "files": [
40
+ {
41
+ "destination": "index.js",
42
+ "format": "javascript/es6"
43
+ }
44
+ ]
45
+ },
46
+ "json": {
47
+ "transforms": ["name/camel", "color/hsl-4"],
48
+ "buildPath": "dist/",
49
+ "files": [
50
+ {
51
+ "destination": "tokens.json",
52
+ "format": "json/nested"
53
+ }
54
+ ]
55
+ }
56
+ }
57
+ }