Skip to content

Commit

Permalink
Use accessible indentation (#2253)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Neal authored Dec 22, 2021
1 parent 305ce41 commit 6ddd767
Show file tree
Hide file tree
Showing 440 changed files with 22,124 additions and 21,742 deletions.
11 changes: 7 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = false
end_of_line = lf
indent_size = 2
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = false

[{.*,*.md,*.json,*.toml,*.yml,}]
indent_style = space
11 changes: 10 additions & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,14 @@
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5"
"trailingComma": "es5",
"useTabs": true,
"overrides": [
{
"files": [".*", "*.json", "*.md", "*.toml", "*.yml"],
"options": {
"useTabs": false
}
}
]
}
18 changes: 9 additions & 9 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// @ts-check
export default /** @type {import('astro').AstroUserConfig} */ ({
buildOptions: {
site: 'https://docs.astro.build/',
},
renderers: [
// Our main renderer for frontend components
'@astrojs/renderer-preact',
// Needed for Algolia search component
'@astrojs/renderer-react',
],
buildOptions: {
site: 'https://docs.astro.build/',
},
renderers: [
// Our main renderer for frontend components
'@astrojs/renderer-preact',
// Needed for Algolia search component
'@astrojs/renderer-react',
],
});
34 changes: 17 additions & 17 deletions docs/public/code.css
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
.language-css > code,
.language-sass > code,
.language-scss > code {
color: #fd9170;
color: #fd9170;
}

.language-diff .token.prefix.deleted,
.language-diff .token.prefix.inserted {
user-select: none;
user-select: none;
}

[class*='language-'] .namespace {
opacity: 0.7;
opacity: 0.7;
}

.token.plain-text,
[class*='language-bash'] span.token,
[class*='language-shell'] span.token {
color: hsla(var(--color-gray-90), 1);
color: hsla(var(--color-gray-90), 1);
}

[class*='language-bash'] span.token,
[class*='language-shell'] span.token {
font-style: bold;
font-style: bold;
}

.token.prolog,
.token.comment,
[class*='language-bash'] span.token.comment,
[class*='language-shell'] span.token.comment {
color: hsla(var(--color-gray-70), 1);
color: hsla(var(--color-gray-70), 1);
}

.token.selector,
Expand All @@ -38,7 +38,7 @@
.token.variable,
.token.entity,
.token.deleted {
color: #fa5e5b;
color: #fa5e5b;
}

.token.boolean,
Expand All @@ -51,7 +51,7 @@
.token.hexcode,
.token.class-name,
.token.attr-name {
color: hsla(var(--color-yellow), 1);
color: hsla(var(--color-yellow), 1);
}

.token.atrule,
Expand All @@ -61,41 +61,41 @@
.token.pseudo-class,
.token.pseudo-element,
.token.string {
color: hsla(var(--color-green), 1);
color: hsla(var(--color-green), 1);
}

.token.symbol,
.token.function,
.token.id,
.token.important {
color: hsla(var(--color-blue), 1);
color: hsla(var(--color-blue), 1);
}

.token.important,
.token.id {
font-weight: bold;
font-weight: bold;
}

.token.cdata,
.token.char,
.token.property {
color: #23b1af;
color: #23b1af;
}

.token.inserted {
color: hsla(var(--color-green), 1);
color: hsla(var(--color-green), 1);
}

.token.keyword {
color: #ff657c;
font-style: italic;
color: #ff657c;
font-style: italic;
}

.token.operator {
color: hsla(var(--color-gray-70), 1);
color: hsla(var(--color-gray-70), 1);
}

.token.attr-value .token.attr-equals,
.token.punctuation {
color: hsla(var(--color-gray-80), 1);
color: hsla(var(--color-gray-80), 1);
}
Loading

0 comments on commit 6ddd767

Please sign in to comment.