Skip to content

Commit

Permalink
Update Visuals
Browse files Browse the repository at this point in the history
-Make Dark Mode Darker
-Add A Placeholder To The Search Bar In `Supported Devices`
-Match Search Bar Styling to Nav Search Bar in `Supported Devices`
-Make Danger Tip Have Better Contrast
-Make Nav Items Larger for better Accessibility
  • Loading branch information
death7654 committed Jul 10, 2024
1 parent 39c7653 commit 99b9098
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 20 deletions.
48 changes: 30 additions & 18 deletions src/.vuepress/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,40 +24,43 @@
--c-brand: #3D50F5;
--c-brand-light: #4e5ff8;
--c-tip: #45d48c;
--c-nav: #F6F7F9;
--c-header: #000;
--c-text: #353841;
--c-text: #1b1d21;
--c-tip-bg: rgb(69, 212, 140, 0.4);
--c-text-accent:#3D50F5;
--border: #EAECEF;
}


html.dark {
--c-brand: #B3C7FF; //changes accent color
--c-brand-light: #778bc2; //get started button hover
--c-brand: rgb(158, 158, 216); //changes accent color
--c-border: #25262c; //track color
--c-brand-light: #ccd5ee; //get started button hover
--c-tip: #30d56f; //tip bubble color
--c-bg: #17181C;//dark mode background
--c-nav:#23262F;
--c-header: #fff;
--c-text: #BCC0C8;
--c-text-accent: #67D6ED; //accent in nav
--c-text: #e2e2e2; //text for everything including nav
--c-tip-bg: rgb(48, 213, 111, 0.1);
--border: #25262C;
--c-danger-bg: #51010985;
}
.sidebar::-webkit-scrollbar {
width: 0%;
height: 0%;

::-webkit-scrollbar
{
width: 0;
height: 0;
}
.navbar{
background-color: var(--c-nav);
border: none;
.navbar-item
{
font-size: 1rem;
}

.sidebar{
background-color: var(--c-nav);
font-size: 14px;
border: none;
margin-top: 1px;
}

.header-anchor{
color: var(--c-header);
}

.header-anchor p{
color: var(--c-text);
}
Expand All @@ -84,3 +87,12 @@ html.dark {
div.theme-default-content:not(.custom), footer.page-meta:not(.custom), nav.page-nav:not(.custom) {
max-width: 1800px;
}

.deviceSearch
{
all: unset;
background-color: var(--c-bg);
border-radius: 10px;
border: var(--border) solid 1px;
padding-left: 10px;
}
4 changes: 2 additions & 2 deletions supported-devices/template.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ If your device isn't listed, it doesn't have support.
:::

::: tip
If you're on a smaller screen, scroll sideways to see whole table.
If you are on a smaller screen, scroll sideways to see whole table.
:::

<AddScript script-url="../../supported-devices.js"/>
<p>Search: <input type="text" class="deviceSearch"></p>
<p><input type="text" class="deviceSearch" placeholder="Enter Your Boardname"></p>

<div class="deviceTable">
${{TABLE}}
Expand Down

0 comments on commit 99b9098

Please sign in to comment.