microboard-ui-temp 0.8.0 → 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;
@@ -8044,6 +8184,12 @@ td.currentTariff_0VfwRg {
8044
8184
  padding: 0;
8045
8185
  }
8046
8186
 
8187
+ @media (hover: hover) {
8188
+ .button_rNYg_A:hover {
8189
+ z-index: 1;
8190
+ }
8191
+ }
8192
+
8047
8193
  .button_rNYg_A.active_rNYg_A:before {
8048
8194
  position: absolute;
8049
8195
  content: "";
@@ -8096,6 +8242,7 @@ td.currentTariff_0VfwRg {
8096
8242
 
8097
8243
  @media (hover: hover) {
8098
8244
  .button_ClApmw:hover {
8245
+ z-index: 1;
8099
8246
  background-color: #e9eaec;
8100
8247
  }
8101
8248
  }
@@ -13443,7 +13590,7 @@ audio::-webkit-media-controls-enclosure {
13443
13590
  .NavbarWrapper .Logo {
13444
13591
  display: flex;
13445
13592
  text-decoration: none;
13446
- color: #14151a;
13593
+ color: var(--text-base-primary);
13447
13594
  align-items: center;
13448
13595
  gap: 4px;
13449
13596
  height: 48px;
@@ -13453,7 +13600,7 @@ audio::-webkit-media-controls-enclosure {
13453
13600
  }
13454
13601
 
13455
13602
  .NavbarWrapper .Logo:visited {
13456
- color: #14151a;
13603
+ color: var(--text-base-primary);
13457
13604
  }
13458
13605
 
13459
13606
  .NavbarWrapper .Link {
@@ -13480,10 +13627,11 @@ audio::-webkit-media-controls-enclosure {
13480
13627
 
13481
13628
  .NavbarWrapper .LinkActive {
13482
13629
  box-sizing: border-box;
13483
- 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);
13484
13634
  text-decoration: none;
13485
- background-color: #fff;
13486
- border: 1px solid #dee0e3;
13487
13635
  border-radius: 10px;
13488
13636
  height: 32px;
13489
13637
  padding: 6px 10px;
@@ -13492,13 +13640,13 @@ audio::-webkit-media-controls-enclosure {
13492
13640
  }
13493
13641
 
13494
13642
  .NavbarWrapper .LinkActive:hover {
13495
- color: #14151a;
13496
- background-color: #f7f7f8;
13643
+ background-color: var(--background-button-secondary-hover);
13644
+ color: var(--text-base-primary);
13497
13645
  }
13498
13646
 
13499
13647
  .NavbarWrapper .LinkActive:active {
13648
+ background-color: var(--background-button-secondary);
13500
13649
  outline: 2px solid #c8b2ff80;
13501
- background-color: #fff;
13502
13650
  border: 1px solid #b78af0;
13503
13651
  }
13504
13652
 
@@ -13521,6 +13669,28 @@ audio::-webkit-media-controls-enclosure {
13521
13669
  gap: 16px;
13522
13670
  }
13523
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
+
13524
13694
  .Link.Back {
13525
13695
  color: var(--icon-base-secondary);
13526
13696
  display: flex;
@@ -13543,7 +13713,7 @@ audio::-webkit-media-controls-enclosure {
13543
13713
 
13544
13714
  @media screen and (max-width: 640px) {
13545
13715
  .NavbarWrapper {
13546
- border-bottom: 1px solid #dee0e3;
13716
+ border-bottom: 1px solid var(--border-action-normal);
13547
13717
  }
13548
13718
 
13549
13719
  .NavbarWrapper .Links {
@@ -13597,7 +13767,7 @@ audio::-webkit-media-controls-enclosure {
13597
13767
  }
13598
13768
 
13599
13769
  .policy_hbU_PQ {
13600
- color: #0f132499;
13770
+ color: var(--text-base-secondary);
13601
13771
  text-align: center;
13602
13772
  margin-top: auto;
13603
13773
  margin-bottom: 40px;
@@ -13607,14 +13777,14 @@ audio::-webkit-media-controls-enclosure {
13607
13777
 
13608
13778
  .policyLink_hbU_PQ {
13609
13779
  position: relative;
13610
- color: #0f132499;
13780
+ color: var(--text-base-secondary);
13611
13781
  text-decoration: none;
13612
13782
  }
13613
13783
 
13614
13784
  .policyLink_hbU_PQ:after {
13615
13785
  content: "";
13616
13786
  position: absolute;
13617
- background-color: #0a0f2914;
13787
+ background-color: var(--border-action-normal);
13618
13788
  width: 100%;
13619
13789
  height: 2px;
13620
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-2yb1xtbd.css"><script src="/env.js"></script>
35
- <script type="module" crossorigin src="/chunk-vznck1jr.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="