@salty-css/core 0.0.1-alpha.7 → 0.0.1-alpha.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,11 +30,11 @@ export interface SaltyConfig {
30
30
  * - `root` will import the css file from the root of the project.
31
31
  * - `component` will import the css file from the component's directory.
32
32
  */
33
- importStrategy: 'root' | 'component';
33
+ importStrategy?: 'root' | 'component';
34
34
  /**
35
35
  * Base variables that can be used in all styles as they are applied globally to :root.
36
36
  */
37
- variables: CssVariables;
37
+ variables?: CssVariables;
38
38
  /**
39
39
  * Variables that are defined for different media queries.
40
40
  */
@@ -46,7 +46,7 @@ export interface SaltyConfig {
46
46
  /**
47
47
  * The global styles that are imported in the root of the project.
48
48
  */
49
- global: CssStyles;
49
+ global?: CssStyles;
50
50
  /**
51
51
  * The templates that can be used in styles to create reusable css.
52
52
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salty-css/core",
3
- "version": "0.0.1-alpha.7",
3
+ "version": "0.0.1-alpha.8",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "typings": "./dist/index.d.ts",