html2apk 0.2.0 → 0.4.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.
@@ -492,10 +492,16 @@ h2 {
492
492
  }
493
493
 
494
494
  .icon-field,
495
+ .onesignal-field,
495
496
  .permissions-field {
496
497
  grid-column: span 2;
497
498
  }
498
499
 
500
+ .field small {
501
+ color: var(--muted);
502
+ line-height: 1.4;
503
+ }
504
+
499
505
  .permission-grid {
500
506
  grid-template-columns: repeat(2, minmax(0, 1fr));
501
507
  gap: 10px;
@@ -848,6 +854,21 @@ h2 {
848
854
  padding: 20px;
849
855
  }
850
856
 
857
+ .creator-card {
858
+ display: grid;
859
+ align-content: start;
860
+ gap: 12px;
861
+ }
862
+
863
+ .creator-card p {
864
+ margin: 0;
865
+ }
866
+
867
+ .instagram-action {
868
+ justify-self: start;
869
+ margin-top: 4px;
870
+ }
871
+
851
872
  .view-intro {
852
873
  max-width: 760px;
853
874
  color: var(--muted);
@@ -868,7 +889,12 @@ h2 {
868
889
  gap: 10px;
869
890
  }
870
891
 
871
- .code-card code {
892
+ .code-card-top {
893
+ display: grid;
894
+ gap: 8px;
895
+ }
896
+
897
+ .code-card-top code {
872
898
  overflow-wrap: anywhere;
873
899
  color: #d6e4f7;
874
900
  background: #0c1117;
@@ -876,7 +902,7 @@ h2 {
876
902
  padding: 10px;
877
903
  }
878
904
 
879
- .code-card span {
905
+ .code-card-top span {
880
906
  color: var(--blue);
881
907
  font-weight: 800;
882
908
  }
@@ -886,6 +912,75 @@ h2 {
886
912
  color: var(--muted);
887
913
  }
888
914
 
915
+ .code-card small {
916
+ display: block;
917
+ color: var(--green);
918
+ line-height: 1.45;
919
+ }
920
+
921
+ .code-card small strong {
922
+ color: var(--text);
923
+ }
924
+
925
+ .code-card .handling {
926
+ color: var(--muted);
927
+ border-top: 1px solid var(--line);
928
+ padding-top: 10px;
929
+ }
930
+
931
+ .copy-example {
932
+ border-top: 1px solid var(--line);
933
+ padding-top: 12px;
934
+ display: grid;
935
+ gap: 8px;
936
+ }
937
+
938
+ .copy-example-header {
939
+ display: flex;
940
+ align-items: center;
941
+ justify-content: space-between;
942
+ gap: 10px;
943
+ }
944
+
945
+ .copy-example-header strong {
946
+ font-size: .88rem;
947
+ }
948
+
949
+ .copy-code-button {
950
+ min-height: 34px;
951
+ border: 1px solid var(--line);
952
+ border-radius: 8px;
953
+ padding: 0 12px;
954
+ background: var(--bg);
955
+ color: var(--blue);
956
+ font-weight: 800;
957
+ cursor: pointer;
958
+ }
959
+
960
+ .copy-code-button.copied {
961
+ color: var(--green);
962
+ }
963
+
964
+ .copy-code-button.copy-error {
965
+ color: var(--red);
966
+ }
967
+
968
+ .copy-example pre {
969
+ margin: 0;
970
+ max-height: 260px;
971
+ overflow: auto;
972
+ border-radius: 8px;
973
+ background: #0c1117;
974
+ }
975
+
976
+ .copy-example pre code {
977
+ display: block;
978
+ padding: 12px;
979
+ color: #d6e4f7;
980
+ font: 12px/1.55 Consolas, "Courier New", monospace;
981
+ white-space: pre;
982
+ }
983
+
889
984
  .success-view {
890
985
  min-height: 100%;
891
986
  display: none;
@@ -1245,6 +1340,7 @@ body.logs-visible .bottom-log-bar {
1245
1340
  }
1246
1341
 
1247
1342
  .icon-field,
1343
+ .onesignal-field,
1248
1344
  .permissions-field {
1249
1345
  grid-column: span 1;
1250
1346
  }
@@ -16,6 +16,10 @@
16
16
  <config-file target="AndroidManifest.xml" parent="/manifest">
17
17
  <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
18
18
  <uses-permission android:name="android.permission.VIBRATE" />
19
+ <uses-permission android:name="android.permission.CAMERA" />
20
+ <uses-permission android:name="android.permission.RECORD_AUDIO" />
21
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
22
+ <uses-feature android:name="android.hardware.camera.flash" android:required="false" />
19
23
  <uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
20
24
  <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
21
25
  </config-file>