mailgun.js 5.0.3 → 5.0.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.
- package/CHANGELOG.md +8 -0
- package/README.md +15 -3
- package/client.d.ts +29 -0
- package/domains.d.ts +53 -0
- package/domainsCredentials.d.ts +14 -0
- package/domainsTags.d.ts +34 -0
- package/domainsTemplates.d.ts +35 -0
- package/error.d.ts +7 -0
- package/events.d.ts +13 -0
- package/index.d.ts +9 -0
- package/interfaces/APIErrorOptions.d.ts +11 -0
- package/{lib/interfaces/ApiResponse.ts → interfaces/ApiResponse.d.ts} +1 -2
- package/{lib/interfaces/DomainCredentials.ts → interfaces/DomainCredentials.d.ts} +14 -30
- package/{lib/interfaces/DomainTags.ts → interfaces/DomainTags.d.ts} +49 -82
- package/{lib/interfaces/DomainTemplates.ts → interfaces/DomainTemplates.d.ts} +35 -79
- package/{lib/interfaces/DomainTracking.ts → interfaces/DomainTracking.d.ts} +18 -17
- package/{lib/interfaces/Domains.ts → interfaces/Domains.d.ts} +29 -50
- package/{lib/interfaces/Events.ts → interfaces/Events.d.ts} +11 -12
- package/{lib/interfaces/IFormData.ts → interfaces/IFormData.d.ts} +2 -4
- package/interfaces/IMailgunClient.d.ts +24 -0
- package/interfaces/IpPools.d.ts +19 -0
- package/interfaces/Ips.d.ts +10 -0
- package/{lib/interfaces/MultipleValidation.ts → interfaces/MultipleValidation.d.ts} +9 -16
- package/interfaces/Options.d.ts +8 -0
- package/{lib/interfaces/RequestOptions.ts → interfaces/RequestOptions.d.ts} +2 -4
- package/interfaces/StatsOptions.d.ts +22 -0
- package/interfaces/Supressions.d.ts +103 -0
- package/{lib/interfaces/Validate.ts → interfaces/Validate.d.ts} +0 -3
- package/{lib/interfaces/Webhooks.ts → interfaces/Webhooks.d.ts} +11 -17
- package/{lib/interfaces/lists.ts → interfaces/lists.d.ts} +1 -5
- package/{lib/interfaces/mailListMembers.ts → interfaces/mailListMembers.d.ts} +8 -23
- package/{lib/interfaces/routes.ts → interfaces/routes.d.ts} +1 -6
- package/ip-pools.d.ts +21 -0
- package/ips.d.ts +9 -0
- package/lists.d.ts +14 -0
- package/mailListMembers.d.ts +14 -0
- package/mailgun.node.js +3 -0
- package/{dist/mailgun.node.js.LICENSE.txt → mailgun.node.js.LICENSE.txt} +1 -1
- package/mailgun.web.js +3 -0
- package/{dist/mailgun.web.js.LICENSE.txt → mailgun.web.js.LICENSE.txt} +1 -1
- package/messages.d.ts +9 -0
- package/multipleValidation.d.ts +10 -0
- package/package.json +8 -81
- package/request.d.ts +31 -0
- package/routes.d.ts +11 -0
- package/stats.d.ts +20 -0
- package/suppressions.d.ts +50 -0
- package/validate.d.ts +9 -0
- package/version.md +1 -0
- package/webhooks.d.ts +32 -0
- package/.editorconfig +0 -10
- package/.eslintrc +0 -56
- package/.husky/commit-msg +0 -4
- package/.travis.yml +0 -5
- package/LICENSE +0 -191
- package/commitlint.config.js +0 -7
- package/dist/mailgun.js.d.ts +0 -1586
- package/dist/mailgun.node.js +0 -3
- package/dist/mailgun.web.js +0 -3
- package/docs/.nojekyll +0 -1
- package/docs/assets/highlight.css +0 -127
- package/docs/assets/icons.css +0 -1043
- package/docs/assets/icons.png +0 -0
- package/docs/assets/icons@2x.png +0 -0
- package/docs/assets/main.js +0 -52
- package/docs/assets/search.js +0 -1
- package/docs/assets/style.css +0 -1413
- package/docs/assets/widgets.png +0 -0
- package/docs/assets/widgets@2x.png +0 -0
- package/docs/classes/client.default.html +0 -1
- package/docs/classes/domains.Domain.html +0 -1
- package/docs/classes/domains.default.html +0 -1
- package/docs/classes/domainsCredentials.default.html +0 -1
- package/docs/classes/domainsTemplates.DomainTemplateItem.html +0 -1
- package/docs/classes/domainsTemplates.default.html +0 -1
- package/docs/classes/error.default.html +0 -6
- package/docs/classes/events.default.html +0 -1
- package/docs/classes/ip_pools.default.html +0 -1
- package/docs/classes/ips.default.html +0 -1
- package/docs/classes/lists.default.html +0 -1
- package/docs/classes/mailListMembers.default.html +0 -1
- package/docs/classes/messages.default.html +0 -1
- package/docs/classes/multipleValidation.default.html +0 -1
- package/docs/classes/request.default.html +0 -1
- package/docs/classes/routes.default.html +0 -1
- package/docs/classes/stats.default.html +0 -1
- package/docs/classes/suppressions.default.html +0 -1
- package/docs/classes/validate.default.html +0 -1
- package/docs/classes/webhooks.default.html +0 -1
- package/docs/enums/interfaces_DomainTemplates.Pages.html +0 -1
- package/docs/enums/interfaces_DomainTemplates.YesNo.html +0 -1
- package/docs/index.html +0 -1140
- package/docs/interfaces/interfaces_APIErrorOptions.default.html +0 -1
- package/docs/interfaces/interfaces_ApiResponse.default.html +0 -1
- package/docs/interfaces/interfaces_DomainCredentials.CreatedUpdatedDomainCredentialsResponse.html +0 -1
- package/docs/interfaces/interfaces_DomainCredentials.DeletedDomainCredentialsResponse.html +0 -1
- package/docs/interfaces/interfaces_DomainCredentials.DomainCredentials.html +0 -1
- package/docs/interfaces/interfaces_DomainCredentials.DomainCredentialsItem.html +0 -1
- package/docs/interfaces/interfaces_DomainCredentials.DomainCredentialsList.html +0 -1
- package/docs/interfaces/interfaces_DomainCredentials.DomainCredentialsQuery.html +0 -1
- package/docs/interfaces/interfaces_DomainCredentials.DomainCredentialsResponseData.html +0 -1
- package/docs/interfaces/interfaces_DomainCredentials.DomainCredentialsResult.html +0 -1
- package/docs/interfaces/interfaces_DomainCredentials.IDomainCredentials.html +0 -1
- package/docs/interfaces/interfaces_DomainCredentials.UpdateDomainCredentialsData.html +0 -1
- package/docs/interfaces/interfaces_DomainTemplates.CreateDomainTemplateAPIResponse.html +0 -1
- package/docs/interfaces/interfaces_DomainTemplates.CreateDomainTemplateVersionAPIResponse.html +0 -1
- package/docs/interfaces/interfaces_DomainTemplates.CreateDomainTemplateVersionResult.html +0 -1
- package/docs/interfaces/interfaces_DomainTemplates.DomainTemplate.html +0 -1
- package/docs/interfaces/interfaces_DomainTemplates.DomainTemplateData.html +0 -1
- package/docs/interfaces/interfaces_DomainTemplates.DomainTemplateUpdateData.html +0 -1
- package/docs/interfaces/interfaces_DomainTemplates.DomainTemplateUpdateVersionData.html +0 -1
- package/docs/interfaces/interfaces_DomainTemplates.DomainTemplateVersionData.html +0 -1
- package/docs/interfaces/interfaces_DomainTemplates.DomainTemplatesQuery.html +0 -1
- package/docs/interfaces/interfaces_DomainTemplates.GetDomainTemplateAPIResponse.html +0 -1
- package/docs/interfaces/interfaces_DomainTemplates.IDomainTemplatesClient.html +0 -1
- package/docs/interfaces/interfaces_DomainTemplates.ListDomainTemplateVersionsAPIResponse.html +0 -1
- package/docs/interfaces/interfaces_DomainTemplates.ListDomainTemplateVersionsResult.html +0 -1
- package/docs/interfaces/interfaces_DomainTemplates.ListDomainTemplatesAPIResponse.html +0 -1
- package/docs/interfaces/interfaces_DomainTemplates.ListDomainTemplatesResult.html +0 -1
- package/docs/interfaces/interfaces_DomainTemplates.MutateDomainTemplateVersionAPIResponse.html +0 -1
- package/docs/interfaces/interfaces_DomainTemplates.MutateDomainTemplateVersionResult.html +0 -1
- package/docs/interfaces/interfaces_DomainTemplates.NotificationAPIResponse.html +0 -1
- package/docs/interfaces/interfaces_DomainTemplates.NotificationResult.html +0 -1
- package/docs/interfaces/interfaces_DomainTemplates.ShortTemplateVersion.html +0 -1
- package/docs/interfaces/interfaces_DomainTemplates.TemplateQuery.html +0 -1
- package/docs/interfaces/interfaces_DomainTemplates.TemplateVersion.html +0 -1
- package/docs/interfaces/interfaces_DomainTemplates.UpdateOrDeleteDomainTemplateAPIResponse.html +0 -1
- package/docs/interfaces/interfaces_DomainTemplates.UpdateOrDeleteDomainTemplateResult.html +0 -1
- package/docs/interfaces/interfaces_DomainTracking.ClickTrackingInfo.html +0 -1
- package/docs/interfaces/interfaces_DomainTracking.DomainTrackingData.html +0 -1
- package/docs/interfaces/interfaces_DomainTracking.DomainTrackingResponse.html +0 -1
- package/docs/interfaces/interfaces_DomainTracking.OpenTrackingInfo.html +0 -1
- package/docs/interfaces/interfaces_DomainTracking.UnsubscribeTrackingInfo.html +0 -1
- package/docs/interfaces/interfaces_DomainTracking.UpdateDomainTrackingResponse.html +0 -1
- package/docs/interfaces/interfaces_DomainTracking.UpdatedOpenTracking.html +0 -1
- package/docs/interfaces/interfaces_Domains.ConnectionSettings.html +0 -1
- package/docs/interfaces/interfaces_Domains.ConnectionSettingsResponse.html +0 -1
- package/docs/interfaces/interfaces_Domains.DKIMAuthorityInfo.html +0 -1
- package/docs/interfaces/interfaces_Domains.DKIMSelectorInfo.html +0 -1
- package/docs/interfaces/interfaces_Domains.DNSRecord.html +0 -1
- package/docs/interfaces/interfaces_Domains.DestroyedDomainResponse.html +0 -1
- package/docs/interfaces/interfaces_Domains.DomainData.html +0 -1
- package/docs/interfaces/interfaces_Domains.DomainInfo.html +0 -1
- package/docs/interfaces/interfaces_Domains.DomainListResponseData.html +0 -1
- package/docs/interfaces/interfaces_Domains.DomainResponseData.html +0 -1
- package/docs/interfaces/interfaces_Domains.DomainShortData.html +0 -1
- package/docs/interfaces/interfaces_Domains.DomainsListItem.html +0 -1
- package/docs/interfaces/interfaces_Domains.DomainsQuery.html +0 -1
- package/docs/interfaces/interfaces_Domains.MessageResponse.html +0 -1
- package/docs/interfaces/interfaces_Domains.ReplacementForPool.html +0 -1
- package/docs/interfaces/interfaces_Domains.UpdatedConnectionSettings.html +0 -1
- package/docs/interfaces/interfaces_Domains.UpdatedConnectionSettingsRes.html +0 -1
- package/docs/interfaces/interfaces_Domains.UpdatedDKIMAuthority.html +0 -1
- package/docs/interfaces/interfaces_Domains.UpdatedDKIMAuthorityResponse.html +0 -1
- package/docs/interfaces/interfaces_Domains.UpdatedDKIMSelectorResponse.html +0 -1
- package/docs/interfaces/interfaces_Domains.UpdatedWebPrefix.html +0 -1
- package/docs/interfaces/interfaces_Domains.UpdatedWebPrefixResponse.html +0 -1
- package/docs/interfaces/interfaces_Domains.WebPrefixInfo.html +0 -1
- package/docs/interfaces/interfaces_Events.DomainEvent.html +0 -1
- package/docs/interfaces/interfaces_Events.EventsList.html +0 -1
- package/docs/interfaces/interfaces_Events.EventsPage.html +0 -1
- package/docs/interfaces/interfaces_Events.EventsResponse.html +0 -1
- package/docs/interfaces/interfaces_Events.PagesList.html +0 -1
- package/docs/interfaces/interfaces_Events.PagesListAccumulator.html +0 -1
- package/docs/interfaces/interfaces_Events.ParsedPage.html +0 -1
- package/docs/interfaces/interfaces_Events.ParsedPagesList.html +0 -1
- package/docs/interfaces/interfaces_IFormData.IFormDataOptions.html +0 -1
- package/docs/interfaces/interfaces_IFormData.InputFormData.html +0 -1
- package/docs/interfaces/interfaces_IpPools.IpPool.html +0 -1
- package/docs/interfaces/interfaces_IpPools.IpPoolListResponse.html +0 -1
- package/docs/interfaces/interfaces_IpPools.IpPoolUpdateData.html +0 -1
- package/docs/interfaces/interfaces_Ips.IpData.html +0 -1
- package/docs/interfaces/interfaces_Ips.IpsListResponseBody.html +0 -1
- package/docs/interfaces/interfaces_MultipleValidation.CanceledMultipleValidationJob.html +0 -1
- package/docs/interfaces/interfaces_MultipleValidation.CreatedMultipleValidationJob.html +0 -1
- package/docs/interfaces/interfaces_MultipleValidation.IMultipleValidationClient.html +0 -1
- package/docs/interfaces/interfaces_MultipleValidation.MultipleValidationJob.html +0 -1
- package/docs/interfaces/interfaces_MultipleValidation.MultipleValidationJobsListResponse.html +0 -1
- package/docs/interfaces/interfaces_MultipleValidation.MultipleValidationJobsListResult.html +0 -1
- package/docs/interfaces/interfaces_MultipleValidation.PagesList.html +0 -1
- package/docs/interfaces/interfaces_Options.default.html +0 -1
- package/docs/interfaces/interfaces_RequestOptions.default.html +0 -1
- package/docs/interfaces/interfaces_StatsOptions.Stat.html +0 -1
- package/docs/interfaces/interfaces_StatsOptions.StatsOptions.html +0 -1
- package/docs/interfaces/interfaces_StatsOptions.StatsQuery.html +0 -1
- package/docs/interfaces/interfaces_Supressions.BounceData.html +0 -1
- package/docs/interfaces/interfaces_Supressions.ComplaintData.html +0 -1
- package/docs/interfaces/interfaces_Supressions.UnsubscribeData.html +0 -1
- package/docs/interfaces/interfaces_Supressions.WhiteListData.html +0 -1
- package/docs/interfaces/interfaces_Validate.ValidationResponse.html +0 -1
- package/docs/interfaces/interfaces_Validate.ValidationResult.html +0 -1
- package/docs/interfaces/interfaces_Webhooks.APIWebhook.html +0 -1
- package/docs/interfaces/interfaces_Webhooks.ValidationResponse.html +0 -1
- package/docs/interfaces/interfaces_Webhooks.WebhookList.html +0 -1
- package/docs/interfaces/interfaces_Webhooks.WebhookResponse.html +0 -1
- package/docs/interfaces/interfaces_Webhooks.WebhookResponseBody.html +0 -1
- package/docs/interfaces/interfaces_Webhooks.WebhooksQuery.html +0 -1
- package/docs/interfaces/interfaces_lists.CreateUpdateList.html +0 -1
- package/docs/interfaces/interfaces_lists.DestroyedList.html +0 -1
- package/docs/interfaces/interfaces_lists.ListsQuery.html +0 -1
- package/docs/interfaces/interfaces_lists.MailingList.html +0 -1
- package/docs/interfaces/interfaces_mailListMembers.CreateUpdateMailListMembers.html +0 -1
- package/docs/interfaces/interfaces_mailListMembers.CreateUpdateMailListMembersReq.html +0 -1
- package/docs/interfaces/interfaces_mailListMembers.DeletedMember.html +0 -1
- package/docs/interfaces/interfaces_mailListMembers.IMailListsMembers.html +0 -1
- package/docs/interfaces/interfaces_mailListMembers.MailListMember.html +0 -1
- package/docs/interfaces/interfaces_mailListMembers.MailListMembersQuery.html +0 -1
- package/docs/interfaces/interfaces_mailListMembers.MultipleMembersData.html +0 -1
- package/docs/interfaces/interfaces_mailListMembers.MultipleMembersReqData.html +0 -1
- package/docs/interfaces/interfaces_mailListMembers.NewMultipleMembersResponse.html +0 -1
- package/docs/interfaces/interfaces_routes.CreateUpdateRouteData.html +0 -1
- package/docs/interfaces/interfaces_routes.DestroyRouteResponse.html +0 -1
- package/docs/interfaces/interfaces_routes.Route.html +0 -1
- package/docs/interfaces/interfaces_routes.RoutesListQuery.html +0 -1
- package/docs/interfaces/interfaces_routes.UpdateRouteResponse.html +0 -1
- package/docs/modules/client.html +0 -1
- package/docs/modules/domains.html +0 -1
- package/docs/modules/domainsCredentials.html +0 -1
- package/docs/modules/domainsTemplates.html +0 -1
- package/docs/modules/error.html +0 -1
- package/docs/modules/events.html +0 -1
- package/docs/modules/interfaces_APIErrorOptions.html +0 -1
- package/docs/modules/interfaces_ApiResponse.html +0 -1
- package/docs/modules/interfaces_DomainCredentials.html +0 -1
- package/docs/modules/interfaces_DomainTemplates.html +0 -1
- package/docs/modules/interfaces_DomainTracking.html +0 -1
- package/docs/modules/interfaces_Domains.html +0 -1
- package/docs/modules/interfaces_Events.html +0 -1
- package/docs/modules/interfaces_IFormData.html +0 -1
- package/docs/modules/interfaces_IpPools.html +0 -1
- package/docs/modules/interfaces_Ips.html +0 -1
- package/docs/modules/interfaces_MultipleValidation.html +0 -1
- package/docs/modules/interfaces_Options.html +0 -1
- package/docs/modules/interfaces_RequestOptions.html +0 -1
- package/docs/modules/interfaces_StatsOptions.html +0 -1
- package/docs/modules/interfaces_Supressions.html +0 -1
- package/docs/modules/interfaces_Validate.html +0 -1
- package/docs/modules/interfaces_Webhooks.html +0 -1
- package/docs/modules/interfaces_lists.html +0 -1
- package/docs/modules/interfaces_mailListMembers.html +0 -1
- package/docs/modules/interfaces_routes.html +0 -1
- package/docs/modules/ip_pools.html +0 -1
- package/docs/modules/ips.html +0 -1
- package/docs/modules/lists.html +0 -1
- package/docs/modules/mailListMembers.html +0 -1
- package/docs/modules/messages.html +0 -1
- package/docs/modules/multipleValidation.html +0 -1
- package/docs/modules/request.html +0 -1
- package/docs/modules/routes.html +0 -1
- package/docs/modules/stats.html +0 -1
- package/docs/modules/suppressions.html +0 -1
- package/docs/modules/validate.html +0 -1
- package/docs/modules/webhooks.html +0 -1
- package/docs/modules.html +0 -1
- package/dts-bundle.js +0 -8
- package/examples/addresses.js +0 -20
- package/examples/index.html +0 -285
- package/examples/list-domains.js +0 -8
- package/examples/mailgun.png +0 -0
- package/examples/rackspace.png +0 -0
- package/examples/send-email.js +0 -24
- package/lib/client.ts +0 -79
- package/lib/domains.ts +0 -224
- package/lib/domainsCredentials.ts +0 -88
- package/lib/domainsTags.ts +0 -165
- package/lib/domainsTemplates.ts +0 -235
- package/lib/error.ts +0 -22
- package/lib/events.ts +0 -54
- package/lib/index.ts +0 -16
- package/lib/interfaces/APIErrorOptions.ts +0 -10
- package/lib/interfaces/IpPools.ts +0 -22
- package/lib/interfaces/Ips.ts +0 -12
- package/lib/interfaces/Options.ts +0 -10
- package/lib/interfaces/StatsOptions.ts +0 -25
- package/lib/interfaces/Supressions.ts +0 -123
- package/lib/ip-pools.ts +0 -36
- package/lib/ips.ts +0 -24
- package/lib/lists.ts +0 -45
- package/lib/mailListMembers.ts +0 -83
- package/lib/messages.ts +0 -27
- package/lib/multipleValidation.ts +0 -37
- package/lib/request.ts +0 -271
- package/lib/routes.ts +0 -37
- package/lib/stats.ts +0 -62
- package/lib/suppressions.ts +0 -253
- package/lib/validate.ts +0 -20
- package/lib/webhooks.ts +0 -83
- package/test/client.test.ts +0 -96
- package/test/data/emailsValidation1.csv +0 -3
- package/test/domains.test.ts +0 -313
- package/test/domainsCredentials.test.ts +0 -97
- package/test/domainsTags.test.ts +0 -345
- package/test/domainsTemplates.test.ts +0 -392
- package/test/error.test.ts +0 -32
- package/test/events.test.ts +0 -104
- package/test/img/mailgun.png +0 -0
- package/test/ips.test.ts +0 -57
- package/test/lists.test.ts +0 -100
- package/test/mailListMembers.test.ts +0 -198
- package/test/messageAttachment.test.ts +0 -50
- package/test/messages.test.ts +0 -89
- package/test/multipleValidation.test.ts +0 -159
- package/test/request.test.ts +0 -103
- package/test/routes.test.ts +0 -136
- package/test/stats.test.ts +0 -90
- package/test/suppressions.test.ts +0 -303
- package/test/validate.test.ts +0 -43
- package/test/webhooks.test.ts +0 -112
- package/tsconfig.json +0 -22
- package/tsconfig.webpack.json +0 -10
- package/webpack/webpack.common.config.js +0 -46
- package/webpack/webpack.dev.config.js +0 -36
- package/webpack/webpack.release.config.js +0 -45
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--light-hl-0: #000000;
|
|
3
|
-
--dark-hl-0: #D4D4D4;
|
|
4
|
-
--light-hl-1: #0000FF;
|
|
5
|
-
--dark-hl-1: #569CD6;
|
|
6
|
-
--light-hl-2: #0070C1;
|
|
7
|
-
--dark-hl-2: #4FC1FF;
|
|
8
|
-
--light-hl-3: #795E26;
|
|
9
|
-
--dark-hl-3: #DCDCAA;
|
|
10
|
-
--light-hl-4: #A31515;
|
|
11
|
-
--dark-hl-4: #CE9178;
|
|
12
|
-
--light-hl-5: #001080;
|
|
13
|
-
--dark-hl-5: #9CDCFE;
|
|
14
|
-
--light-hl-6: #008000;
|
|
15
|
-
--dark-hl-6: #6A9955;
|
|
16
|
-
--light-hl-7: #AF00DB;
|
|
17
|
-
--dark-hl-7: #C586C0;
|
|
18
|
-
--light-hl-8: #267F99;
|
|
19
|
-
--dark-hl-8: #4EC9B0;
|
|
20
|
-
--light-hl-9: #098658;
|
|
21
|
-
--dark-hl-9: #B5CEA8;
|
|
22
|
-
--light-hl-10: #800000;
|
|
23
|
-
--dark-hl-10: #808080;
|
|
24
|
-
--light-hl-11: #800000;
|
|
25
|
-
--dark-hl-11: #569CD6;
|
|
26
|
-
--light-hl-12: #FF0000;
|
|
27
|
-
--dark-hl-12: #9CDCFE;
|
|
28
|
-
--light-hl-13: #000000;
|
|
29
|
-
--dark-hl-13: #C8C8C8;
|
|
30
|
-
--light-hl-14: #EE0000;
|
|
31
|
-
--dark-hl-14: #D7BA7D;
|
|
32
|
-
--light-code-background: #F5F5F5;
|
|
33
|
-
--dark-code-background: #1E1E1E;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
@media (prefers-color-scheme: light) { :root {
|
|
37
|
-
--hl-0: var(--light-hl-0);
|
|
38
|
-
--hl-1: var(--light-hl-1);
|
|
39
|
-
--hl-2: var(--light-hl-2);
|
|
40
|
-
--hl-3: var(--light-hl-3);
|
|
41
|
-
--hl-4: var(--light-hl-4);
|
|
42
|
-
--hl-5: var(--light-hl-5);
|
|
43
|
-
--hl-6: var(--light-hl-6);
|
|
44
|
-
--hl-7: var(--light-hl-7);
|
|
45
|
-
--hl-8: var(--light-hl-8);
|
|
46
|
-
--hl-9: var(--light-hl-9);
|
|
47
|
-
--hl-10: var(--light-hl-10);
|
|
48
|
-
--hl-11: var(--light-hl-11);
|
|
49
|
-
--hl-12: var(--light-hl-12);
|
|
50
|
-
--hl-13: var(--light-hl-13);
|
|
51
|
-
--hl-14: var(--light-hl-14);
|
|
52
|
-
--code-background: var(--light-code-background);
|
|
53
|
-
} }
|
|
54
|
-
|
|
55
|
-
@media (prefers-color-scheme: dark) { :root {
|
|
56
|
-
--hl-0: var(--dark-hl-0);
|
|
57
|
-
--hl-1: var(--dark-hl-1);
|
|
58
|
-
--hl-2: var(--dark-hl-2);
|
|
59
|
-
--hl-3: var(--dark-hl-3);
|
|
60
|
-
--hl-4: var(--dark-hl-4);
|
|
61
|
-
--hl-5: var(--dark-hl-5);
|
|
62
|
-
--hl-6: var(--dark-hl-6);
|
|
63
|
-
--hl-7: var(--dark-hl-7);
|
|
64
|
-
--hl-8: var(--dark-hl-8);
|
|
65
|
-
--hl-9: var(--dark-hl-9);
|
|
66
|
-
--hl-10: var(--dark-hl-10);
|
|
67
|
-
--hl-11: var(--dark-hl-11);
|
|
68
|
-
--hl-12: var(--dark-hl-12);
|
|
69
|
-
--hl-13: var(--dark-hl-13);
|
|
70
|
-
--hl-14: var(--dark-hl-14);
|
|
71
|
-
--code-background: var(--dark-code-background);
|
|
72
|
-
} }
|
|
73
|
-
|
|
74
|
-
body.light {
|
|
75
|
-
--hl-0: var(--light-hl-0);
|
|
76
|
-
--hl-1: var(--light-hl-1);
|
|
77
|
-
--hl-2: var(--light-hl-2);
|
|
78
|
-
--hl-3: var(--light-hl-3);
|
|
79
|
-
--hl-4: var(--light-hl-4);
|
|
80
|
-
--hl-5: var(--light-hl-5);
|
|
81
|
-
--hl-6: var(--light-hl-6);
|
|
82
|
-
--hl-7: var(--light-hl-7);
|
|
83
|
-
--hl-8: var(--light-hl-8);
|
|
84
|
-
--hl-9: var(--light-hl-9);
|
|
85
|
-
--hl-10: var(--light-hl-10);
|
|
86
|
-
--hl-11: var(--light-hl-11);
|
|
87
|
-
--hl-12: var(--light-hl-12);
|
|
88
|
-
--hl-13: var(--light-hl-13);
|
|
89
|
-
--hl-14: var(--light-hl-14);
|
|
90
|
-
--code-background: var(--light-code-background);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
body.dark {
|
|
94
|
-
--hl-0: var(--dark-hl-0);
|
|
95
|
-
--hl-1: var(--dark-hl-1);
|
|
96
|
-
--hl-2: var(--dark-hl-2);
|
|
97
|
-
--hl-3: var(--dark-hl-3);
|
|
98
|
-
--hl-4: var(--dark-hl-4);
|
|
99
|
-
--hl-5: var(--dark-hl-5);
|
|
100
|
-
--hl-6: var(--dark-hl-6);
|
|
101
|
-
--hl-7: var(--dark-hl-7);
|
|
102
|
-
--hl-8: var(--dark-hl-8);
|
|
103
|
-
--hl-9: var(--dark-hl-9);
|
|
104
|
-
--hl-10: var(--dark-hl-10);
|
|
105
|
-
--hl-11: var(--dark-hl-11);
|
|
106
|
-
--hl-12: var(--dark-hl-12);
|
|
107
|
-
--hl-13: var(--dark-hl-13);
|
|
108
|
-
--hl-14: var(--dark-hl-14);
|
|
109
|
-
--code-background: var(--dark-code-background);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.hl-0 { color: var(--hl-0); }
|
|
113
|
-
.hl-1 { color: var(--hl-1); }
|
|
114
|
-
.hl-2 { color: var(--hl-2); }
|
|
115
|
-
.hl-3 { color: var(--hl-3); }
|
|
116
|
-
.hl-4 { color: var(--hl-4); }
|
|
117
|
-
.hl-5 { color: var(--hl-5); }
|
|
118
|
-
.hl-6 { color: var(--hl-6); }
|
|
119
|
-
.hl-7 { color: var(--hl-7); }
|
|
120
|
-
.hl-8 { color: var(--hl-8); }
|
|
121
|
-
.hl-9 { color: var(--hl-9); }
|
|
122
|
-
.hl-10 { color: var(--hl-10); }
|
|
123
|
-
.hl-11 { color: var(--hl-11); }
|
|
124
|
-
.hl-12 { color: var(--hl-12); }
|
|
125
|
-
.hl-13 { color: var(--hl-13); }
|
|
126
|
-
.hl-14 { color: var(--hl-14); }
|
|
127
|
-
pre, code { background: var(--code-background); }
|