added general theme colors to global css
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
"nextjs-toploader": "^3.9.17",
|
||||
"prettier": "^3.8.2",
|
||||
"prettier-plugin-tailwindcss": "^0.7.2",
|
||||
"radix-ui": "^1.4.3",
|
||||
"react": "19.2.4",
|
||||
"react-dom": "19.2.4",
|
||||
"react-hook-form": "^7.72.1",
|
||||
|
||||
@@ -15,3 +15,25 @@
|
||||
*::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@theme {
|
||||
--color-primary: #cbd5e1;
|
||||
--color-text: #273343;
|
||||
|
||||
/* constants */
|
||||
--color-neo-aqua: #16a795;
|
||||
--color-core-red: #ef4444;
|
||||
--color-warning: #eedd55;
|
||||
--color-information: #0ea5e9;
|
||||
--color-error: #ef4444;
|
||||
--color-success: #22c55e;
|
||||
}
|
||||
|
||||
[data-theme='dark'] {
|
||||
--color-primary: #273343;
|
||||
--color-text: #cbd5e1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user