Skip to content
Open
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
22 changes: 20 additions & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,22 @@
/* Colors */
--ns-color-primary: #809fff;
--ns-color-white: #ffffff;
--ns-color-pale: #e5e5e5;
--ns-color-light: #b5b5b5;
--ns-color-grey: #636363;

/* colors with light/dark variants */
--ns-color-bg: #ffffff;
--ns-color-black: #2f2f2f;
--ns-color-fg: #2f2f2f;
--ns-color-grey: #636363;
--ns-color-pale: #e5e5e5;

@media (prefers-color-scheme: dark) {
--ns-color-bg: #282733;
--ns-color-black: #605e7a;
--ns-color-fg: #ffffff;
--ns-color-grey: #838383;
--ns-color-pale: #4d4b63;
}

/* Bolditude */
--ns-font-weight-medium: 500;
Expand Down Expand Up @@ -113,6 +125,12 @@
*/
}

/* dark mode */
:root {
background-color: var(--ns-color-bg);
color-scheme: light dark;
}

/* Display font */
@font-face {
font-family: 'Infinity';
Expand Down
5 changes: 3 additions & 2 deletions src/assets/img/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/components/OEISbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
right: -8px;
width: 200%;
z-index: 3;
background: var(--ns-color-white);
background: var(--ns-color-bg);
cursor: pointer;

.mono {
Expand All @@ -206,7 +206,7 @@
}
}
a:hover {
color: var(--ns-color-black);
color: var(--ns-color-fg);
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/components/ParamEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
}
}
a:hover {
color: var(--ns-color-black);
color: var(--ns-color-fg);
}
}

Expand Down Expand Up @@ -257,7 +257,7 @@

.error-box {
border: 1px solid #ff2222;
background: var(--ns-color-white);
background: var(--ns-color-bg);
padding: 2px 8px;
}

Expand Down
6 changes: 3 additions & 3 deletions src/components/ParamField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@

select {
border: 1px solid var(--ns-color-black);
background-color: var(--ns-color-white);
background-color: var(--ns-color-bg);
display: block;
width: 100%;
padding: 8px;
Expand Down Expand Up @@ -433,8 +433,8 @@

.desc-tooltip-text {
width: 240px;
background-color: var(--ns-color-white);
color: var(--ns-color-black);
background-color: var(--ns-color-bg);
color: var(--ns-color-fg);
text-align: left;
border: 1px solid var(--ns-color-black);
padding: 8px;
Expand Down
6 changes: 3 additions & 3 deletions src/components/SpecimenBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@
user-select: none;

&:hover {
color: var(--ns-color-black);
color: var(--ns-color-fg);
}
}
}
Expand Down Expand Up @@ -315,8 +315,8 @@
visibility: hidden;
width: max-content;
max-width: 240px;
background-color: var(--ns-color-white);
color: var(--ns-color-black);
background-color: var(--ns-color-bg);
color: var(--ns-color-fg);
text-align: left;
border: 1px solid var(--ns-color-black);
padding: 8px;
Expand Down
8 changes: 4 additions & 4 deletions src/components/SpecimenCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
background-color: var(--ns-color-primary);
}
.fade-card {
background-color: var(--ns-color-white);
background-color: var(--ns-color-bg);
transition: background-color 2s linear;
}
.card-title-box {
Expand Down Expand Up @@ -121,7 +121,7 @@
}
}
a:hover {
color: var(--ns-color-black);
color: var(--ns-color-fg);
}
}
.card-text {
Expand All @@ -130,14 +130,14 @@
margin-left: 8px;
margin-right: 8px;
margin-bottom: 8px;
color: #6c757d;
color: var(--ns-color-grey);
}
.delete-button {
user-select: none;
margin-top: 1ex;
color: var(--ns-color-grey);
&:hover {
color: var(--ns-color-black);
color: var(--ns-color-fg);
}
}
</style>
2 changes: 1 addition & 1 deletion src/components/SpecimenTitle.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
}
}
a:hover {
color: var(--ns-color-black);
color: var(--ns-color-fg);
}
}
</style>
6 changes: 3 additions & 3 deletions src/components/SpecimensGallery.vue
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
cursor: pointer;
}
.unchosen:hover {
color: var(--ns-color-black);
color: var(--ns-color-fg);
}
#spec-wrap {
overflow: auto;
Expand Down Expand Up @@ -160,11 +160,11 @@
text-transform: capitalize;
}
td:last-child {
background-color: var(--ns-color-white);
background-color: var(--ns-color-bg);
text-align: center;
color: var(--ns-color-grey);
&:hover {
color: var(--ns-color-black);
color: var(--ns-color-fg);
}
}

Expand Down
6 changes: 3 additions & 3 deletions src/components/SwitcherModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ click on the trash button on its preview card.
max-width: 900px;
width: 100%;
height: 100%;
background-color: var(--ns-color-white);
background-color: var(--ns-color-bg);
display: flex;
flex-direction: column;
}
Expand All @@ -329,7 +329,7 @@ click on the trash button on its preview card.
#bar {
height: 48px;
padding: 16px;
background-color: var(--ns-color-white);
background-color: var(--ns-color-bg);
display: flex;
justify-content: end;
align-items: center;
Expand All @@ -340,7 +340,7 @@ click on the trash button on its preview card.
border: none;
cursor: pointer;
padding: 4px;
color: var(--ns-color-black);
color: var(--ns-color-fg);
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/Tab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@
.content {
position: absolute;
top: 16px;
background-color: var(--ns-color-white);
background-color: var(--ns-color-bg);
width: 100%;
height: calc(100% - 16px);
overflow-y: scroll;
Expand Down
10 changes: 5 additions & 5 deletions src/views/minor/NavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
}

.burger-menu {
color: var(--ns-color-black);
color: var(--ns-color-fg);
display: flex;
flex-direction: row;
justify-content: space-between;
Expand All @@ -133,7 +133,7 @@
display: none;
flex-direction: column;
margin-top: 8px;
color: var(--ns-color-black);
color: var(--ns-color-fg);
&.open {
display: flex;
z-index: 1000;
Expand Down Expand Up @@ -182,7 +182,7 @@
right: 0;
width: auto;
z-index: 10000;
background-color: var(--ns-color-white);
background-color: var(--ns-color-bg);
opacity: 1;
margin-top: var(--popup-offset);
padding-bottom: 0.5ex;
Expand All @@ -199,7 +199,7 @@
}

.nav-link {
color: var(--ns-color-black);
color: var(--ns-color-fg);
padding-top: 0ex;
padding-bottom: 0ex;
}
Expand All @@ -225,7 +225,7 @@
.nav-link {
font-family: var(--ns-font-display);
font-size: var(--ns-size-display);
color: var(--ns-color-black);
color: var(--ns-color-fg);
margin-top: 8px;
padding-left: 0.5em;
padding-right: 0.5em;
Expand Down