generated from Seekra/repository-template
Change Colors #65
@@ -52,7 +52,7 @@ const getTooltipTranslation = function (colorScheme) {
|
|||||||
<style scoped>
|
<style scoped>
|
||||||
.color-scheme-button {
|
.color-scheme-button {
|
||||||
background: none;
|
background: none;
|
||||||
border: 1.5px solid var(--light-d-3);
|
border: 1.5px solid var(--border);
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
width: 36px;
|
width: 36px;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
@@ -65,6 +65,6 @@ const getTooltipTranslation = function (colorScheme) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.color-scheme-button:hover {
|
.color-scheme-button:hover {
|
||||||
background: var(--light-d-2);
|
background: var(--light-hover);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -40,7 +40,8 @@ const copyrightPeriod =
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding: var(--padding-y);
|
padding: var(--padding-y);
|
||||||
background-color: var(--light-d-1);
|
|
||||||
margin-top: var(--padding-y);
|
margin-top: var(--padding-y);
|
||||||
|
background-color: var(--light-bg);
|
||||||
|
border-top: 1px solid var(--border);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -92,7 +92,7 @@ const open = function () {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 6px;
|
gap: 6px;
|
||||||
background: none;
|
background: none;
|
||||||
border: 1px solid var(--light-d-3);
|
border: 1px solid var(--border);
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
padding: 4px 10px;
|
padding: 4px 10px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@@ -100,7 +100,7 @@ const open = function () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.language-button:hover {
|
.language-button:hover {
|
||||||
background-color: var(--light-d-1);
|
background-color: var(--light-hover);
|
||||||
}
|
}
|
||||||
|
|
||||||
.chevron {
|
.chevron {
|
||||||
@@ -118,7 +118,7 @@ const open = function () {
|
|||||||
right: 0;
|
right: 0;
|
||||||
top: calc(100% + 6px);
|
top: calc(100% + 6px);
|
||||||
background-color: var(--light-bg);
|
background-color: var(--light-bg);
|
||||||
border: 1px solid var(--light-d-3);
|
border: 1px solid var(--border);
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
|
||||||
list-style: none;
|
list-style: none;
|
||||||
@@ -138,7 +138,7 @@ const open = function () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.language-dropdown li:hover {
|
.language-dropdown li:hover {
|
||||||
background-color: var(--light-d-1);
|
background-color: var(--light-hover);
|
||||||
}
|
}
|
||||||
|
|
||||||
.language-dropdown li.active {
|
.language-dropdown li.active {
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ import logo from '@/assets/logo.svg';
|
|||||||
|
|
||||||
.global-nav .right-links a {
|
.global-nav .right-links a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #000;
|
color: var(--dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
.global-nav .right-links a:hover{
|
.global-nav .right-links a:hover{
|
||||||
|
|||||||
@@ -57,8 +57,8 @@ const submitSearch = function () {
|
|||||||
--padding-left: calc(var(--content-height) + var(--padding));
|
--padding-left: calc(var(--content-height) + var(--padding));
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border: 1.5px solid var(--light-d-3);
|
border: 1.5px solid var(--border);
|
||||||
box-shadow: 0 0px 32px rgba(69, 98, 190, 0.25);
|
box-shadow: 0 0px 32px var(--blue-box-shadow);
|
||||||
border-radius: calc(var(--content-height) * 0.5 + var(--submit-button-padding-y) + var(--padding));
|
border-radius: calc(var(--content-height) * 0.5 + var(--submit-button-padding-y) + var(--padding));
|
||||||
padding: var(--padding);
|
padding: var(--padding);
|
||||||
padding-left: var(--padding-left);
|
padding-left: var(--padding-left);
|
||||||
|
|||||||
@@ -68,16 +68,16 @@ searchQueryModel.value = props.searchQuery;
|
|||||||
.search-results-error-message {
|
.search-results-error-message {
|
||||||
padding: var(--error-message-padding);
|
padding: var(--error-message-padding);
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
box-shadow: 0px 0px 42px #cdcdcdb3;
|
box-shadow: 0px 0px 42px var(--gray-box-shadow);
|
||||||
border-radius: 28px;
|
border-radius: 28px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: #f7f7f7;
|
background-color: var(--light-bg);
|
||||||
animation: fade-in 0.8s ease-out;
|
animation: fade-in 0.8s ease-out;
|
||||||
height: var(--error-message-height);
|
height: var(--error-message-height);
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
outline: 1px solid var(--light-d-2);
|
outline: 1px solid var(--border);
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 48rem) {
|
@media (max-width: 48rem) {
|
||||||
|
|||||||
@@ -75,6 +75,13 @@ limitations under the License.
|
|||||||
|
|
||||||
--dark-bg: var(--black-l-2);
|
--dark-bg: var(--black-l-2);
|
||||||
--light-bg: var(--white);
|
--light-bg: var(--white);
|
||||||
|
|
||||||
|
--border: var(--white-d-3);
|
||||||
|
|
||||||
|
--gray-box-shadow: oklch(0.8 0.0001 271 / 0.7);
|
||||||
|
--blue-box-shadow: oklch(0.52 0.15 268 / 0.25);
|
||||||
|
|
||||||
|
--light-hover: var(--light-d-2);
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
@@ -90,7 +97,7 @@ limitations under the License.
|
|||||||
--dark: var(--white);
|
--dark: var(--white);
|
||||||
|
|
||||||
--light: var(--black);
|
--light: var(--black);
|
||||||
--light-d-1: var(--black-l-1);
|
--light-d-1: oklch(0.10 0 0);
|
||||||
--light-d-2: var(--black-l-2);
|
--light-d-2: var(--black-l-2);
|
||||||
--light-d-3: var(--black-l-3);
|
--light-d-3: var(--black-l-3);
|
||||||
--light-d-4: var(--black-l-4);
|
--light-d-4: var(--black-l-4);
|
||||||
@@ -100,7 +107,13 @@ limitations under the License.
|
|||||||
--light-d-8: var(--black-l-8);
|
--light-d-8: var(--black-l-8);
|
||||||
|
|
||||||
--dark-bg: var(--white);
|
--dark-bg: var(--white);
|
||||||
--light-bg: var(--black);
|
--light-bg: oklch(0.18 0 0);
|
||||||
|
|
||||||
|
--border: var(--black-l-6);
|
||||||
|
|
||||||
|
--gray-box-shadow: oklch(0.25 0.0001 271 / 0.7);
|
||||||
|
|
||||||
|
--light-hover: var(--light-d-5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -116,7 +129,7 @@ limitations under the License.
|
|||||||
--dark: var(--white);
|
--dark: var(--white);
|
||||||
|
|
||||||
--light: var(--black);
|
--light: var(--black);
|
||||||
--light-d-1: var(--black-l-1);
|
--light-d-1: oklch(0.10 0 0);
|
||||||
--light-d-2: var(--black-l-2);
|
--light-d-2: var(--black-l-2);
|
||||||
--light-d-3: var(--black-l-3);
|
--light-d-3: var(--black-l-3);
|
||||||
--light-d-4: var(--black-l-4);
|
--light-d-4: var(--black-l-4);
|
||||||
@@ -126,5 +139,11 @@ limitations under the License.
|
|||||||
--light-d-8: var(--black-l-8);
|
--light-d-8: var(--black-l-8);
|
||||||
|
|
||||||
--dark-bg: var(--white);
|
--dark-bg: var(--white);
|
||||||
--light-bg: var(--black);
|
--light-bg: oklch(0.18 0 0);
|
||||||
|
|
||||||
|
--border: var(--black-l-6);
|
||||||
|
|
||||||
|
--gray-box-shadow: oklch(0.25 0.0001 271 / 0.7);
|
||||||
|
|
||||||
|
--light-hover: var(--light-d-5);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user