mirror of
https://github.com/harivansh-afk/React-Portfolio.git
synced 2026-04-17 10:02:26 +00:00
chore: theme optimization
This commit is contained in:
parent
6d17375685
commit
7bacec764b
3 changed files with 99 additions and 94 deletions
|
|
@ -1,21 +1,23 @@
|
|||
:root {
|
||||
--bg-color: #0c0c0c;
|
||||
--primary-color: #0d0d0d;
|
||||
--bg-color: #080808;
|
||||
--primary-color: #0f0f0f;
|
||||
--secondary-color: #fff;
|
||||
--text-color: #fff;
|
||||
--text-color-2: #fff;
|
||||
--text-color-3: rgb(204, 0, 0);
|
||||
--overlay-color: rgb(12 12 12 / 63%);
|
||||
--overlay-color: rgb(8 8 8 / 63%);
|
||||
--image-container-bg: #060606;
|
||||
}
|
||||
|
||||
[data-theme="light"] {
|
||||
--bg-color: #ffffff;
|
||||
--primary-color: #ffffff;
|
||||
--bg-color: #e3dac9;
|
||||
--primary-color: #e3dac9;
|
||||
--secondary-color: #000;
|
||||
--text-color: #000;
|
||||
--text-color-2: #000;
|
||||
--text-color-3: rgb(204, 0, 0);
|
||||
--overlay-color: rgb(255 255 255 / 70%);
|
||||
--overlay-color: rgb(227 218 201 / 70%);
|
||||
--image-container-bg: #d8c9b2;
|
||||
}
|
||||
|
||||
html,
|
||||
|
|
@ -30,7 +32,7 @@ body {
|
|||
overflow-y: visible;
|
||||
background-color: var(--bg-color);
|
||||
color: var(--text-color);
|
||||
font-family: 'Raleway', sans-serif;
|
||||
font-family: "Raleway", sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
padding-top: 60px;
|
||||
|
|
@ -71,7 +73,8 @@ p {
|
|||
}
|
||||
|
||||
code {
|
||||
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
|
||||
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
|
||||
monospace;
|
||||
}
|
||||
|
||||
.cursor__dot div {
|
||||
|
|
|
|||
|
|
@ -102,6 +102,8 @@ section {
|
|||
overflow: hidden;
|
||||
margin: 0 auto;
|
||||
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
|
||||
background-color: var(--image-container-bg);
|
||||
border: 0.5px solid var(--secondary-color);
|
||||
}
|
||||
|
||||
.ac_btn {
|
||||
|
|
|
|||
|
|
@ -10,9 +10,9 @@
|
|||
text-align: center;
|
||||
margin: 0.5rem;
|
||||
position: relative;
|
||||
background: var(--secondary-color);
|
||||
background: var(--image-container-bg);
|
||||
padding: 6px;
|
||||
border: 1px solid var(--secondary-color);
|
||||
border: 1px solid var(--image-container-bg);
|
||||
transition: 0.3s ease;
|
||||
font-size: 0;
|
||||
min-height: 300px;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue