Skip to content

Commit f4cbff1

Browse files
committed
Initial commit
0 parents  commit f4cbff1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+8348
-0
lines changed

.eslintignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.DS_Store
2+
node_modules
3+
/build
4+
/.svelte-kit
5+
/package
6+
.env
7+
.env.*
8+
!.env.example
9+
10+
# Ignore files for PNPM, NPM and YARN
11+
pnpm-lock.yaml
12+
package-lock.json
13+
yarn.lock

.eslintrc.cjs

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
module.exports = {
2+
root: true,
3+
extends: [
4+
'eslint:recommended',
5+
'plugin:@typescript-eslint/recommended',
6+
'plugin:svelte/recommended',
7+
'prettier'
8+
],
9+
parser: '@typescript-eslint/parser',
10+
plugins: ['@typescript-eslint'],
11+
parserOptions: {
12+
sourceType: 'module',
13+
ecmaVersion: 2020,
14+
extraFileExtensions: ['.svelte']
15+
},
16+
env: {
17+
browser: true,
18+
es2017: true,
19+
node: true
20+
},
21+
overrides: [
22+
{
23+
files: ['*.svelte'],
24+
parser: 'svelte-eslint-parser',
25+
parserOptions: {
26+
parser: '@typescript-eslint/parser'
27+
}
28+
}
29+
]
30+
};

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.DS_Store
2+
node_modules
3+
/build
4+
/.svelte-kit
5+
/package
6+
.env
7+
.env.*
8+
!.env.example
9+
vite.config.js.timestamp-*
10+
vite.config.ts.timestamp-*

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

.prettierignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.DS_Store
2+
node_modules
3+
/build
4+
/.svelte-kit
5+
/package
6+
.env
7+
.env.*
8+
!.env.example
9+
10+
# Ignore files for PNPM, NPM and YARN
11+
pnpm-lock.yaml
12+
package-lock.json
13+
yarn.lock

.prettierrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"useTabs": true,
3+
"singleQuote": true,
4+
"trailingComma": "none",
5+
"printWidth": 100,
6+
"plugins": ["prettier-plugin-svelte"],
7+
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
8+
}

.vscode/settings.json

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
{
2+
"prettier.documentSelectors": [
3+
"**/*.svelte"
4+
],
5+
"tailwindCSS.classAttributes": [
6+
"class",
7+
"accent",
8+
"active",
9+
"aspectRatio",
10+
"background",
11+
"badge",
12+
"bgBackdrop",
13+
"bgDark",
14+
"bgDrawer",
15+
"bgLight",
16+
"blur",
17+
"border",
18+
"button",
19+
"buttonAction",
20+
"buttonBack",
21+
"buttonClasses",
22+
"buttonComplete",
23+
"buttonDismiss",
24+
"buttonNeutral",
25+
"buttonNext",
26+
"buttonPositive",
27+
"buttonTextCancel",
28+
"buttonTextConfirm",
29+
"buttonTextFirst",
30+
"buttonTextLast",
31+
"buttonTextNext",
32+
"buttonTextPrevious",
33+
"buttonTextSubmit",
34+
"caretClosed",
35+
"caretOpen",
36+
"chips",
37+
"color",
38+
"controlSeparator",
39+
"controlVariant",
40+
"cursor",
41+
"display",
42+
"element",
43+
"fill",
44+
"fillDark",
45+
"fillLight",
46+
"flex",
47+
"gap",
48+
"gridColumns",
49+
"height",
50+
"hover",
51+
"inactive",
52+
"indent",
53+
"justify",
54+
"meter",
55+
"padding",
56+
"position",
57+
"regionAnchor",
58+
"regionBackdrop",
59+
"regionBody",
60+
"regionCaption",
61+
"regionCaret",
62+
"regionCell",
63+
"regionChildren",
64+
"regionChipList",
65+
"regionChipWrapper",
66+
"regionCone",
67+
"regionContent",
68+
"regionControl",
69+
"regionDefault",
70+
"regionDrawer",
71+
"regionFoot",
72+
"regionFootCell",
73+
"regionFooter",
74+
"regionHead",
75+
"regionHeadCell",
76+
"regionHeader",
77+
"regionIcon",
78+
"regionInput",
79+
"regionInterface",
80+
"regionInterfaceText",
81+
"regionLabel",
82+
"regionLead",
83+
"regionLegend",
84+
"regionList",
85+
"regionListItem",
86+
"regionNavigation",
87+
"regionPage",
88+
"regionPanel",
89+
"regionRowHeadline",
90+
"regionRowMain",
91+
"regionSummary",
92+
"regionSymbol",
93+
"regionTab",
94+
"regionTrail",
95+
"ring",
96+
"rounded",
97+
"select",
98+
"shadow",
99+
"slotDefault",
100+
"slotFooter",
101+
"slotHeader",
102+
"slotLead",
103+
"slotMessage",
104+
"slotMeta",
105+
"slotPageContent",
106+
"slotPageFooter",
107+
"slotPageHeader",
108+
"slotSidebarLeft",
109+
"slotSidebarRight",
110+
"slotTrail",
111+
"spacing",
112+
"text",
113+
"track",
114+
"transition",
115+
"width",
116+
"zIndex"
117+
]
118+
}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# OpenShock Frontend

openshock-theme.ts

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
import type { CustomThemeConfig } from '@skeletonlabs/tw-plugin';
2+
3+
export const openshockTheme: CustomThemeConfig = {
4+
name: 'openshock',
5+
properties: {
6+
// =~= Theme Properties =~=
7+
'--theme-font-family-base': `system-ui`,
8+
'--theme-font-family-heading': `system-ui`,
9+
'--theme-font-color-base': '0 0 0',
10+
'--theme-font-color-dark': '255 255 255',
11+
'--theme-rounded-base': '9999px',
12+
'--theme-rounded-container': '12px',
13+
'--theme-border-base': '1px',
14+
// =~= Theme On-X Colors =~=
15+
'--on-primary': '0 0 0',
16+
'--on-secondary': '255 255 255',
17+
'--on-tertiary': '0 0 0',
18+
'--on-success': '0 0 0',
19+
'--on-warning': '0 0 0',
20+
'--on-error': '255 255 255',
21+
'--on-surface': '255 255 255',
22+
// =~= Theme Colors =~=
23+
// primary | #ff5c82
24+
'--color-primary-50': '255 231 236', // #ffe7ec
25+
'--color-primary-100': '255 222 230', // #ffdee6
26+
'--color-primary-200': '255 214 224', // #ffd6e0
27+
'--color-primary-300': '255 190 205', // #ffbecd
28+
'--color-primary-400': '255 141 168', // #ff8da8
29+
'--color-primary-500': '255 92 130', // #ff5c82
30+
'--color-primary-600': '230 83 117', // #e65375
31+
'--color-primary-700': '191 69 98', // #bf4562
32+
'--color-primary-800': '153 55 78', // #99374e
33+
'--color-primary-900': '125 45 64', // #7d2d40
34+
// secondary | #463eda
35+
'--color-secondary-50': '227 226 249', // #e3e2f9
36+
'--color-secondary-100': '218 216 248', // #dad8f8
37+
'--color-secondary-200': '209 207 246', // #d1cff6
38+
'--color-secondary-300': '181 178 240', // #b5b2f0
39+
'--color-secondary-400': '126 120 229', // #7e78e5
40+
'--color-secondary-500': '70 62 218', // #463eda
41+
'--color-secondary-600': '63 56 196', // #3f38c4
42+
'--color-secondary-700': '53 47 164', // #352fa4
43+
'--color-secondary-800': '42 37 131', // #2a2583
44+
'--color-secondary-900': '34 30 107', // #221e6b
45+
// tertiary | #33b8ff
46+
'--color-tertiary-50': '224 244 255', // #e0f4ff
47+
'--color-tertiary-100': '214 241 255', // #d6f1ff
48+
'--color-tertiary-200': '204 237 255', // #ccedff
49+
'--color-tertiary-300': '173 227 255', // #ade3ff
50+
'--color-tertiary-400': '112 205 255', // #70cdff
51+
'--color-tertiary-500': '51 184 255', // #33b8ff
52+
'--color-tertiary-600': '46 166 230', // #2ea6e6
53+
'--color-tertiary-700': '38 138 191', // #268abf
54+
'--color-tertiary-800': '31 110 153', // #1f6e99
55+
'--color-tertiary-900': '25 90 125', // #195a7d
56+
// success | #03c200
57+
'--color-success-50': '217 246 217', // #d9f6d9
58+
'--color-success-100': '205 243 204', // #cdf3cc
59+
'--color-success-200': '192 240 191', // #c0f0bf
60+
'--color-success-300': '154 231 153', // #9ae799
61+
'--color-success-400': '79 212 77', // #4fd44d
62+
'--color-success-500': '3 194 0', // #03c200
63+
'--color-success-600': '3 175 0', // #03af00
64+
'--color-success-700': '2 146 0', // #029200
65+
'--color-success-800': '2 116 0', // #027400
66+
'--color-success-900': '1 95 0', // #015f00
67+
// warning | #ff7300
68+
'--color-warning-50': '255 234 217', // #ffead9
69+
'--color-warning-100': '255 227 204', // #ffe3cc
70+
'--color-warning-200': '255 220 191', // #ffdcbf
71+
'--color-warning-300': '255 199 153', // #ffc799
72+
'--color-warning-400': '255 157 77', // #ff9d4d
73+
'--color-warning-500': '255 115 0', // #ff7300
74+
'--color-warning-600': '230 104 0', // #e66800
75+
'--color-warning-700': '191 86 0', // #bf5600
76+
'--color-warning-800': '153 69 0', // #994500
77+
'--color-warning-900': '125 56 0', // #7d3800
78+
// error | #a30000
79+
'--color-error-50': '241 217 217', // #f1d9d9
80+
'--color-error-100': '237 204 204', // #edcccc
81+
'--color-error-200': '232 191 191', // #e8bfbf
82+
'--color-error-300': '218 153 153', // #da9999
83+
'--color-error-400': '191 77 77', // #bf4d4d
84+
'--color-error-500': '163 0 0', // #a30000
85+
'--color-error-600': '147 0 0', // #930000
86+
'--color-error-700': '122 0 0', // #7a0000
87+
'--color-error-800': '98 0 0', // #620000
88+
'--color-error-900': '80 0 0', // #500000
89+
// surface | #202325
90+
'--color-surface-50': '222 222 222', // #dedede
91+
'--color-surface-100': '210 211 211', // #d2d3d3
92+
'--color-surface-200': '199 200 201', // #c7c8c9
93+
'--color-surface-300': '166 167 168', // #a6a7a8
94+
'--color-surface-400': '99 101 102', // #636566
95+
'--color-surface-500': '32 35 37', // #202325
96+
'--color-surface-600': '29 32 33', // #1d2021
97+
'--color-surface-700': '24 26 28', // #181a1c
98+
'--color-surface-800': '19 21 22', // #131516
99+
'--color-surface-900': '16 17 18', // #101112
100+
},
101+
};

0 commit comments

Comments
 (0)