@7shifts/sous-chef 3.89.4 → 3.89.5
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/dist/core/SousChefProvider/context/ProviderConfigContext.d.ts +1 -0
- package/dist/hooks/useTheme.d.ts +5 -0
- package/dist/index.css +9 -0
- package/dist/index.css.map +1 -1
- package/dist/index.js +66 -21
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +65 -21
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ import { TimeFormat } from '../../../forms/TimeField/types';
|
|
|
3
3
|
export type ProviderConfigContextType = {
|
|
4
4
|
country: CountryCode;
|
|
5
5
|
timeFormat: TimeFormat;
|
|
6
|
+
theme: 'light' | 'dark';
|
|
6
7
|
};
|
|
7
8
|
declare const ProviderConfigContext: import("react").Context<ProviderConfigContextType>;
|
|
8
9
|
export declare const useProviderConfig: () => ProviderConfigContextType;
|
package/dist/index.css
CHANGED
|
@@ -429,6 +429,11 @@ body {
|
|
|
429
429
|
color: var(--color-surface-on-color);
|
|
430
430
|
background-color: var(--color-surface-color-dim) !important;
|
|
431
431
|
}
|
|
432
|
+
|
|
433
|
+
body * {
|
|
434
|
+
scrollbar-width: thin;
|
|
435
|
+
scrollbar-color: var(--color-neutral-black-transparent-50) transparent;
|
|
436
|
+
}
|
|
432
437
|
._GFHBy {
|
|
433
438
|
display: flex;
|
|
434
439
|
}
|
|
@@ -1738,15 +1743,19 @@ h5._i2LHD {
|
|
|
1738
1743
|
}
|
|
1739
1744
|
._2An1I {
|
|
1740
1745
|
background-color: var(--color-warning-color);
|
|
1746
|
+
color: var(--color-warning-on-color);
|
|
1741
1747
|
}
|
|
1742
1748
|
._-Bw8L {
|
|
1743
1749
|
background-color: var(--color-danger-color);
|
|
1750
|
+
color: var(--color-danger-on-color);
|
|
1744
1751
|
}
|
|
1745
1752
|
._RxlMz {
|
|
1746
1753
|
background-color: var(--color-success-color);
|
|
1754
|
+
color: var(--color-success-on-color);
|
|
1747
1755
|
}
|
|
1748
1756
|
._dzCH- {
|
|
1749
1757
|
background-color: var(--color-info-color);
|
|
1758
|
+
color: var(--color-info-on-color);
|
|
1750
1759
|
}
|
|
1751
1760
|
._Ix9tP {
|
|
1752
1761
|
font-variant-numeric: tabular-nums;
|