chore: upgrade @ciphera-net/ui to v0.0.13 and update Tailwind CSS configuration

This commit is contained in:
Usman Baig
2026-01-23 23:34:56 +01:00
parent e6b66e7f97
commit 098495a02a
4 changed files with 10 additions and 21 deletions

8
package-lock.json generated
View File

@@ -8,7 +8,7 @@
"name": "pulse-frontend",
"version": "0.1.0",
"dependencies": {
"@ciphera-net/ui": "^0.0.12",
"@ciphera-net/ui": "^0.0.13",
"@radix-ui/react-icons": "^1.3.2",
"axios": "^1.13.2",
"country-flag-icons": "^1.6.4",
@@ -268,9 +268,9 @@
}
},
"node_modules/@ciphera-net/ui": {
"version": "0.0.12",
"resolved": "https://npm.pkg.github.com/download/@ciphera-net/ui/0.0.12/af2c856743b92eac2272177426bf23e63be30adc",
"integrity": "sha512-FeoelPkyAz9J31JEC3b2tjn06496x5VZe5jSaICd8ZxzeKAMTfZrFpmSCa00vWOyDe9qGzQWotr8htABk59xxw==",
"version": "0.0.13",
"resolved": "https://npm.pkg.github.com/download/@ciphera-net/ui/0.0.13/0bcb7f064f6212cf701f647bc07596530e9db9c9",
"integrity": "sha512-edp2igwPpZDdwHol+jkqdRU3oDFxijyBQtLwjjuoZc2/hnGmHJRsnpKzd4Eo0tY1PuWrHv/QP4nDgYPG2819CQ==",
"dependencies": {
"@radix-ui/react-icons": "^1.3.0",
"clsx": "^2.1.0",

View File

@@ -10,7 +10,7 @@
"type-check": "tsc --noEmit"
},
"dependencies": {
"@ciphera-net/ui": "^0.0.12",
"@ciphera-net/ui": "^0.0.13",
"@radix-ui/react-icons": "^1.3.2",
"axios": "^1.13.2",
"country-flag-icons": "^1.6.4",

View File

@@ -40,17 +40,12 @@
body {
@apply bg-white dark:bg-neutral-950 text-neutral-900 dark:text-neutral-50 transition-colors duration-300 ease-in-out;
@apply bg-ciphera-gradient bg-fixed;
font-family: var(--font-plus-jakarta-sans), system-ui, sans-serif;
background-image:
radial-gradient(at 0% 0%, hsla(20, 98%, 52%, 0.03) 0px, transparent 50%),
radial-gradient(at 100% 100%, hsla(20, 98%, 52%, 0.03) 0px, transparent 50%);
background-attachment: fixed;
}
.dark body {
background-image:
radial-gradient(at 0% 0%, hsla(20, 98%, 52%, 0.05) 0px, transparent 50%),
radial-gradient(at 100% 100%, hsla(20, 98%, 52%, 0.05) 0px, transparent 50%);
@apply bg-ciphera-gradient-dark;
}
}

View File

@@ -1,6 +1,9 @@
import type { Config } from 'tailwindcss'
const config: Config = {
presets: [
require('@ciphera-net/ui/dist/tailwind-preset'),
],
darkMode: 'class',
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
@@ -10,15 +13,6 @@ const config: Config = {
],
theme: {
extend: {
colors: {
// * Brand color: Orange (#FD5E0F) - used as accent only
brand: {
orange: {
DEFAULT: '#FD5E0F',
hover: '#E54E00',
},
},
},
fontFamily: {
sans: ['var(--font-plus-jakarta-sans)', 'system-ui', 'sans-serif'],
},