Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessibility fixes #4795

Merged
merged 5 commits into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<head>
<meta charset="UTF-8">
<title>PWABuilder Suite Documentation</title>
<title>PWABuilder Suite Documentation - test</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Documentation for building great progressive web apps with the PWABuilder tooling suite.">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
Expand All @@ -15,8 +15,8 @@
<link rel="icon" href="/assets/icons/icon_24.png" type="image/png" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsify-themeable@0/dist/css/theme-simple.css">

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.0.0-beta.75/dist/themes/light.css" />
<script type="module" src="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.0.0-beta.75/dist/shoelace.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.16.0/dist/themes/light.css" />
<script type="module" src="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.16.0/cdn/shoelace-autoloader.js"></script>

<link rel="stylesheet" href="styles/global.css"/>
<link rel="stylesheet" href="styles/vs-prism.css" />
Expand Down
23 changes: 22 additions & 1 deletion docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"devDependencies": {
"@types/node": "^20.4.2",
"cpx": "^1.5.0",
"docsify-cli": "^4.4.4"
"docsify-cli": "^4.4.4",
"typescript": "^5.5.4"
}
}
20 changes: 17 additions & 3 deletions docs/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,13 @@ sl-menu-item[checked]::part(base) {
border:#ada6b4 1px solid;
}

sl-menu::part(base) {
sl-menu {
width: 100%;
border-radius: 10px;
background: linear-gradient(to right, #f9f4ff, #e7f6fa);
}

sl-menu-item::part(base):hover {
sl-menu-item:hover::part(base), sl-menu-item:focus-within::part(base) {
background: #4F3FB6;
color: white;
border: 1px solid white;
Expand Down Expand Up @@ -160,4 +160,18 @@ sl-alert::part(base) {

sl-alert::part(icon) {
color: #491576;
}
}

/* Search Input */

.sidebar .search input[type=search]::placeholder {
color: rgba(0, 0, 0, 0.886);
}

.sidebar .search .clear-button svg {
background: #4d4d4d;
border-radius: 50%;
}

/* sl-menu-item */