labsense-ui-kit 1.1.31 → 1.1.33

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.
@@ -17,7 +17,7 @@ function _taggedTemplateLiteralLoose(e, t) {
17
17
  return t || (t = e.slice(0)), e.raw = t, e;
18
18
  }
19
19
 
20
- var colorVariables = {
20
+ var light = {
21
21
  brand: {
22
22
  primary: '#4C9EEB',
23
23
  secondary: '#14171A',
@@ -84,7 +84,7 @@ var colorVariables = {
84
84
  lightBlue: '#ADD8E6'
85
85
  }
86
86
  };
87
- var darkColorVariables = {
87
+ var dark = {
88
88
  brand: {
89
89
  primary: '#4C9EEB',
90
90
  secondary: '#FFFFFF',
@@ -151,10 +151,7 @@ var darkColorVariables = {
151
151
  lightBlue: '#ADD8E6'
152
152
  }
153
153
  };
154
- var themes = {
155
- light: colorVariables,
156
- dark: darkColorVariables
157
- };
154
+ var colorVariables = document.documentElement.classList.contains('dark') ? dark : light;
158
155
 
159
156
  var Add = function Add(_ref) {
160
157
  var size = _ref.size,
@@ -6502,5 +6499,5 @@ var InternalTabs = function InternalTabs(_ref) {
6502
6499
  }));
6503
6500
  };
6504
6501
 
6505
- export { Badge, Breadcrumbs, ButtonComponent as Button, ButtonCarousel, CheckBox, CircularLoader, Container, DatePicker, DropdownMenu$1 as DropdownMenu, Icon, InternalTabs, Loader, MultiSelectDropdown, OptionComponent, Options, Pagination, ProgressBar, SearchBox, SelectOption, SelectedOption, Sidebar, Span, Table, TableCell, TableRow, Tabs, TextArea, TextField, TextFieldWithDropdown, colorVariables, convertEpochToDateString, convertEpochToOnlyDate, convertToEpoch, darkColorVariables, formatCalendarDateTime, formatDate, formatEpochToIST, formatTimestamp, getSystemTimezoneAbbreviation, themes, timeAgo, timeStringToSeconds, useClickOutside, useCustomModal, useNotification };
6502
+ export { Badge, Breadcrumbs, ButtonComponent as Button, ButtonCarousel, CheckBox, CircularLoader, Container, DatePicker, DropdownMenu$1 as DropdownMenu, Icon, InternalTabs, Loader, MultiSelectDropdown, OptionComponent, Options, Pagination, ProgressBar, SearchBox, SelectOption, SelectedOption, Sidebar, Span, Table, TableCell, TableRow, Tabs, TextArea, TextField, TextFieldWithDropdown, colorVariables, convertEpochToDateString, convertEpochToOnlyDate, convertToEpoch, formatCalendarDateTime, formatDate, formatEpochToIST, formatTimestamp, getSystemTimezoneAbbreviation, timeAgo, timeStringToSeconds, useClickOutside, useCustomModal, useNotification };
6506
6503
  //# sourceMappingURL=index.modern.js.map