@medyll/cssfabric 0.1.12 → 0.2.2
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/main.yml +33 -0
- package/.idea/cssfabric.iml +4 -1
- package/README.md +38 -240
- package/bin/index.js +2 -1
- package/{cssfabric.json → cssfabric.sass.js} +3 -3
- package/gulpfile.js +77 -143
- package/package.json +69 -69
- package/src/app.css +107 -0
- package/src/app.d.ts +15 -0
- package/src/app.html +13 -0
- package/src/components/Header.svelte +17 -0
- package/src/components/HeaderSiteTitle.svelte +12 -0
- package/src/components/InnerMenu.svelte +27 -0
- package/src/components/SubHeader.svelte +10 -0
- package/src/components/SubHeaderH.svelte +3 -0
- package/src/components/SubSubHeader.svelte +22 -0
- package/src/components/demo/DemoElement.svelte +86 -0
- package/src/components/demo/elements/DemoElementBackgroundColor.svelte +7 -0
- package/src/components/demo/elements/DemoElementBorder.svelte +8 -0
- package/src/components/demo/elements/DemoElementBorderColor.svelte +8 -0
- package/src/components/demo/elements/DemoElementColor.svelte +8 -0
- package/src/components/demo/elements/DemoElementGrid.svelte +53 -0
- package/src/components/demo/elements/DemoElementMargin.svelte +8 -0
- package/src/components/demo/elements/DemoElementPadding.svelte +10 -0
- package/src/components/demo/elements/DemoElementScale.svelte +9 -0
- package/src/components/demo/elements/DemoElementTable.svelte +34 -0
- package/src/components/demo/elements/DemoElementText.svelte +10 -0
- package/src/components/demo/proxy/ProxyDsp.svelte +12 -0
- package/src/components/demo/proxy/ProxyDspArray.svelte +19 -0
- package/src/components/demo/proxy/ProxyDspObject.svelte +17 -0
- package/src/components/docs/Docs.svelte +97 -0
- package/src/components/docs/DocsClassNames.svelte +34 -0
- package/src/components/docs/DocsDemo.svelte +84 -0
- package/src/components/header/Header.svelte +105 -0
- package/src/components/header/svelte-logo.svg +1 -0
- package/src/cssfabric/modules/_cssfabric-config.scss +15 -5
- package/src/cssfabric/modules/base/base.scss +1 -6
- package/src/cssfabric/modules/box/_box-build.scss +20 -3
- package/src/cssfabric/modules/box/_box-vars.scss +1 -1
- package/src/cssfabric/modules/css-fabric.scss +1 -1
- package/src/cssfabric/modules/menu/_menu-build.scss +9 -8
- package/src/cssfabric/modules/vars.scss +3 -2
- package/src/hooks.ts +27 -0
- package/src/index.ts +1 -1
- package/src/lib/_generated/cssFabric.vars.json +13 -0
- package/src/{_generated → lib/_generated}/export.variables.md +0 -0
- package/src/{_generated → lib/_generated}/index.d.ts +0 -0
- package/src/{_generated → lib/_generated}/readme.md +0 -0
- package/src/lib/init/importCssVars.ts +3 -0
- package/src/{scripts → lib/scripts}/cssfabric.ts +1 -1
- package/src/{scripts → lib/scripts}/cssfabricClassNames.ts +0 -0
- package/src/{scripts → lib/scripts}/index.d.ts +0 -0
- package/src/{scripts → lib/scripts}/index.ts +0 -0
- package/src/lib/scripts/utils.ts +37 -0
- package/{lib/styles/core → src/lib/styles}/animation/animation.css +0 -0
- package/{lib/styles/core → src/lib/styles}/animation/animation.min.css +0 -0
- package/{lib/styles/core → src/lib/styles}/base/base.css +0 -7
- package/src/lib/styles/base/base.min.css +1 -0
- package/{lib/styles/core → src/lib/styles}/box/box.css +127 -111
- package/src/lib/styles/box/box.min.css +1 -0
- package/{lib/styles/core → src/lib/styles}/box/box.responsive.css +508 -444
- package/src/lib/styles/box/box.responsive.min.css +1 -0
- package/{lib/styles/core → src/lib/styles}/color/color.css +0 -0
- package/src/lib/styles/color/color.min.css +1 -0
- package/{lib/styles/core → src/lib/styles}/color/color.responsive.css +0 -0
- package/src/lib/styles/color/color.responsive.min.css +1 -0
- package/src/lib/styles/cssfabric.css +61792 -0
- package/src/lib/styles/cssfabric.min.css +168 -0
- package/src/lib/styles/cssfabric.responsive.css +200596 -0
- package/src/lib/styles/cssfabric.responsive.min.css +108 -0
- package/{lib/styles/core → src/lib/styles}/flex/flex.css +0 -0
- package/src/lib/styles/flex/flex.min.css +1 -0
- package/{lib/styles/core → src/lib/styles}/flex/flex.responsive.css +0 -0
- package/src/lib/styles/flex/flex.responsive.min.css +1 -0
- package/{lib/styles/core → src/lib/styles}/grid/grid.css +0 -0
- package/src/lib/styles/grid/grid.min.css +1 -0
- package/{lib/styles/core → src/lib/styles}/grid/grid.responsive.css +0 -0
- package/src/lib/styles/grid/grid.responsive.min.css +1 -0
- package/{lib/styles/core → src/lib/styles}/menu/menu.css +16 -12
- package/src/lib/styles/menu/menu.min.css +1 -0
- package/{lib/styles/core → src/lib/styles}/menu/menu.responsive.css +64 -48
- package/src/lib/styles/menu/menu.responsive.min.css +1 -0
- package/{lib/styles/core → src/lib/styles}/overflow/overflow.css +0 -0
- package/{lib/styles/core → src/lib/styles}/overflow/overflow.min.css +0 -0
- package/{lib/styles/core → src/lib/styles}/overflow/overflow.responsive.css +0 -0
- package/src/lib/styles/overflow/overflow.responsive.min.css +1 -0
- package/{lib/styles/core → src/lib/styles}/scale/scale.css +0 -0
- package/{lib/styles/core → src/lib/styles}/scale/scale.min.css +0 -0
- package/{lib/styles/core → src/lib/styles}/scale/scale.responsive.css +0 -0
- package/src/lib/styles/scale/scale.responsive.min.css +1 -0
- package/{lib/styles/core → src/lib/styles}/table/table.css +0 -0
- package/src/lib/styles/table/table.min.css +1 -0
- package/{lib/styles/core → src/lib/styles}/table/table.responsive.css +0 -0
- package/src/lib/styles/table/table.responsive.min.css +1 -0
- package/{lib/styles/core → src/lib/styles}/text/text.css +0 -0
- package/src/lib/styles/text/text.min.css +1 -0
- package/{lib/styles/core → src/lib/styles}/text/text.responsive.css +0 -0
- package/src/lib/styles/text/text.responsive.min.css +1 -0
- package/{lib/styles/core → src/lib/styles}/theme/theme.css +0 -0
- package/{lib/styles/core → src/lib/styles}/theme/theme.min.css +0 -0
- package/{lib/styles/core → src/lib/styles}/vars.css +6 -2
- package/src/lib/styles/vars.min.css +1 -0
- package/{lib/styles/core → src/lib/styles}/zindex/zindex.css +0 -0
- package/{lib/styles/core → src/lib/styles}/zindex/zindex.min.css +0 -0
- package/src/routes/__layout.svelte +91 -0
- package/src/routes/cssfabric-modules/[module]/__layout.svelte +75 -0
- package/src/routes/cssfabric-modules/[module]/classnames/index.svelte +24 -0
- package/src/routes/cssfabric-modules/[module]/demo/index.svelte +24 -0
- package/src/routes/cssfabric-modules/[module]/docs/index.svelte +30 -0
- package/src/routes/cssfabric-modules/[module]/index.svelte +3 -0
- package/src/routes/cssfabric-modules/__layout.svelte +26 -0
- package/src/routes/cssfabric-modules/index.svelte +0 -0
- package/src/routes/index.svelte +62 -0
- package/src/routes/installation/__layout.svelte +1 -0
- package/src/routes/installation/index.svelte +28 -0
- package/src/scripts/utils.ts +26 -37
- package/src/utils.ts +71 -0
- package/static/favicon.png +0 -0
- package/static/robots.txt +3 -0
- package/svelte.config.js +25 -0
- package/tsconfig.json +3 -46
- package/cssfabric.config.js +0 -3
- package/lib/_generated/export.variables.json +0 -583
- package/lib/index.d.ts +0 -2
- package/lib/index.js +0 -7
- package/lib/scripts/cssfabric.d.ts +0 -24
- package/lib/scripts/cssfabric.js +0 -48
- package/lib/scripts/cssfabricClassNames.d.ts +0 -14
- package/lib/scripts/cssfabricClassNames.js +0 -150
- package/lib/scripts/index.d.ts +0 -2
- package/lib/scripts/index.js +0 -6
- package/lib/scripts/utils.d.ts +0 -5
- package/lib/scripts/utils.js +0 -40
- package/lib/styles/core/base/base.min.css +0 -1
- package/lib/styles/core/box/box.min.css +0 -1
- package/lib/styles/core/box/box.responsive.min.css +0 -1
- package/lib/styles/core/color/color.min.css +0 -1
- package/lib/styles/core/color/color.responsive.min.css +0 -1
- package/lib/styles/core/flex/flex.min.css +0 -1
- package/lib/styles/core/flex/flex.responsive.min.css +0 -1
- package/lib/styles/core/grid/grid.min.css +0 -1
- package/lib/styles/core/grid/grid.responsive.min.css +0 -1
- package/lib/styles/core/main.min.css +0 -1
- package/lib/styles/core/menu/menu.min.css +0 -1
- package/lib/styles/core/menu/menu.responsive.min.css +0 -1
- package/lib/styles/core/overflow/overflow.responsive.min.css +0 -1
- package/lib/styles/core/scale/scale.responsive.min.css +0 -1
- package/lib/styles/core/table/table.min.css +0 -1
- package/lib/styles/core/table/table.responsive.min.css +0 -1
- package/lib/styles/core/text/text.min.css +0 -1
- package/lib/styles/core/text/text.responsive.min.css +0 -1
- package/lib/styles/core/vars.min.css +0 -1
- package/lib/styles/core/vars2.css +0 -4
- package/lib/styles/core/vars2.min.css +0 -1
- package/lib/styles/cssfabric.css +0 -5147
- package/lib/styles/cssfabric.min.css +0 -16
- package/lib/styles/cssfabric.responsive.css +0 -16679
- package/lib/styles/cssfabric.responsive.min.css +0 -9
- package/src/_generated/export.variables.json +0 -759
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
|
|
2
|
+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
|
|
3
|
+
|
|
4
|
+
name: cssFabric CI
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
push:
|
|
8
|
+
branches: [ main , dev ]
|
|
9
|
+
pull_request:
|
|
10
|
+
branches: [ main , dev ]
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
build:
|
|
14
|
+
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
|
|
17
|
+
strategy:
|
|
18
|
+
matrix:
|
|
19
|
+
node-version: [16.x]
|
|
20
|
+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
|
21
|
+
|
|
22
|
+
steps:
|
|
23
|
+
- uses: actions/checkout@v3
|
|
24
|
+
- name: Use Node.js ${{ matrix.node-version }}
|
|
25
|
+
uses: actions/setup-node@v3
|
|
26
|
+
with:
|
|
27
|
+
node-version: ${{ matrix.node-version }}
|
|
28
|
+
cache: 'npm'
|
|
29
|
+
- run: npm ci
|
|
30
|
+
#- name: Tests execution
|
|
31
|
+
# run: npm test
|
|
32
|
+
- name: Build
|
|
33
|
+
run: npm run build
|
package/.idea/cssfabric.iml
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<module type="WEB_MODULE" version="4">
|
|
3
3
|
<component name="NewModuleRootManager">
|
|
4
|
-
<content url="file://$MODULE_DIR$"
|
|
4
|
+
<content url="file://$MODULE_DIR$">
|
|
5
|
+
<excludeFolder url="file://$MODULE_DIR$/lib" />
|
|
6
|
+
<excludeFolder url="file://$MODULE_DIR$/package" />
|
|
7
|
+
</content>
|
|
5
8
|
<orderEntry type="inheritedJdk" />
|
|
6
9
|
<orderEntry type="sourceFolder" forTests="false" />
|
|
7
10
|
</component>
|
package/README.md
CHANGED
|
@@ -1,240 +1,38 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
<br/>
|
|
42
|
-
|
|
43
|
-
### More details
|
|
44
|
-
|
|
45
|
-
---
|
|
46
|
-
|
|
47
|
-
#### <strong>module box</strong>
|
|
48
|
-
|
|
49
|
-
#### [padding]
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
- padding properties for html elements
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: pad
|
|
56
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: _ t b l r all u ii tb
|
|
57
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>level keys</b></span>:<br/><span style='margin-left:20px;width:80px;display:inline-block;overflow:visible'>- _</span>: _ 1 2 3 4 5 6 7 8
|
|
58
|
-
|
|
59
|
-
#### [margin]
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
- margin properties for html elements
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: marg
|
|
66
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: _ t b l r all u ii tb
|
|
67
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>level keys</b></span>:<br/><span style='margin-left:20px;width:80px;display:inline-block;overflow:visible'>- _</span>: _ 1 2 3 4 5 6 7 8
|
|
68
|
-
|
|
69
|
-
#### [border]
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
- border properties for html elements
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: border
|
|
76
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: _ t b l r all u ii tb
|
|
77
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>level keys</b></span>:<br/><span style='margin-left:20px;width:80px;display:inline-block;overflow:visible'>- _</span>: _ 1 2 3 4 5
|
|
78
|
-
|
|
79
|
-
#### [shadow]
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
- applying shadows give depth and levels to your design
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: shad
|
|
86
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>level keys</b></span>:<br/><span style='margin-left:20px;width:80px;display:inline-block;overflow:visible'>- _</span>: 2 4 8 16 32 64 128 256
|
|
87
|
-
|
|
88
|
-
---
|
|
89
|
-
|
|
90
|
-
#### <strong>module color</strong>
|
|
91
|
-
|
|
92
|
-
#### [color]
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
- color for text level html elements
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: color
|
|
99
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: scheme palette gray
|
|
100
|
-
|
|
101
|
-
#### [background-color]
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
- background colors
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: bg
|
|
108
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: scheme palette gray
|
|
109
|
-
|
|
110
|
-
#### [background-themed]
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
- same as background-color, but with added contrasted color to text
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: bg-themed
|
|
117
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: scheme palette gray
|
|
118
|
-
|
|
119
|
-
#### [border-color]
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
- border colors are slightly darker to maximize surrounding effect
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: border-color
|
|
126
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: palette gray
|
|
127
|
-
|
|
128
|
-
---
|
|
129
|
-
|
|
130
|
-
#### <strong>module grid</strong>
|
|
131
|
-
|
|
132
|
-
#### [grid]
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
- a classic grid system, and hey, it gets height !
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: grid
|
|
139
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: v h
|
|
140
|
-
|
|
141
|
-
#### [self]
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
- grid children specific classnames
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: self
|
|
148
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: start end stretch
|
|
149
|
-
|
|
150
|
-
---
|
|
151
|
-
|
|
152
|
-
#### <strong>module menu</strong>
|
|
153
|
-
|
|
154
|
-
#### [menu]
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: menu
|
|
158
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: h v
|
|
159
|
-
|
|
160
|
-
---
|
|
161
|
-
|
|
162
|
-
#### <strong>module overflow</strong>
|
|
163
|
-
|
|
164
|
-
#### [overflow]
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: flow
|
|
168
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: visible hidden clip scroll auto
|
|
169
|
-
|
|
170
|
-
#### [overflowX]
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: flowX
|
|
174
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: visible hidden clip scroll auto
|
|
175
|
-
|
|
176
|
-
#### [overflowY]
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: flowY
|
|
180
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: visible hidden clip scroll auto
|
|
181
|
-
|
|
182
|
-
---
|
|
183
|
-
|
|
184
|
-
#### <strong>module scale</strong>
|
|
185
|
-
|
|
186
|
-
#### [scale]
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: scale
|
|
190
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: w h
|
|
191
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>level keys</b></span>:<br/><span style='margin-left:20px;width:80px;display:inline-block;overflow:visible'>- _size</span>: full mid quarter tiers<br/><span style='margin-left:20px;width:80px;display:inline-block;overflow:visible'>- _content</span>: content-max content-min<br/><span style='margin-left:20px;width:80px;display:inline-block;overflow:visible'>- _defined-steps</span>: 1 2 4 8 16 24 32 48 64<br/><span style='margin-left:20px;width:80px;display:inline-block;overflow:visible'>- _grid-5</span>: 1-5 2-5 3-5 4-5 5-5<br/><span style='margin-left:20px;width:80px;display:inline-block;overflow:visible'>- _grid-12</span>: 1-12 2-12 3-12 4-12 5-12 6-12 7-12 8-12 9-12 10-12 11-12 12-12
|
|
192
|
-
|
|
193
|
-
---
|
|
194
|
-
|
|
195
|
-
#### <strong>module table</strong>
|
|
196
|
-
|
|
197
|
-
#### [table]
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
- is a table
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: table
|
|
204
|
-
|
|
205
|
-
---
|
|
206
|
-
|
|
207
|
-
#### <strong>module text</strong>
|
|
208
|
-
|
|
209
|
-
#### [text-transform]
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: text
|
|
213
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: cap up low none full
|
|
214
|
-
|
|
215
|
-
#### [font-weight]
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: text
|
|
219
|
-
|
|
220
|
-
#### [text-align]
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: text
|
|
224
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: l r center justify
|
|
225
|
-
|
|
226
|
-
#### [text-shadow]
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: text-shad
|
|
230
|
-
|
|
231
|
-
---
|
|
232
|
-
|
|
233
|
-
#### <strong>module theme</strong>
|
|
234
|
-
|
|
235
|
-
#### [theme]
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>shorthand</b></span>: theme
|
|
239
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>keys</b></span>: text bg border
|
|
240
|
-
- <span style='width:80px;display:inline-block;overflow:visible'><b>level keys</b></span>:<br/><span style='margin-left:20px;width:80px;display:inline-block;overflow:visible'>- primary</span>: _ light lighter dark darker complement invert<br/><span style='margin-left:20px;width:80px;display:inline-block;overflow:visible'>- secondary</span>: _ light lighter dark darker complement invert<br/><span style='margin-left:20px;width:80px;display:inline-block;overflow:visible'>- tertiary</span>: _ light lighter dark darker complement invert
|
|
1
|
+
# create-svelte
|
|
2
|
+
|
|
3
|
+
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).
|
|
4
|
+
|
|
5
|
+
## Creating a project
|
|
6
|
+
|
|
7
|
+
If you're seeing this, you've probably already done this step. Congrats!
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
# create a new project in the current directory
|
|
11
|
+
npm init svelte
|
|
12
|
+
|
|
13
|
+
# create a new project in my-app
|
|
14
|
+
npm init svelte my-app
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Developing
|
|
18
|
+
|
|
19
|
+
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npm run dev
|
|
23
|
+
|
|
24
|
+
# or start the server and open the app in a new browser tab
|
|
25
|
+
npm run dev -- --open
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Building
|
|
29
|
+
|
|
30
|
+
To create a production version of your app:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
npm run build
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
You can preview the production build with `npm run preview`.
|
|
37
|
+
|
|
38
|
+
> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
|
package/bin/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
{
|
|
1
|
+
export const cssFabricSassConf = {
|
|
2
2
|
"fabricRootDir": "./src/cssfabric",
|
|
3
3
|
"fabricConfDir": "./src/cssfabric/_config",
|
|
4
4
|
"fabricModuleDir": "./src/cssfabric/modules",
|
|
5
|
-
"fabricGeneratedDir": "./src/_generated",
|
|
5
|
+
"fabricGeneratedDir": "./src/lib/_generated",
|
|
6
6
|
"fabricJsonExportFile": "export.variables.json",
|
|
7
|
-
"fabricStylesDir": "./lib/styles"
|
|
7
|
+
"fabricStylesDir": "./src/lib/styles"
|
|
8
8
|
}
|