@descope/web-components-ui 1.0.277 → 1.0.278

Sign up to get free protection for your applications and to get access to all the features.
@@ -393,7 +393,7 @@ const genColors = (colors) => {
393
393
 
394
394
  const direction = 'ltr';
395
395
 
396
- const colors = genColors({
396
+ const colors$1 = genColors({
397
397
  surface: {
398
398
  main: '#ffffff',
399
399
  dark: '#636c74',
@@ -557,7 +557,7 @@ const shadow = {
557
557
  };
558
558
 
559
559
  const globals = {
560
- colors,
560
+ colors: colors$1,
561
561
  typography,
562
562
  spacing,
563
563
  border,
@@ -9895,6 +9895,50 @@ const vars = Object.keys(components).reduce(
9895
9895
  const defaultTheme = { globals, components: theme };
9896
9896
  const themeVars = { globals: vars$y, components: vars };
9897
9897
 
9898
+ const colors = {
9899
+ surface: {
9900
+ main: '#181a1c',
9901
+ dark: '#bec4ca',
9902
+ light: '#555f68',
9903
+ highlight: '#22262a',
9904
+ contrast: '#f5f6f7',
9905
+ },
9906
+ primary: {
9907
+ main: '#1f80ff',
9908
+ dark: '#71aeff',
9909
+ light: '#004094',
9910
+ highlight: '#00214d',
9911
+ contrast: '#000000',
9912
+ },
9913
+ secondary: {
9914
+ main: '#a665eb',
9915
+ dark: '#b9a0f3',
9916
+ light: '#683ae6',
9917
+ highlight: '#361299',
9918
+ contrast: '#000000',
9919
+ },
9920
+ success: {
9921
+ main: '#27963c',
9922
+ dark: '#8bc3a2',
9923
+ light: '#004d0f',
9924
+ highlight: '#001f00',
9925
+ contrast: '#000000',
9926
+ },
9927
+ error: {
9928
+ main: '#f85249',
9929
+ dark: '#fa7c75',
9930
+ light: '#c51107',
9931
+ highlight: '#4a0603',
9932
+ contrast: '#000000',
9933
+ },
9934
+ };
9935
+
9936
+ const darkTheme = merge({}, defaultTheme, {
9937
+ globals: {
9938
+ colors,
9939
+ },
9940
+ });
9941
+
9898
9942
  const componentName$1 = getComponentName('recaptcha');
9899
9943
 
9900
9944
  const observedAttributes = ['enabled', 'site-key', 'action', 'enterprise'];
@@ -10186,6 +10230,7 @@ exports.UploadFileClass = UploadFileClass;
10186
10230
  exports.componentsThemeManager = componentsThemeManager;
10187
10231
  exports.createComponentsTheme = createComponentsTheme;
10188
10232
  exports.createHelperVars = createHelperVars;
10233
+ exports.darkTheme = darkTheme;
10189
10234
  exports.defaultTheme = defaultTheme;
10190
10235
  exports.genColor = genColor;
10191
10236
  exports.genColors = genColors;