@ossy/themes 0.0.9-alpha → 0.0.9
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 +64 -0
- package/LICENSE +21 -0
- package/build/cjs/index.js +1 -1
- package/build/esm/index.js +1 -1
- package/package.json +10 -6
- package/src/{tepit.js → cloud-dark.js} +35 -2
- package/src/{ossy.js → cloud-light.js} +3 -2
- package/src/index.js +3 -2
- package/src/public.index.js +1 -1
- package/src/standard.js +0 -1
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ossy/themes",
|
|
3
|
-
"repository": "github:ossy-se/
|
|
3
|
+
"repository": "github:ossy-se/packages",
|
|
4
4
|
"description": "Ossy's design system themes",
|
|
5
|
-
"version": "0.0.9
|
|
5
|
+
"version": "0.0.9",
|
|
6
6
|
"source": "src/index.js",
|
|
7
7
|
"main": "build/cjs/index.js",
|
|
8
8
|
"module": "build/esm/index.js",
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
"@babel/eslint-parser": "^7.15.8",
|
|
19
19
|
"@babel/preset-env": "^7.21.5",
|
|
20
20
|
"@babel/preset-react": "^7.24.1",
|
|
21
|
-
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
22
21
|
"@rollup/plugin-babel": "6.0.4",
|
|
23
|
-
"babel-loader": "^9.1.3",
|
|
24
|
-
"@rollup/plugin-terser": "0.4.4",
|
|
25
22
|
"@rollup/plugin-commonjs": "^25.0.5",
|
|
23
|
+
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
24
|
+
"@rollup/plugin-terser": "0.4.4",
|
|
26
25
|
"@rollup/plugin-typescript": "^11.1.5",
|
|
27
26
|
"@types/react": "18.2.79",
|
|
27
|
+
"babel-loader": "^9.1.3",
|
|
28
28
|
"rollup": "^4.24.3",
|
|
29
29
|
"rollup-plugin-dts": "^6.1.0",
|
|
30
30
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
@@ -43,5 +43,9 @@
|
|
|
43
43
|
"last 1 firefox version",
|
|
44
44
|
"last 1 safari version"
|
|
45
45
|
]
|
|
46
|
-
}
|
|
46
|
+
},
|
|
47
|
+
"publishConfig": {
|
|
48
|
+
"access": "public"
|
|
49
|
+
},
|
|
50
|
+
"gitHead": "4e30bab37fa7624b3260cca5b8154c5f863ed8bb"
|
|
47
51
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Standard } from './standard.js'
|
|
2
2
|
import { topography } from './patterns/index.js'
|
|
3
3
|
|
|
4
|
-
export const
|
|
4
|
+
export const CloudDark = {
|
|
5
5
|
|
|
6
6
|
space: Standard.space,
|
|
7
7
|
'max-width': Standard['max-width'],
|
|
@@ -38,8 +38,11 @@ export const Tepit = {
|
|
|
38
38
|
},
|
|
39
39
|
|
|
40
40
|
primary: {
|
|
41
|
-
background: 'hsl(207, 95%, 8%)',
|
|
42
41
|
foreground: 'hsl(207, 70%, 95%)',
|
|
42
|
+
'foreground-hover': 'hsl(207, 70%, 96%)',
|
|
43
|
+
background: 'hsla(207, 95%, 8%, .6)',
|
|
44
|
+
'background-hover': 'hsla(207, 95%, 8%, .7)',
|
|
45
|
+
backdropFilter: 'saturate(180%) blur(10px)',
|
|
43
46
|
separator: 'hsl(203, 50%, 15%)',
|
|
44
47
|
},
|
|
45
48
|
|
|
@@ -49,6 +52,18 @@ export const Tepit = {
|
|
|
49
52
|
separator: 'hsl(203, 50%, 15%)',
|
|
50
53
|
},
|
|
51
54
|
|
|
55
|
+
decorated: {
|
|
56
|
+
background: `
|
|
57
|
+
linear-gradient(180deg, var(--surface-primary) 0%, transparent 100%),
|
|
58
|
+
${topography('hsla(354, 80%, 38%, .3)')},
|
|
59
|
+
linear-gradient(180deg, var(--surface-primary) 0%, transparent 100%),
|
|
60
|
+
linear-gradient(-135deg, var(--surface-primary) 20%, hsl(354, 50%, 38%) 100%)
|
|
61
|
+
`,
|
|
62
|
+
'background-hover': 'var(--surface-primary)',
|
|
63
|
+
'background-active': 'var(--surface-primary)',
|
|
64
|
+
foreground: 'hsl(182, 23%, 95%)',
|
|
65
|
+
},
|
|
66
|
+
|
|
52
67
|
|
|
53
68
|
},
|
|
54
69
|
|
|
@@ -169,6 +184,24 @@ export const Tepit = {
|
|
|
169
184
|
'color-hover': 'hsl(23, 100%, 80%)'
|
|
170
185
|
},
|
|
171
186
|
|
|
187
|
+
command: {
|
|
188
|
+
'border-radius': '4px',
|
|
189
|
+
'padding': '4px',
|
|
190
|
+
|
|
191
|
+
'background': 'transparent',
|
|
192
|
+
'background-hover': 'hsl(0, 0%, 95%)',
|
|
193
|
+
'color-hover': 'hsl(199deg 89% 43%)'
|
|
194
|
+
},
|
|
195
|
+
|
|
196
|
+
'command-danger': {
|
|
197
|
+
'border-radius': '4px',
|
|
198
|
+
'padding': '4px',
|
|
199
|
+
|
|
200
|
+
'background': 'transparent',
|
|
201
|
+
'background-hover': 'hsl(0, 0%, 95%)',
|
|
202
|
+
'color-hover': 'hsl(0, 89%, 43%)'
|
|
203
|
+
},
|
|
204
|
+
|
|
172
205
|
tab: {
|
|
173
206
|
'border-style': 'solid',
|
|
174
207
|
'border-color': 'transparent',
|
|
@@ -4,7 +4,7 @@ import { topography } from './patterns/index.js'
|
|
|
4
4
|
// hsl(198, 96%, 10%) accent from old site
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
export const
|
|
7
|
+
export const CloudLight = {
|
|
8
8
|
...Standard,
|
|
9
9
|
|
|
10
10
|
surface: {
|
|
@@ -243,6 +243,7 @@ export const Ossy = {
|
|
|
243
243
|
cta: {
|
|
244
244
|
'background': 'hsl(167, 89%, 43%)',
|
|
245
245
|
'color': 'hsl(0, 0%, 98%)',
|
|
246
|
+
'box-shadow': '3px 0 10px hsla(0, 0%, 85%, .75)',
|
|
246
247
|
|
|
247
248
|
'background-hover': 'hsl(167, 89%, 38%)',
|
|
248
249
|
'color-hover': 'hsl(0, 0%, 98%)'
|
|
@@ -253,7 +254,7 @@ export const Ossy = {
|
|
|
253
254
|
'button-link-border-color': 'transparent',
|
|
254
255
|
|
|
255
256
|
'button-link-background-hover': 'transparent',
|
|
256
|
-
'button-link-color-hover': 'hsl(167, 89%, 43%)'
|
|
257
|
+
'button-link-color-hover': 'hsl(167, 89%, 43%)',
|
|
257
258
|
},
|
|
258
259
|
|
|
259
260
|
command: {
|
package/src/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
export * from './cloud-dark.js'
|
|
2
|
+
export * from './cloud-light.js'
|
|
1
3
|
export * from './gaming.js'
|
|
2
4
|
export * from './glass.js'
|
|
3
5
|
export * from './minimal.js'
|
|
4
6
|
export * from './oskarssylwan.js'
|
|
5
|
-
export * from './ossy.js'
|
|
6
7
|
export * from './plexus-sanitas.js'
|
|
7
8
|
export * from './standard.js'
|
|
8
|
-
|
|
9
|
+
|
package/src/public.index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './cloud-light.js'
|
|
2
2
|
export * from './minimal.js'
|
package/src/standard.js
CHANGED