Skip to content

Commit

Permalink
Theme
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Dec 2, 2023
1 parent 41d8e9e commit 3f901cc
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 13 deletions.
10 changes: 5 additions & 5 deletions apps/dashboard/src/app/[locale]/@dashboard/(root)/apps/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ const apps = [
>
<path
d="M11.4 1.43H6.216C2.608 1.43.16 3.878.16 7.486v12.98c0 .374.207.581.58.581h2.883c.373 0 .58-.207.58-.58v-5.392h7.216c.374 0 .58-.207.58-.58v-2.758c0-.373-.206-.58-.58-.58H4.184V7.381c0-1.203.808-2.012 2.011-2.012H11.4c.373 0 .58-.207.58-.58V2.01c0-.373-.207-.58-.58-.58ZM21.331 4.894c-4.769 0-8.19 3.607-8.19 8.231s3.442 8.232 8.19 8.232c4.749 0 8.19-3.608 8.19-8.232 0-4.624-3.42-8.231-8.19-8.231Zm0 12.586c-2.446 0-4.25-1.825-4.25-4.355 0-2.53 1.783-4.354 4.25-4.354 2.468 0 4.251 1.825 4.251 4.354 0 2.53-1.783 4.355-4.25 4.355ZM49.158 5.184h-4.914V1.43c0-.374-.208-.58-.58-.58H40.78c-.373 0-.58.206-.58.58v3.753h-3.463c-3.587 0-6.055 2.446-6.055 6.054v9.228c0 .373.207.58.58.58h2.883c.373 0 .58-.207.58-.58v-9.352c0-1.203.81-2.011 2.012-2.011H40.2v5.889c0 3.607 2.447 6.054 6.055 6.054h2.882c.374 0 .581-.207.581-.58v-2.758c0-.373-.207-.58-.58-.58h-2.862c-1.203 0-2.011-.81-2.011-2.012V9.103h4.914c.373 0 .58-.208.58-.58V5.763c-.02-.394-.228-.58-.6-.58ZM58.116 4.894c-4.355 0-7.216 2.799-7.216 7.07v8.522c0 .374.207.581.58.581h2.883c.373 0 .58-.207.58-.58v-8.523c0-1.928 1.265-3.172 3.173-3.152 1.907-.02 3.172 1.203 3.172 3.152v8.522c0 .374.208.581.58.581h2.883c.373 0 .58-.207.58-.58v-8.523c0-4.271-2.86-7.07-7.215-7.07ZM74.683 4.894c-4.769 0-8.19 3.607-8.19 8.231s3.442 8.232 8.19 8.232c4.77 0 8.19-3.608 8.19-8.232 0-4.624-3.442-8.231-8.19-8.231Zm0 12.586c-2.447 0-4.25-1.825-4.25-4.355 0-2.53 1.783-4.354 4.25-4.354 2.447 0 4.25 1.825 4.25 4.354 0 2.53-1.803 4.355-4.25 4.355Z"
fill="#fff"
fill="currentColor"
/>
<path
d="m93.76 13.084 5.1-5.1c.27-.27.27-.54 0-.81l-2.011-2.01c-.27-.27-.54-.27-.809 0l-5.1 5.1-5.102-5.1c-.269-.27-.539-.27-.808 0l-2.011 2.01c-.27.27-.27.54 0 .81l5.1 5.1-5.142 5.1c-.27.27-.27.54 0 .81l2.011 2.01c.27.27.54.27.81 0l5.1-5.1 5.1 5.1c.27.27.54.27.81 0l2.01-2.01c.27-.27.27-.54 0-.81l-5.059-5.1Z"
fill="#fff"
fill="currentColor"
/>
</svg>
),
Expand All @@ -47,18 +47,18 @@ const apps = [
<g clipPath="url(#clip0_466_1695)">
<path
d="M12.1319 0C18.5624 0.545608 25.6579 3.80657 29.703 8.45058C34.885 14.3838 33.1035 20.322 25.7188 21.7076C18.334 23.0957 8.14765 19.4084 2.96564 13.4702C-0.998262 8.92767 -0.886603 4.38517 2.69157 1.87791L23.2217 17.0407L12.1319 0Z"
fill="white"
fill="currentColor"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M108.385 0.0480957L102.396 21.6439H106.862L109.476 11.3409C109.806 10.0974 109.907 8.85416 110.136 7.61068H110.186C110.44 8.844 110.592 10.0744 110.973 11.3052L113.539 21.6439H118.104L111.861 0.0480957H108.385ZM113.539 21.6439H113.511L113.546 21.6722L113.539 21.6439ZM45.3835 0.0758519L45.384 0.0788261H45.386L45.3835 0.0758519ZM45.384 0.0788261H40.8027L47.0459 21.6747H50.5402L56.5241 0.0837823H52.0579L49.4537 10.3868C49.1086 11.6506 49.0224 12.8816 48.794 14.1428H48.7355C48.4792 12.9095 48.3348 11.6786 47.9643 10.4478L45.384 0.0788261ZM59.7315 0.0758519V21.6722H64.0025V0.0758519H59.7315ZM74.5801 0.0758519C74.5568 0.0922506 74.5351 0.112231 74.5122 0.129382H74.5801V0.0758519ZM74.5122 0.129382H69.4739C69.4739 0.129382 69.1062 0.814762 68.9337 1.2208C67.1573 5.50953 68.8322 8.65609 70.4563 11.676C71.8038 14.1883 73.1966 16.8022 72.0166 19.6445C71.6664 20.4819 71.032 21.2179 70.4484 21.6747H75.5872C75.5872 21.6747 75.8717 21.1163 75.9986 20.8117C77.7167 16.6651 76.803 13.7541 74.5013 9.8054C74.3515 9.53387 74.1916 9.25999 74.0393 8.99353C72.9811 7.16892 71.7882 5.10082 72.9048 2.41084C73.2734 1.52129 73.8104 0.653678 74.5122 0.129382ZM88.1236 0.0758519L88.1281 0.104104H88.1643L88.1236 0.0758519ZM88.1281 0.104104H82.5307L80.6275 21.6999H85.2206L85.8298 6.14356H85.8853V6.54999L86.601 11.3459L88.6946 21.6747H91.9837L93.8206 11.4475L94.5061 6.14356H94.5645L95.597 21.6747H99.9775L97.7134 0.0788259H91.9837L90.2678 12.8229H90.2123L88.1281 0.104104Z"
fill="white"
fill="currentColor"
/>
</g>
<defs>
<clipPath id="clip0_466_1695">
<rect width="118.104" height="22" fill="white" />
<rect width="118.104" height="22" fill="currentColor" />
</clipPath>
</defs>
</svg>
Expand Down
4 changes: 1 addition & 3 deletions apps/dashboard/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ export const metadata: Metadata = {
export default function Layout({ children }: { children: ReactElement }) {
return (
<html lang="en" suppressHydrationWarning>
<body
className={cn(fontSans.variable, "whitespace-pre-line antialiased")}
>
<body className={cn(fontSans.variable, "whitespace-pre-line")}>
<ThemeProvider
attribute="class"
defaultTheme="system"
Expand Down
4 changes: 2 additions & 2 deletions apps/dashboard/src/components/app-details.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function AppDetails({ id, name, description, logo, active }) {
key={id}
className="flex space-x-12 items-center mt-10 pt-10 first:pt-0"
>
<div className="w-[300px] h-[200px] flex items-center justify-center bg-gradient-to-b from-[#1A1A1A] to-[#171717] rounded-xl">
<div className="w-[300px] h-[200px] flex items-center justify-center bg-gradient-to-b from-[#E7E5E1] to-[#DCDAD6] dark:from-[#1A1A1A] dark:to-[#171717] rounded-xl">
{logo}
</div>
<div className="flex-1">
Expand All @@ -18,7 +18,7 @@ export function AppDetails({ id, name, description, logo, active }) {
<button
disabled
type="button"
className="relative rounded-lg overflow-hidden p-[1px]"
className="relative rounded-lg overflow-hidden border dark:p-[1px] dark:border-none"
style={{
background:
"linear-gradient(-45deg, rgba(235,248,255,.18) 0%, #848f9c 50%, rgba(235,248,255,.18) 100%)",
Expand Down
Binary file not shown.
Binary file modified apps/dashboard/src/components/modals/overview-2-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 1 addition & 3 deletions apps/website/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ export const metadata: Metadata = {
export default function Layout({ children }: { children: ReactElement }) {
return (
<html lang="en" suppressHydrationWarning>
<body
className={cn(fontSans.variable, "whitespace-pre-line antialiased")}
>
<body className={cn(fontSans.variable, "whitespace-pre-line")}>
<ThemeProvider
attribute="class"
defaultTheme="system"
Expand Down

0 comments on commit 3f901cc

Please sign in to comment.