@maildeno/editor 0.1.2 → 0.1.4

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.
@@ -759,23 +759,32 @@ to {
759
759
  }
760
760
  }
761
761
 
762
- /* ===== DESIGN SYSTEM TOKENS ===== */
763
- .desktop-gate[data-v-561a092b] {
764
- --brand-primary: #4a7c59;
765
- --brand-primary-dark: #3a5a40;
766
- --brand-primary-light: #3a5a40;
767
- --brand-gradient-start: #4a7c59;
768
- --brand-gradient-end: #3a5a40;
769
- --gray-50: #f9fafb;
770
- --gray-100: #f3f4f6;
771
- --gray-200: #e5e7eb;
772
- --gray-300: #d1d5db;
773
- --gray-400: #9ca3af;
774
- --gray-500: #6b7280;
775
- --gray-600: #4b5563;
776
- --gray-700: #374151;
777
- --gray-800: #1f2937;
778
- --gray-900: #111827;
762
+ /* ===== DESIGN SYSTEM TOKENS =====
763
+ * Each token reads from the shared --md-* custom properties (see theme.ts)
764
+ * and falls back to this component's original hardcoded value when the
765
+ * host hasn't set that property. That means an untouched app looks exactly
766
+ * as before, and a host calling setEditorTheme() re-themes this notice too,
767
+ * without editing this file again. */
768
+ .desktop-gate[data-v-f2e384b2] {
769
+ --brand-primary: var(--md-primary, #4a7c59);
770
+ --brand-primary-dark: var(--md-primary-hover, #3a5a40);
771
+ --brand-primary-light: var(--md-primary-hover, #3a5a40);
772
+ --brand-gradient-start: var(--md-primary, #4a7c59);
773
+ --brand-gradient-end: var(--md-primary-hover, #3a5a40);
774
+ --gate-surface: var(--md-surface, #ffffff);
775
+ --gate-backdrop: var(--md-background, #f9fafb);
776
+ --gate-on-primary: var(--md-on-primary, #ffffff);
777
+ --gate-warning: var(--md-warning, #f59e0b);
778
+ --gray-50: var(--md-background, #f9fafb);
779
+ --gray-100: var(--md-surface-muted, #f3f4f6);
780
+ --gray-200: var(--md-border, #e5e7eb);
781
+ --gray-300: var(--md-border-strong, #d1d5db);
782
+ --gray-400: var(--md-text-subtle, #9ca3af);
783
+ --gray-500: var(--md-text-subtle, #6b7280);
784
+ --gray-600: var(--md-text-muted, #4b5563);
785
+ --gray-700: var(--md-text-muted, #374151);
786
+ --gray-800: var(--md-text, #1f2937);
787
+ --gray-900: var(--md-text, #111827);
779
788
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
780
789
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
781
790
  --shadow-lg:
@@ -786,35 +795,31 @@ to {
786
795
  }
787
796
 
788
797
  /* ===== MAIN LAYOUT ===== */
789
- .desktop-gate[data-v-561a092b] {
798
+ .desktop-gate[data-v-f2e384b2] {
790
799
  position: fixed;
791
800
  inset: 0;
792
801
  z-index: 9999;
793
802
  display: flex;
794
803
  align-items: center;
795
804
  justify-content: center;
796
- background: linear-gradient(
797
- 135deg,
798
- rgba(255, 255, 255, 0.98) 0%,
799
- rgba(249, 250, 251, 0.98) 100%
800
- );
805
+ background: color-mix(in srgb, var(--gate-backdrop) 98%, transparent);
801
806
  backdrop-filter: blur(2px);
802
807
  padding: 1.5rem;
803
808
  }
804
- .gate-container[data-v-561a092b] {
809
+ .gate-container[data-v-f2e384b2] {
805
810
  max-width: 520px;
806
811
  width: 100%;
807
- background: white;
812
+ background: var(--gate-surface);
808
813
  border-radius: 2rem;
809
814
  padding: 2.5rem;
810
815
  text-align: center;
811
816
  box-shadow: var(--shadow-2xl);
812
- animation: fadeInUp-561a092b 0.5s cubic-bezier(0.16, 1, 0.3, 1);
817
+ animation: fadeInUp-f2e384b2 0.5s cubic-bezier(0.16, 1, 0.3, 1);
813
818
  border: 1px solid var(--gray-200);
814
819
  }
815
820
 
816
821
  /* ===== BRAND BADGE ===== */
817
- .brand-badge[data-v-561a092b] {
822
+ .brand-badge[data-v-f2e384b2] {
818
823
  position: relative;
819
824
  width: 80px;
820
825
  height: 80px;
@@ -823,7 +828,7 @@ to {
823
828
  align-items: center;
824
829
  justify-content: center;
825
830
  }
826
- .badge-ring[data-v-561a092b] {
831
+ .badge-ring[data-v-f2e384b2] {
827
832
  position: absolute;
828
833
  inset: 0;
829
834
  border-radius: 50%;
@@ -832,13 +837,13 @@ to {
832
837
  var(--brand-gradient-start),
833
838
  var(--brand-gradient-end)
834
839
  );
835
- animation: pulseRing-561a092b 2s ease-out infinite;
840
+ animation: pulseRing-f2e384b2 2s ease-out infinite;
836
841
  }
837
- .badge-icon[data-v-561a092b] {
842
+ .badge-icon[data-v-f2e384b2] {
838
843
  position: relative;
839
844
  width: 56px;
840
845
  height: 56px;
841
- background: white;
846
+ background: var(--gate-surface);
842
847
  border-radius: 50%;
843
848
  display: flex;
844
849
  align-items: center;
@@ -847,19 +852,19 @@ to {
847
852
  box-shadow: var(--shadow-md);
848
853
  transition: transform 0.2s ease;
849
854
  }
850
- .gate-container:hover .badge-icon[data-v-561a092b] {
855
+ .gate-container:hover .badge-icon[data-v-f2e384b2] {
851
856
  transform: scale(1.02);
852
857
  }
853
858
 
854
859
  /* ===== TYPOGRAPHY ===== */
855
- .gate-title[data-v-561a092b] {
860
+ .gate-title[data-v-f2e384b2] {
856
861
  font-size: 1.875rem;
857
862
  font-weight: 700;
858
863
  letter-spacing: -0.02em;
859
864
  margin: 0 0 1rem 0;
860
865
  color: var(--gray-900);
861
866
  }
862
- .brand-gradient[data-v-561a092b] {
867
+ .brand-gradient[data-v-f2e384b2] {
863
868
  background: linear-gradient(
864
869
  135deg,
865
870
  var(--brand-gradient-start),
@@ -869,7 +874,7 @@ to {
869
874
  -webkit-background-clip: text;
870
875
  color: transparent;
871
876
  }
872
- .gate-description[data-v-561a092b] {
877
+ .gate-description[data-v-f2e384b2] {
873
878
  font-size: 1rem;
874
879
  line-height: 1.5;
875
880
  color: var(--gray-600);
@@ -877,7 +882,7 @@ to {
877
882
  }
878
883
 
879
884
  /* ===== FEATURE GRID ===== */
880
- .feature-grid[data-v-561a092b] {
885
+ .feature-grid[data-v-f2e384b2] {
881
886
  display: flex;
882
887
  justify-content: center;
883
888
  gap: 2rem;
@@ -886,7 +891,7 @@ to {
886
891
  border-top: 1px solid var(--gray-200);
887
892
  border-bottom: 1px solid var(--gray-200);
888
893
  }
889
- .feature-item[data-v-561a092b] {
894
+ .feature-item[data-v-f2e384b2] {
890
895
  display: flex;
891
896
  flex-direction: column;
892
897
  align-items: center;
@@ -895,7 +900,7 @@ to {
895
900
  font-weight: 500;
896
901
  color: var(--gray-700);
897
902
  }
898
- .feature-icon[data-v-561a092b] {
903
+ .feature-icon[data-v-f2e384b2] {
899
904
  width: 36px;
900
905
  height: 36px;
901
906
  background: var(--gray-100);
@@ -906,14 +911,14 @@ to {
906
911
  color: var(--brand-primary);
907
912
  transition: all 0.2s ease;
908
913
  }
909
- .feature-item:hover .feature-icon[data-v-561a092b] {
914
+ .feature-item:hover .feature-icon[data-v-f2e384b2] {
910
915
  background: var(--brand-primary);
911
- color: white;
916
+ color: var(--gate-on-primary);
912
917
  transform: translateY(-2px);
913
918
  }
914
919
 
915
920
  /* ===== STATUS ===== */
916
- .detection-status[data-v-561a092b] {
921
+ .detection-status[data-v-f2e384b2] {
917
922
  display: inline-flex;
918
923
  align-items: center;
919
924
  gap: 0.5rem;
@@ -924,16 +929,16 @@ to {
924
929
  font-weight: 500;
925
930
  color: var(--gray-600);
926
931
  }
927
- .status-dot[data-v-561a092b] {
932
+ .status-dot[data-v-f2e384b2] {
928
933
  width: 8px;
929
934
  height: 8px;
930
- background: #f59e0b;
935
+ background: var(--gate-warning);
931
936
  border-radius: 50%;
932
- animation: pulse-561a092b 1.5s ease-out infinite;
937
+ animation: pulse-f2e384b2 1.5s ease-out infinite;
933
938
  }
934
939
 
935
940
  /* ===== FOOTER ===== */
936
- .gate-footer[data-v-561a092b] {
941
+ .gate-footer[data-v-f2e384b2] {
937
942
  margin-top: 2rem;
938
943
  padding-top: 1.5rem;
939
944
  display: flex;
@@ -943,7 +948,7 @@ to {
943
948
  font-size: 0.75rem;
944
949
  color: var(--gray-400);
945
950
  }
946
- .brand-text[data-v-561a092b] {
951
+ .brand-text[data-v-f2e384b2] {
947
952
  font-weight: 600;
948
953
  background: linear-gradient(
949
954
  135deg,
@@ -956,7 +961,7 @@ to {
956
961
  }
957
962
 
958
963
  /* ===== ANIMATIONS ===== */
959
- @keyframes fadeInUp-561a092b {
964
+ @keyframes fadeInUp-f2e384b2 {
960
965
  from {
961
966
  opacity: 0;
962
967
  transform: translateY(20px);
@@ -966,7 +971,7 @@ to {
966
971
  transform: translateY(0);
967
972
  }
968
973
  }
969
- @keyframes pulseRing-561a092b {
974
+ @keyframes pulseRing-f2e384b2 {
970
975
  0% {
971
976
  opacity: 1;
972
977
  transform: scale(0.95);
@@ -980,7 +985,7 @@ to {
980
985
  transform: scale(1.25);
981
986
  }
982
987
  }
983
- @keyframes pulse-561a092b {
988
+ @keyframes pulse-f2e384b2 {
984
989
  0%,
985
990
  100% {
986
991
  opacity: 1;
@@ -992,13 +997,13 @@ to {
992
997
 
993
998
  /* ===== RESPONSIVE TOUCH-UPS ===== */
994
999
  @media (max-width: 480px) {
995
- .gate-container[data-v-561a092b] {
1000
+ .gate-container[data-v-f2e384b2] {
996
1001
  padding: 2rem 1.5rem;
997
1002
  }
998
- .gate-title[data-v-561a092b] {
1003
+ .gate-title[data-v-f2e384b2] {
999
1004
  font-size: 1.5rem;
1000
1005
  }
1001
- .feature-grid[data-v-561a092b] {
1006
+ .feature-grid[data-v-f2e384b2] {
1002
1007
  gap: 1.25rem;
1003
1008
  }
1004
1009
  }
package/dist/element.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as registerMaildenoEditorElement, t as MaildenoEditorElement } from "./element-DLJCEP_z.js";
1
+ import { n as registerMaildenoEditorElement, t as MaildenoEditorElement } from "./element-CWjNN0lY.js";
2
2
  export { MaildenoEditorElement, registerMaildenoEditorElement };