-`;
+
+ let aside = `
\n';
}
diff --git a/src/_11ty/shortcodes.js b/src/_11ty/shortcodes.js
index 65146c0d60..f80f5b5f32 100644
--- a/src/_11ty/shortcodes.js
+++ b/src/_11ty/shortcodes.js
@@ -10,7 +10,7 @@ function _setupMedia(eleventyConfig) {
let embedMarkup = `
`;
+ allowfullscreen loading="lazy">`;
if (!skipAlternativeLink) {
embedMarkup += `
${title}
`;
diff --git a/src/_11ty/syntax/dash-dark.js b/src/_11ty/syntax/dash-dark.js
new file mode 100644
index 0000000000..4e932b9aa4
--- /dev/null
+++ b/src/_11ty/syntax/dash-dark.js
@@ -0,0 +1,140 @@
+// This is the dark mode version of the
+// syntax highlighting theme for code blocks on the website.
+// It's imported and used by `src/_11ty/plugins/highlight.js`.
+export default {
+ name: 'dash-dark',
+ colors: {
+ 'editor.background': '#1D2026',
+ 'editor.foreground': '#C2C6D6',
+ },
+ tokenColors: [
+ {
+ settings: {
+ background: '#1D2026',
+ foreground: '#C2C6D6',
+ },
+ },
+ {
+ scope: 'emphasis',
+ settings: {
+ fontStyle: 'italic',
+ },
+ },
+ {
+ scope: 'strong',
+ settings: {
+ fontStyle: 'bold',
+ },
+ },
+ {
+ scope: [
+ 'punctuation',
+ 'punctuation.separator.inheritance-clause',
+ 'storage.modifier.package.java',
+ ],
+ settings: {
+ foreground: '#C2C6D6',
+ },
+ },
+ {
+ scope: ['comment', 'punctuation.definition.comment'],
+ settings: {
+ foreground: '#8b95a7',
+ },
+ },
+ {
+ scope: 'constant',
+ settings: {
+ foreground: '#1CDAC5',
+ },
+ },
+ {
+ scope: [
+ 'keyword',
+ 'storage.modifier',
+ 'storage.type',
+ 'variable.language',
+ ],
+ settings: {
+ foreground: '#E5C07B',
+ },
+ },
+ {
+ scope: [
+ 'keyword.operator',
+ 'string.interpolated.expression',
+ 'constant.character.escape',
+ ],
+ settings: {
+ foreground: '#E1E2EC',
+ },
+ },
+ {
+ scope: ['string', 'string.interpolated', 'punctuation.definition.string'],
+ settings: {
+ foreground: '#1CDAC5',
+ },
+ },
+ {
+ scope: [
+ 'entity.name.function',
+ 'support.function',
+ 'entity.other.attribute-name',
+ ],
+ settings: {
+ foreground: '#C678DD',
+ },
+ },
+ {
+ scope: [
+ 'entity.name.class',
+ 'entity.name.type',
+ 'entity.name.type.class',
+ 'entity.name.type.enum',
+ 'entity.name.type.protocol',
+ 'support.class',
+ 'support.type',
+ 'entity.name.tag',
+ ],
+ settings: {
+ foreground: '#61AFEF',
+ },
+ },
+ {
+ scope: ['variable', 'variable.other'],
+ settings: {
+ foreground: '#E1E2EC',
+ },
+ },
+ {
+ scope: 'markup.underline',
+ settings: {
+ fontStyle: 'underline',
+ },
+ },
+ {
+ scope: 'markup.bold',
+ settings: {
+ fontStyle: 'bold',
+ },
+ },
+ {
+ scope: 'markup.heading',
+ settings: {
+ fontStyle: 'bold',
+ },
+ },
+ {
+ scope: 'markup.italic',
+ settings: {
+ fontStyle: 'italic',
+ },
+ },
+ {
+ scope: 'markup.strikethrough',
+ settings: {
+ fontStyle: 'strikethrough',
+ },
+ },
+ ],
+};
diff --git a/src/_11ty/syntax/dash-light.js b/src/_11ty/syntax/dash-light.js
index 4508c5761c..36830228f5 100644
--- a/src/_11ty/syntax/dash-light.js
+++ b/src/_11ty/syntax/dash-light.js
@@ -4,14 +4,14 @@
export default {
name: 'dash-light',
colors: {
- 'editor.background': '#F8F9FA',
- 'editor.foreground': '#222222',
+ 'editor.background': '#ECEDF7',
+ 'editor.foreground': '#191C22',
},
tokenColors: [
{
settings: {
- background: '#F8F9FA',
- foreground: '#222222',
+ background: '#ECEDF7',
+ foreground: '#191C22',
},
},
{
@@ -33,19 +33,19 @@ export default {
'storage.modifier.package.java',
],
settings: {
- foreground: '#222222',
+ foreground: '#191C22',
},
},
{
scope: ['comment', 'punctuation.definition.comment'],
settings: {
- foreground: '#6E6E70',
+ foreground: '#59616E',
},
},
{
scope: 'constant',
settings: {
- foreground: '#0c7064',
+ foreground: '#0C7064',
},
},
{
@@ -56,7 +56,7 @@ export default {
'variable.language',
],
settings: {
- foreground: '#bd2314',
+ foreground: '#BD2314',
},
},
{
@@ -66,13 +66,13 @@ export default {
'constant.character.escape',
],
settings: {
- foreground: '#222222',
+ foreground: '#191C22',
},
},
{
scope: ['string', 'string.interpolated', 'punctuation.definition.string'],
settings: {
- foreground: '#0c7064',
+ foreground: '#0C7064',
},
},
{
@@ -103,7 +103,7 @@ export default {
{
scope: ['variable', 'variable.other'],
settings: {
- foreground: '#222222',
+ foreground: '#191C22',
},
},
{
diff --git a/src/_includes/banner.html b/src/_includes/banner.html
index 6f697d4069..a62ac1a614 100644
--- a/src/_includes/banner.html
+++ b/src/_includes/banner.html
@@ -1,8 +1,6 @@
{% comment %}
For headings use h3 elements.
{% endcomment -%}
-
+
Flutter 3.24 and Dart 3.5 are here!
+Check out
what's new on the website.
diff --git a/src/_includes/breadcrumbs.html b/src/_includes/breadcrumbs.html
index 59401753ba..9fb4b859df 100644
--- a/src/_includes/breadcrumbs.html
+++ b/src/_includes/breadcrumbs.html
@@ -12,19 +12,17 @@
{% assign breadcrumbs = page | breadcrumbsForPage -%}
{% if breadcrumbs -%}