microboard-ui-temp 0.8.1 → 0.9.0

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.
@@ -96,6 +96,25 @@
96
96
  --absolute-position-panel-padding: 12px;
97
97
  }
98
98
 
99
+ [data-theme="dark"] {
100
+ --background-surface-default: #1e1f26;
101
+ --background-button-secondary: #1e1f26;
102
+ --background-button-secondary-hover: #2a2b34;
103
+ --background-badge-purple-disabled: #281c3c;
104
+ --background-badge-gray: #2d2e37;
105
+ --background-accent-purple: #924fe8;
106
+ --border-action-normal: #34353e;
107
+ --border-action-focus: #924fe8;
108
+ --border-select-primary: #924fe8;
109
+ --text-base-primary: #e8e9f0;
110
+ --text-base-secondary: #e8e9f099;
111
+ --text-base-quaternary: #e8e9f040;
112
+ --text-accent-purple: #ac78f5;
113
+ --icon-base-primary: #e8e9f0;
114
+ --icon-base-secondary: #9496a5;
115
+ --icon-accent-purple: #924fe8;
116
+ }
117
+
99
118
  * {
100
119
  box-sizing: border-box;
101
120
  background: none;
@@ -115,6 +134,7 @@ html {
115
134
 
116
135
  body {
117
136
  color: var(--text-base-primary);
137
+ background-color: var(--background-surface-default);
118
138
  font-optical-sizing: auto;
119
139
  font-family: Manrope, sans-serif;
120
140
  font-size: 1.6rem;
@@ -142,6 +162,26 @@ input:-webkit-autofill:active {
142
162
  -webkit-box-shadow: inset 0 0 0 30px #fff !important;
143
163
  }
144
164
 
165
+ [data-theme="dark"] input:-webkit-autofill {
166
+ -webkit-text-fill-color: #e8e9f0 !important;
167
+ -webkit-box-shadow: inset 0 0 0 30px #1e1f26 !important;
168
+ }
169
+
170
+ [data-theme="dark"] input:-webkit-autofill:hover {
171
+ -webkit-text-fill-color: #e8e9f0 !important;
172
+ -webkit-box-shadow: inset 0 0 0 30px #1e1f26 !important;
173
+ }
174
+
175
+ [data-theme="dark"] input:-webkit-autofill:focus {
176
+ -webkit-text-fill-color: #e8e9f0 !important;
177
+ -webkit-box-shadow: inset 0 0 0 30px #1e1f26 !important;
178
+ }
179
+
180
+ [data-theme="dark"] input:-webkit-autofill:active {
181
+ -webkit-text-fill-color: #e8e9f0 !important;
182
+ -webkit-box-shadow: inset 0 0 0 30px #1e1f26 !important;
183
+ }
184
+
145
185
  /* src/shared/ui-lib/Icon/Icon.module.css */
146
186
  .icon_zNwsNQ {
147
187
  max-width: 24px;
@@ -232,7 +272,7 @@ input:-webkit-autofill:active {
232
272
  /* src/entities/account/AuthForm.module.css */
233
273
  .wrapper_nFyDWw {
234
274
  display: flex;
235
- background-color: #fff;
275
+ background-color: var(--background-surface-default);
236
276
  flex-direction: column;
237
277
  justify-content: center;
238
278
  align-items: stretch;
@@ -251,7 +291,7 @@ input:-webkit-autofill:active {
251
291
 
252
292
  .link_nFyDWw {
253
293
  text-decoration: none;
254
- color: #6c7173;
294
+ color: var(--text-base-secondary);
255
295
  display: flex;
256
296
  justify-content: center;
257
297
  align-self: flex-start;
@@ -267,7 +307,7 @@ input:-webkit-autofill:active {
267
307
  }
268
308
 
269
309
  .link_nFyDWw:visited {
270
- color: #6c7173;
310
+ color: var(--text-base-secondary);
271
311
  }
272
312
 
273
313
  .title_nFyDWw {
@@ -282,13 +322,13 @@ input:-webkit-autofill:active {
282
322
  }
283
323
 
284
324
  .button_nFyDWw {
285
- color: #fff;
286
325
  cursor: pointer;
287
326
  outline-color: #0000;
288
327
  box-sizing: border-box;
289
328
  display: flex;
290
- background-color: #14151a;
291
- border: 1px solid #14151a;
329
+ border: 1px solid var(--text-base-primary);
330
+ background-color: var(--text-base-primary);
331
+ color: var(--background-surface-default);
292
332
  border-radius: 12px;
293
333
  justify-content: center;
294
334
  align-items: center;
@@ -302,16 +342,16 @@ input:-webkit-autofill:active {
302
342
  }
303
343
 
304
344
  .button_nFyDWw:disabled {
305
- color: #0a0f2940;
306
- background-color: #e9eaec;
307
- border-color: #e9eaec;
345
+ border-color: var(--border-action-normal);
346
+ background-color: var(--border-action-normal);
347
+ color: var(--text-base-quaternary);
308
348
  }
309
349
 
310
350
  .button_nFyDWw:disabled:hover {
311
351
  cursor: not-allowed;
312
- color: #0a0f2940;
313
- background-color: #e9eaec;
314
- border-color: #e9eaec;
352
+ border-color: var(--border-action-normal);
353
+ background-color: var(--border-action-normal);
354
+ color: var(--text-base-quaternary);
315
355
  }
316
356
 
317
357
  .button_nFyDWw:active {
@@ -319,7 +359,7 @@ input:-webkit-autofill:active {
319
359
  }
320
360
 
321
361
  .button_nFyDWw:hover {
322
- background-color: #1f2228;
362
+ opacity: .88;
323
363
  }
324
364
 
325
365
  .forgot_nFyDWw {
@@ -630,6 +670,103 @@ input:-webkit-autofill:active {
630
670
  color: #0a0f2940;
631
671
  }
632
672
 
673
+ [data-theme="dark"] .secondary_XNHIwg {
674
+ --background-color: var(--background-button-secondary);
675
+ --background-hover-color: var(--background-button-secondary-hover);
676
+ --background-active-color: var(--background-button-secondary-hover);
677
+ --background-disabled-color: var(--background-button-secondary);
678
+ --content-color: var(--text-base-primary);
679
+ --content-hover-color: var(--text-base-primary);
680
+ --content-disabled-color: #e8e9f04d;
681
+ }
682
+
683
+ [data-theme="dark"] .tertiary_XNHIwg {
684
+ --background-color: #2a2b34;
685
+ --background-hover-color: #373842;
686
+ --background-active-color: #373842;
687
+ --content-color: var(--text-base-primary);
688
+ --content-hover-color: var(--text-base-primary);
689
+ --content-disabled-color: #e8e9f040;
690
+ }
691
+
692
+ [data-theme="dark"] .primary_XNHIwg {
693
+ color: #14151a;
694
+ background-color: #e8e9f0;
695
+ border-color: #34353e;
696
+ }
697
+
698
+ [data-theme="dark"] .primary_XNHIwg:hover:not(:disabled) {
699
+ color: #14151a;
700
+ background-color: #d2d4de;
701
+ }
702
+
703
+ [data-theme="dark"] .primary_XNHIwg:disabled {
704
+ color: #e8e9f040;
705
+ background-color: #34353e;
706
+ border-color: #34353e;
707
+ }
708
+
709
+ [data-theme="dark"] .tertiary_XNHIwg {
710
+ border-color: var(--border-action-normal);
711
+ color: var(--text-base-primary);
712
+ background-color: #2a2b34;
713
+ }
714
+
715
+ [data-theme="dark"] .tertiary_XNHIwg:hover:not(:disabled) {
716
+ color: var(--text-base-primary);
717
+ background-color: #373842;
718
+ }
719
+
720
+ [data-theme="dark"] .ghost_XNHIwg {
721
+ color: var(--text-base-secondary);
722
+ }
723
+
724
+ [data-theme="dark"] .ghost_XNHIwg:hover {
725
+ color: var(--text-base-secondary);
726
+ background-color: #e8e9f00f;
727
+ }
728
+
729
+ [data-theme="dark"] .ghost_XNHIwg:disabled {
730
+ color: #e8e9f040;
731
+ }
732
+
733
+ [data-theme="dark"] .ghostFilled_XNHIwg {
734
+ color: var(--text-base-secondary);
735
+ background-color: #e8e9f00f;
736
+ }
737
+
738
+ [data-theme="dark"] .ghostFilled_XNHIwg:disabled {
739
+ color: #e8e9f040;
740
+ }
741
+
742
+ [data-theme="dark"] .quaternary_XNHIwg {
743
+ color: var(--text-base-primary);
744
+ background-color: #e8e9f00f;
745
+ }
746
+
747
+ [data-theme="dark"] .quaternary_XNHIwg:disabled {
748
+ color: var(--text-base-primary);
749
+ background-color: #e8e9f00f;
750
+ }
751
+
752
+ [data-theme="dark"] .quaternary_XNHIwg:disabled {
753
+ color: #e8e9f040;
754
+ }
755
+
756
+ [data-theme="dark"] .quaternary_XNHIwg:hover:not(:disabled) {
757
+ color: var(--text-base-primary);
758
+ background-color: #e8e9f01a;
759
+ }
760
+
761
+ [data-theme="dark"] .black_XNHIwg {
762
+ --background-color: #e8e9f0;
763
+ --background-hover-color: #d2d4de;
764
+ --background-active-color: #d2d4de;
765
+ --content-color: #14151a;
766
+ --content-hover-color: #14151a;
767
+ --content-active-color: #14151a;
768
+ }
769
+
633
770
  .loader_XNHIwg {
634
771
  display: flex;
635
772
  animation: rotate 2s linear infinite;
@@ -1826,23 +1963,24 @@ body {
1826
1963
  }
1827
1964
 
1828
1965
  .inputLabel_2Ex0qA.disabled_2Ex0qA {
1829
- color: #0a0f2940;
1966
+ color: var(--text-base-quaternary);
1830
1967
  }
1831
1968
 
1832
1969
  .input_2Ex0qA {
1833
1970
  outline: none;
1834
- color: #0f1324;
1971
+ color: var(--text-base-primary);
1972
+ background-color: #0000;
1835
1973
  width: 100%;
1836
1974
  font-family: Manrope, Arial;
1837
1975
  font-size: 14px;
1838
1976
  }
1839
1977
 
1840
1978
  .input_2Ex0qA:disabled, .input_2Ex0qA:disabled::placeholder {
1841
- color: #0a0f2940;
1979
+ color: var(--text-base-quaternary);
1842
1980
  }
1843
1981
 
1844
1982
  .input_2Ex0qA::placeholder {
1845
- color: #0f132499;
1983
+ color: var(--text-base-secondary);
1846
1984
  font-family: Manrope, Arial;
1847
1985
  }
1848
1986
 
@@ -1851,7 +1989,7 @@ body {
1851
1989
  }
1852
1990
 
1853
1991
  .inputHelperText_2Ex0qA {
1854
- color: #0f132499;
1992
+ color: var(--text-base-secondary);
1855
1993
  font-size: 14px;
1856
1994
  }
1857
1995
 
@@ -1867,7 +2005,8 @@ body {
1867
2005
 
1868
2006
  .inputContainer_2Ex0qA {
1869
2007
  display: flex;
1870
- border: 1px solid #dee0e3;
2008
+ border: 1px solid var(--border-action-normal);
2009
+ background-color: var(--background-button-secondary);
1871
2010
  border-radius: 12px;
1872
2011
  width: 100%;
1873
2012
  padding: 10px 12px;
@@ -1920,7 +2059,8 @@ body {
1920
2059
  outline: none;
1921
2060
  resize: none;
1922
2061
  overflow: hidden;
1923
- color: #0f1324;
2062
+ color: var(--text-base-primary);
2063
+ background-color: #0000;
1924
2064
  width: 100%;
1925
2065
  height: 20px;
1926
2066
  font-family: Manrope, Arial;
@@ -13450,7 +13590,7 @@ audio::-webkit-media-controls-enclosure {
13450
13590
  .NavbarWrapper .Logo {
13451
13591
  display: flex;
13452
13592
  text-decoration: none;
13453
- color: #14151a;
13593
+ color: var(--text-base-primary);
13454
13594
  align-items: center;
13455
13595
  gap: 4px;
13456
13596
  height: 48px;
@@ -13460,7 +13600,7 @@ audio::-webkit-media-controls-enclosure {
13460
13600
  }
13461
13601
 
13462
13602
  .NavbarWrapper .Logo:visited {
13463
- color: #14151a;
13603
+ color: var(--text-base-primary);
13464
13604
  }
13465
13605
 
13466
13606
  .NavbarWrapper .Link {
@@ -13487,10 +13627,11 @@ audio::-webkit-media-controls-enclosure {
13487
13627
 
13488
13628
  .NavbarWrapper .LinkActive {
13489
13629
  box-sizing: border-box;
13490
- color: #14151a;
13630
+ background-color: var(--background-button-secondary);
13631
+ border: 1px solid #0000;
13632
+ border: 1px solid var(--border-action-normal);
13633
+ color: var(--text-base-primary);
13491
13634
  text-decoration: none;
13492
- background-color: #fff;
13493
- border: 1px solid #dee0e3;
13494
13635
  border-radius: 10px;
13495
13636
  height: 32px;
13496
13637
  padding: 6px 10px;
@@ -13499,13 +13640,13 @@ audio::-webkit-media-controls-enclosure {
13499
13640
  }
13500
13641
 
13501
13642
  .NavbarWrapper .LinkActive:hover {
13502
- color: #14151a;
13503
- background-color: #f7f7f8;
13643
+ background-color: var(--background-button-secondary-hover);
13644
+ color: var(--text-base-primary);
13504
13645
  }
13505
13646
 
13506
13647
  .NavbarWrapper .LinkActive:active {
13648
+ background-color: var(--background-button-secondary);
13507
13649
  outline: 2px solid #c8b2ff80;
13508
- background-color: #fff;
13509
13650
  border: 1px solid #b78af0;
13510
13651
  }
13511
13652
 
@@ -13528,6 +13669,28 @@ audio::-webkit-media-controls-enclosure {
13528
13669
  gap: 16px;
13529
13670
  }
13530
13671
 
13672
+ .NavbarActions {
13673
+ display: flex;
13674
+ align-items: center;
13675
+ gap: 8px;
13676
+ }
13677
+
13678
+ .ThemeToggle {
13679
+ display: flex;
13680
+ cursor: pointer;
13681
+ color: var(--icon-base-primary);
13682
+ border-radius: 8px;
13683
+ justify-content: center;
13684
+ align-items: center;
13685
+ width: 32px;
13686
+ height: 32px;
13687
+ transition: background-color .15s;
13688
+ }
13689
+
13690
+ .ThemeToggle:hover {
13691
+ background-color: var(--background-button-secondary-hover);
13692
+ }
13693
+
13531
13694
  .Link.Back {
13532
13695
  color: var(--icon-base-secondary);
13533
13696
  display: flex;
@@ -13550,7 +13713,7 @@ audio::-webkit-media-controls-enclosure {
13550
13713
 
13551
13714
  @media screen and (max-width: 640px) {
13552
13715
  .NavbarWrapper {
13553
- border-bottom: 1px solid #dee0e3;
13716
+ border-bottom: 1px solid var(--border-action-normal);
13554
13717
  }
13555
13718
 
13556
13719
  .NavbarWrapper .Links {
@@ -13604,7 +13767,7 @@ audio::-webkit-media-controls-enclosure {
13604
13767
  }
13605
13768
 
13606
13769
  .policy_hbU_PQ {
13607
- color: #0f132499;
13770
+ color: var(--text-base-secondary);
13608
13771
  text-align: center;
13609
13772
  margin-top: auto;
13610
13773
  margin-bottom: 40px;
@@ -13614,14 +13777,14 @@ audio::-webkit-media-controls-enclosure {
13614
13777
 
13615
13778
  .policyLink_hbU_PQ {
13616
13779
  position: relative;
13617
- color: #0f132499;
13780
+ color: var(--text-base-secondary);
13618
13781
  text-decoration: none;
13619
13782
  }
13620
13783
 
13621
13784
  .policyLink_hbU_PQ:after {
13622
13785
  content: "";
13623
13786
  position: absolute;
13624
- background-color: #0a0f2914;
13787
+ background-color: var(--border-action-normal);
13625
13788
  width: 100%;
13626
13789
  height: 2px;
13627
13790
  bottom: -3px;
package/dist/example.html CHANGED
@@ -31,8 +31,8 @@
31
31
  rel="stylesheet"
32
32
  />
33
33
 
34
- <link rel="stylesheet" crossorigin href="/chunk-2qjdhnz5.css"><script src="/env.js"></script>
35
- <script type="module" crossorigin src="/chunk-zqybbz9v.js"></script></head>
34
+ <link rel="stylesheet" crossorigin href="/chunk-zxdsfc4g.css"><script src="/env.js"></script>
35
+ <script type="module" crossorigin src="/chunk-jhg35595.js"></script></head>
36
36
 
37
37
  <body
38
38
  style="