@grantcodes/style-dictionary 0.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/.github/workflows/create-release.yml +45 -0
- package/.simple-git-hooks.cjs +1 -0
- package/README.md +3 -0
- package/assets/fonts/greycliff-bold-oblique.eot +0 -0
- package/assets/fonts/greycliff-bold-oblique.ttf +0 -0
- package/assets/fonts/greycliff-bold-oblique.woff +0 -0
- package/assets/fonts/greycliff-bold-oblique.woff2 +0 -0
- package/assets/fonts/greycliff-bold.eot +0 -0
- package/assets/fonts/greycliff-bold.ttf +0 -0
- package/assets/fonts/greycliff-bold.woff +0 -0
- package/assets/fonts/greycliff-bold.woff2 +0 -0
- package/assets/fonts/greycliff-demi-bold-oblique.eot +0 -0
- package/assets/fonts/greycliff-demi-bold-oblique.ttf +0 -0
- package/assets/fonts/greycliff-demi-bold-oblique.woff +0 -0
- package/assets/fonts/greycliff-demi-bold-oblique.woff2 +0 -0
- package/assets/fonts/greycliff-demi-bold.eot +0 -0
- package/assets/fonts/greycliff-demi-bold.ttf +0 -0
- package/assets/fonts/greycliff-demi-bold.woff +0 -0
- package/assets/fonts/greycliff-demi-bold.woff2 +0 -0
- package/assets/fonts/greycliff-extra-bold-oblique.eot +0 -0
- package/assets/fonts/greycliff-extra-bold-oblique.ttf +0 -0
- package/assets/fonts/greycliff-extra-bold-oblique.woff +0 -0
- package/assets/fonts/greycliff-extra-bold-oblique.woff2 +0 -0
- package/assets/fonts/greycliff-extra-bold.eot +0 -0
- package/assets/fonts/greycliff-extra-bold.ttf +0 -0
- package/assets/fonts/greycliff-extra-bold.woff +0 -0
- package/assets/fonts/greycliff-extra-bold.woff2 +0 -0
- package/assets/fonts/greycliff-extra-light-oblique.eot +0 -0
- package/assets/fonts/greycliff-extra-light-oblique.ttf +0 -0
- package/assets/fonts/greycliff-extra-light-oblique.woff +0 -0
- package/assets/fonts/greycliff-extra-light-oblique.woff2 +0 -0
- package/assets/fonts/greycliff-extra-light.eot +0 -0
- package/assets/fonts/greycliff-extra-light.ttf +0 -0
- package/assets/fonts/greycliff-extra-light.woff +0 -0
- package/assets/fonts/greycliff-extra-light.woff2 +0 -0
- package/assets/fonts/greycliff-heavy-oblique.eot +0 -0
- package/assets/fonts/greycliff-heavy-oblique.ttf +0 -0
- package/assets/fonts/greycliff-heavy-oblique.woff +0 -0
- package/assets/fonts/greycliff-heavy-oblique.woff2 +0 -0
- package/assets/fonts/greycliff-heavy.eot +0 -0
- package/assets/fonts/greycliff-heavy.ttf +0 -0
- package/assets/fonts/greycliff-heavy.woff +0 -0
- package/assets/fonts/greycliff-heavy.woff2 +0 -0
- package/assets/fonts/greycliff-light-oblique.eot +0 -0
- package/assets/fonts/greycliff-light-oblique.ttf +0 -0
- package/assets/fonts/greycliff-light-oblique.woff +0 -0
- package/assets/fonts/greycliff-light-oblique.woff2 +0 -0
- package/assets/fonts/greycliff-light.eot +0 -0
- package/assets/fonts/greycliff-light.ttf +0 -0
- package/assets/fonts/greycliff-light.woff +0 -0
- package/assets/fonts/greycliff-light.woff2 +0 -0
- package/assets/fonts/greycliff-medium-oblique.eot +0 -0
- package/assets/fonts/greycliff-medium-oblique.ttf +0 -0
- package/assets/fonts/greycliff-medium-oblique.woff +0 -0
- package/assets/fonts/greycliff-medium-oblique.woff2 +0 -0
- package/assets/fonts/greycliff-medium.eot +0 -0
- package/assets/fonts/greycliff-medium.ttf +0 -0
- package/assets/fonts/greycliff-medium.woff +0 -0
- package/assets/fonts/greycliff-medium.woff2 +0 -0
- package/assets/fonts/greycliff-regular-oblique.eot +0 -0
- package/assets/fonts/greycliff-regular-oblique.ttf +0 -0
- package/assets/fonts/greycliff-regular-oblique.woff +0 -0
- package/assets/fonts/greycliff-regular-oblique.woff2 +0 -0
- package/assets/fonts/greycliff-regular.eot +0 -0
- package/assets/fonts/greycliff-regular.ttf +0 -0
- package/assets/fonts/greycliff-regular.woff +0 -0
- package/assets/fonts/greycliff-regular.woff2 +0 -0
- package/assets/fonts/greycliff-thin-oblique.eot +0 -0
- package/assets/fonts/greycliff-thin-oblique.ttf +0 -0
- package/assets/fonts/greycliff-thin-oblique.woff +0 -0
- package/assets/fonts/greycliff-thin-oblique.woff2 +0 -0
- package/assets/fonts/greycliff-thin.eot +0 -0
- package/assets/fonts/greycliff-thin.ttf +0 -0
- package/assets/fonts/greycliff-thin.woff +0 -0
- package/assets/fonts/greycliff-thin.woff2 +0 -0
- package/assets/fonts/greycliff.css +161 -0
- package/assets/fonts/quicksand-bold.ttf +0 -0
- package/assets/fonts/quicksand-bold.woff +0 -0
- package/assets/fonts/quicksand-bold.woff2 +0 -0
- package/assets/fonts/quicksand-light.ttf +0 -0
- package/assets/fonts/quicksand-light.woff +0 -0
- package/assets/fonts/quicksand-light.woff2 +0 -0
- package/assets/fonts/quicksand-medium.ttf +0 -0
- package/assets/fonts/quicksand-medium.woff +0 -0
- package/assets/fonts/quicksand-medium.woff2 +0 -0
- package/assets/fonts/quicksand-regular.ttf +0 -0
- package/assets/fonts/quicksand-regular.woff +0 -0
- package/assets/fonts/quicksand-regular.woff2 +0 -0
- package/assets/fonts/quicksand.css +35 -0
- package/build/css/default/style-dictionary.css +181 -0
- package/build/css/todomap/style-dictionary.css +181 -0
- package/build/js/default/style-dictionary.js +179 -0
- package/build/js/todomap/style-dictionary.js +179 -0
- package/build/scss/default/_style-dictionary.scss +181 -0
- package/build/scss/todomap/_style-dictionary.scss +181 -0
- package/commitlint.config.cjs +1 -0
- package/package.json +30 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
name: Create Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
release-please:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
steps:
|
|
12
|
+
- uses: google-github-actions/release-please-action@v3
|
|
13
|
+
name: Create release PR
|
|
14
|
+
with:
|
|
15
|
+
release-type: node
|
|
16
|
+
package-name: '@grantcodes/style-dictionary'
|
|
17
|
+
|
|
18
|
+
- uses: actions/checkout@v3
|
|
19
|
+
name: Checkout code
|
|
20
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
21
|
+
|
|
22
|
+
- uses: actions/setup-node@v3
|
|
23
|
+
name: Setup node
|
|
24
|
+
with:
|
|
25
|
+
node-version: 16
|
|
26
|
+
registry-url: 'https://registry.npmjs.org'
|
|
27
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
28
|
+
|
|
29
|
+
- run: npm ci
|
|
30
|
+
name: Install dependencies
|
|
31
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
32
|
+
|
|
33
|
+
- run: npm run build
|
|
34
|
+
name: Build package
|
|
35
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
36
|
+
|
|
37
|
+
- run: npm test
|
|
38
|
+
name: Run tests
|
|
39
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
40
|
+
|
|
41
|
+
- run: npm publish
|
|
42
|
+
name: Publish to NPM
|
|
43
|
+
env:
|
|
44
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
45
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const defaultHooks = require('@grantcodes/commit/.simple-git-hooks.cjs'); module.exports = { ...defaultHooks };
|
package/README.md
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: Greycliff;
|
|
3
|
+
font-style: normal;
|
|
4
|
+
font-weight: 100;
|
|
5
|
+
font-display: swap;
|
|
6
|
+
src: url('./greycliff-extra-light.woff2') format('woff2'),
|
|
7
|
+
url('./greycliff-extra-light.woff') format('woff');
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@font-face {
|
|
11
|
+
font-family: Greycliff;
|
|
12
|
+
font-style: normal;
|
|
13
|
+
font-weight: 200;
|
|
14
|
+
font-display: swap;
|
|
15
|
+
src: url('./greycliff-light.woff2') format('woff2'),
|
|
16
|
+
url('./greycliff-light.woff') format('woff');
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@font-face {
|
|
20
|
+
font-family: Greycliff;
|
|
21
|
+
font-style: normal;
|
|
22
|
+
font-weight: 300;
|
|
23
|
+
font-display: swap;
|
|
24
|
+
src: url('./greycliff-thin.woff2') format('woff2'),
|
|
25
|
+
url('./greycliff-thin.woff') format('woff');
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@font-face {
|
|
29
|
+
font-family: Greycliff;
|
|
30
|
+
font-style: normal;
|
|
31
|
+
font-weight: 400;
|
|
32
|
+
font-display: swap;
|
|
33
|
+
src: url('./greycliff-regular.woff2') format('woff2'),
|
|
34
|
+
url('./greycliff-regular.woff') format('woff');
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@font-face {
|
|
38
|
+
font-family: Greycliff;
|
|
39
|
+
font-style: normal;
|
|
40
|
+
font-weight: 500;
|
|
41
|
+
font-display: swap;
|
|
42
|
+
src: url('./greycliff-medium.woff2') format('woff2'),
|
|
43
|
+
url('./greycliff-medium.woff') format('woff');
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@font-face {
|
|
47
|
+
font-family: Greycliff;
|
|
48
|
+
font-style: normal;
|
|
49
|
+
font-weight: 600;
|
|
50
|
+
font-display: swap;
|
|
51
|
+
src: url('./greycliff-demi-bold.woff2') format('woff2'),
|
|
52
|
+
url('./greycliff-demi-bold.woff') format('woff');
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@font-face {
|
|
56
|
+
font-family: Greycliff;
|
|
57
|
+
font-style: normal;
|
|
58
|
+
font-weight: 700;
|
|
59
|
+
font-display: swap;
|
|
60
|
+
src: url('./greycliff-bold.woff2') format('woff2'),
|
|
61
|
+
url('./greycliff-bold.woff') format('woff');
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@font-face {
|
|
65
|
+
font-family: Greycliff;
|
|
66
|
+
font-style: normal;
|
|
67
|
+
font-weight: 800;
|
|
68
|
+
font-display: swap;
|
|
69
|
+
src: url('./greycliff-extra-bold.woff2') format('woff2'),
|
|
70
|
+
url('./greycliff-extra-bold.woff') format('woff');
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
@font-face {
|
|
74
|
+
font-family: Greycliff;
|
|
75
|
+
font-style: normal;
|
|
76
|
+
font-weight: 900;
|
|
77
|
+
font-display: swap;
|
|
78
|
+
src: url('./greycliff-heavy.woff2') format('woff2'),
|
|
79
|
+
url('./greycliff-heavy.woff') format('woff');
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@font-face {
|
|
83
|
+
font-family: Greycliff;
|
|
84
|
+
font-style: italic;
|
|
85
|
+
font-weight: 100;
|
|
86
|
+
font-display: swap;
|
|
87
|
+
src: url('./greycliff-extra-light-oblique.woff2') format('woff2'),
|
|
88
|
+
url('./greycliff-extra-light-oblique.woff') format('woff');
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@font-face {
|
|
92
|
+
font-family: Greycliff;
|
|
93
|
+
font-style: italic;
|
|
94
|
+
font-weight: 200;
|
|
95
|
+
font-display: swap;
|
|
96
|
+
src: url('./greycliff-light-oblique.woff2') format('woff2'),
|
|
97
|
+
url('./greycliff-light-oblique.woff') format('woff');
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
@font-face {
|
|
101
|
+
font-family: Greycliff;
|
|
102
|
+
font-style: italic;
|
|
103
|
+
font-weight: 300;
|
|
104
|
+
font-display: swap;
|
|
105
|
+
src: url('./greycliff-thin-oblique.woff2') format('woff2'),
|
|
106
|
+
url('./greycliff-thin-oblique.woff') format('woff');
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
@font-face {
|
|
110
|
+
font-family: Greycliff;
|
|
111
|
+
font-style: italic;
|
|
112
|
+
font-weight: 400;
|
|
113
|
+
font-display: swap;
|
|
114
|
+
src: url('./greycliff-regular-oblique.woff2') format('woff2'),
|
|
115
|
+
url('./greycliff-regular-oblique.woff') format('woff');
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@font-face {
|
|
119
|
+
font-family: Greycliff;
|
|
120
|
+
font-style: italic;
|
|
121
|
+
font-weight: 500;
|
|
122
|
+
font-display: swap;
|
|
123
|
+
src: url('./greycliff-medium-oblique.woff2') format('woff2'),
|
|
124
|
+
url('./greycliff-medium-oblique.woff') format('woff');
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
@font-face {
|
|
128
|
+
font-family: Greycliff;
|
|
129
|
+
font-style: italic;
|
|
130
|
+
font-weight: 600;
|
|
131
|
+
font-display: swap;
|
|
132
|
+
src: url('./greycliff-demi-bold-oblique.woff2') format('woff2'),
|
|
133
|
+
url('./greycliff-demi-bold-oblique.woff') format('woff');
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
@font-face {
|
|
137
|
+
font-family: Greycliff;
|
|
138
|
+
font-style: italic;
|
|
139
|
+
font-weight: 700;
|
|
140
|
+
font-display: swap;
|
|
141
|
+
src: url('./greycliff-bold-oblique.woff2') format('woff2'),
|
|
142
|
+
url('./greycliff-bold-oblique.woff') format('woff');
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
@font-face {
|
|
146
|
+
font-family: Greycliff;
|
|
147
|
+
font-style: italic;
|
|
148
|
+
font-weight: 800;
|
|
149
|
+
font-display: swap;
|
|
150
|
+
src: url('./greycliff-extra-bold-oblique.woff2') format('woff2'),
|
|
151
|
+
url('./greycliff-extra-bold-oblique.woff') format('woff');
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
@font-face {
|
|
155
|
+
font-family: Greycliff;
|
|
156
|
+
font-style: italic;
|
|
157
|
+
font-weight: 900;
|
|
158
|
+
font-display: swap;
|
|
159
|
+
src: url('./greycliff-heavy-oblique.woff2') format('woff2'),
|
|
160
|
+
url('./greycliff-heavy-oblique.woff') format('woff');
|
|
161
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: Quicksand;
|
|
3
|
+
font-style: normal;
|
|
4
|
+
font-weight: 200;
|
|
5
|
+
font-display: swap;
|
|
6
|
+
src: url('./quicksand-light.woff2') format('woff2'),
|
|
7
|
+
url('./quicksand-light.woff') format('woff');
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@font-face {
|
|
11
|
+
font-family: Quicksand;
|
|
12
|
+
font-style: normal;
|
|
13
|
+
font-weight: 400;
|
|
14
|
+
font-display: swap;
|
|
15
|
+
src: url('./quicksand-regular.woff2') format('woff2'),
|
|
16
|
+
url('./quicksand-regular.woff') format('woff');
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@font-face {
|
|
20
|
+
font-family: Quicksand;
|
|
21
|
+
font-style: normal;
|
|
22
|
+
font-weight: 500;
|
|
23
|
+
font-display: swap;
|
|
24
|
+
src: url('./quicksand-medium.woff2') format('woff2'),
|
|
25
|
+
url('./quicksand-medium.woff') format('woff');
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@font-face {
|
|
29
|
+
font-family: Quicksand;
|
|
30
|
+
font-style: normal;
|
|
31
|
+
font-weight: 700;
|
|
32
|
+
font-display: swap;
|
|
33
|
+
src: url('./quicksand-bold.woff2') format('woff2'),
|
|
34
|
+
url('./quicksand-bold.woff') format('woff');
|
|
35
|
+
}
|