@geoffcox/sterling-svelte 0.0.17 → 0.0.18

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.
@@ -70,15 +70,22 @@ export const darkTheme = {
70
70
  '--stsv-Input__border-color--selected': neutrals.neutral98,
71
71
  '--stsv-Input__color--selected': neutrals.neutral100,
72
72
  // ----- Display ----- //
73
- '--stsv-Display__background-color': neutrals.neutral30,
73
+ '--stsv-Display__background-color': neutrals.neutral20,
74
74
  '--stsv-Display__border-color': neutrals.neutral92,
75
- '--stsv-Display__color': neutrals.neutral100,
75
+ '--stsv-Display__color': neutrals.neutral80,
76
76
  '--stsv-Display__color--subtle': neutrals.neutral96,
77
77
  '--stsv-Display__color--faint': neutrals.neutral45,
78
78
  '--stsv-Display__color--disabled': neutrals.neutral45,
79
- '--stsv-Display__color--info': '#025E73',
80
- '--stsv-Display__color--progress': '#0099DD',
81
- '--stsv-Display__color--success': '#03A64A',
82
- '--stsv-Display__color--warning': '#F2A71B',
83
- '--stsv-Display__color--error': '#A62B1F'
79
+ '--stsv-Info__background-color': 'hsl(198, 100%, 10%)',
80
+ '--stsv-Info__border-color': 'hsl(198, 100%, 40%)',
81
+ '--stsv-Info__color': 'hsl(198, 80%, 50%)',
82
+ '--stsv-Success__background-color': 'hsl(146, 100%, 10%)',
83
+ '--stsv-Success__border-color': 'hsl(146, 100%, 30%)',
84
+ '--stsv-Success__color': 'hsl(146, 100%, 40%)',
85
+ '--stsv-Warning__background-color': 'hsl(39, 100%, 10%)',
86
+ '--stsv-Warning__border-color': 'hsl(39, 100%, 45%)',
87
+ '--stsv-Warning__color': 'hsl(39, 100%, 50%)',
88
+ '--stsv-Error__background-color': 'hsl(5, 100%, 10%)',
89
+ '--stsv-Error__border-color': 'hsl(5, 100%, 40%)',
90
+ '--stsv-Error__color': 'hsl(5, 100%, 50%)'
84
91
  };
@@ -1,6 +1,6 @@
1
1
  import { neutrals } from './colors';
2
2
  export const lightTheme = {
3
- // ----- Common ---- //
3
+ // ----- Common (18) ---- //
4
4
  '--stsv-Common__background-color': neutrals.neutral100,
5
5
  '--stsv-Common__border-color': neutrals.neutral60,
6
6
  '--stsv-Common__border-radius': '0',
@@ -31,7 +31,7 @@ export const lightTheme = {
31
31
  '--stsv-Layer__color--2': neutrals.neutral15,
32
32
  '--stsv-Layer__background-color--3': neutrals.neutral92,
33
33
  '--stsv-Layer__color--3': neutrals.neutral15,
34
- // ----- Button ----- //
34
+ // ----- Button (15) ----- //
35
35
  '--stsv-Button__background-color': neutrals.neutral96,
36
36
  '--stsv-Button__border-color': neutrals.neutral60,
37
37
  '--stsv-Button__border-radius': '8px',
@@ -50,7 +50,7 @@ export const lightTheme = {
50
50
  '--stsv-Button__background-color--focus': neutrals.neutral96,
51
51
  '--stsv-Button__border-color--focus': neutrals.neutral0,
52
52
  '--stsv-Button__color--focus': neutrals.neutral15,
53
- // ----- Input ----- //
53
+ // ----- Input (15) ----- //
54
54
  '--stsv-Input__background-color': neutrals.neutral98,
55
55
  '--stsv-Input__border-color': neutrals.neutral60,
56
56
  '--stsv-Input__border-radius': '3px',
@@ -71,14 +71,21 @@ export const lightTheme = {
71
71
  '--stsv-Input__color--selected': neutrals.neutral15,
72
72
  // ----- Display ----- //
73
73
  '--stsv-Display__background-color': neutrals.neutral92,
74
- '--stsv-Display__border-color': neutrals.neutral60,
74
+ '--stsv-Display__border-color': neutrals.neutral30,
75
75
  '--stsv-Display__color': neutrals.neutral15,
76
- '--stsv-Display__color--subtle': neutrals.neutral30,
76
+ '--stsv-Display__color--subtle': neutrals.neutral45,
77
77
  '--stsv-Display__color--faint': neutrals.neutral85,
78
78
  '--stsv-Display__color--disabled': neutrals.neutral85,
79
- '--stsv-Display__color--info': '#025E73',
80
- '--stsv-Display__color--progress': '#0099DD',
81
- '--stsv-Display__color--success': '#03A64A',
82
- '--stsv-Display__color--warning': '#F2A71B',
83
- '--stsv-Display__color--error': '#A62B1F'
79
+ '--stsv-Info__background-color': 'hsl(198, 100%, 90%)',
80
+ '--stsv-Info__border-color': 'hsl(198, 100%, 40%)',
81
+ '--stsv-Info__color': 'hsl(198, 80%, 33%)',
82
+ '--stsv-Success__background-color': 'hsl(146, 100%, 90%)',
83
+ '--stsv-Success__border-color': 'hsl(146, 100%, 30%)',
84
+ '--stsv-Success__color': 'hsl(146, 80%, 25%)',
85
+ '--stsv-Warning__background-color': 'hsl(39, 100%, 80%)',
86
+ '--stsv-Warning__border-color': 'hsl(39, 100%, 45%)',
87
+ '--stsv-Warning__color': 'hsl(39, 100%, 25%)',
88
+ '--stsv-Error__background-color': 'hsl(5, 100%, 90%)',
89
+ '--stsv-Error__border-color': 'hsl(5, 100%, 40%)',
90
+ '--stsv-Error__color': 'hsl(5, 80%, 40%)'
84
91
  };
package/Portal.svelte DELETED
@@ -1,14 +0,0 @@
1
- <script>import { portal } from "./actions/portal";
2
- export let target = document.body;
3
- </script>
4
-
5
- <div class="portal" use:portal={{ target }}>
6
- <slot {...$$restProps} />
7
- </div>
8
-
9
- <style>
10
- .portal {
11
- position: relative;
12
- overflow: visible;
13
- }
14
- </style>
@@ -1,21 +0,0 @@
1
- import { SvelteComponentTyped } from "svelte";
2
- declare const __propDef: {
3
- props: {
4
- [x: string]: any;
5
- target?: HTMLElement | undefined;
6
- };
7
- events: {
8
- [evt: string]: CustomEvent<any>;
9
- };
10
- slots: {
11
- default: {
12
- [x: string]: any;
13
- };
14
- };
15
- };
16
- export type PortalProps = typeof __propDef.props;
17
- export type PortalEvents = typeof __propDef.events;
18
- export type PortalSlots = typeof __propDef.slots;
19
- export default class Portal extends SvelteComponentTyped<PortalProps, PortalEvents, PortalSlots> {
20
- }
21
- export {};