Skip to content

Commit

Permalink
fix(analytics): styles (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
kingsleydon authored Aug 25, 2023
1 parent 6669724 commit b9fe1d9
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
9 changes: 8 additions & 1 deletion apps/analytics/src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
@tailwind components;
@tailwind utilities;

@layer base {
html {
background-color: #171923;
background: linear-gradient(180deg, #171923 0%, #1a202c 100%);
}
}

@layer components {
.card {
@apply bg-gray-700 rounded-3xl px-6 py-5 shadow-xl;
Expand All @@ -13,6 +20,6 @@
}

.data-label {
@apply font-montserrat text-sm text-gray-300;
@apply font-montserrat text-sm text-gray-400;
}
}
2 changes: 1 addition & 1 deletion apps/analytics/src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width" />
%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover" class="bg-gray-900 text-white">
<body data-sveltekit-preload-data="hover" class="text-white">
<div style="display: contents">%sveltekit.body%</div>
</body>
</html>
9 changes: 8 additions & 1 deletion apps/analytics/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@
export default {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {},
extend: {
colors: {
gray: {
700: '#2D3748',
400: '#A0AEC0',
},
},
},
fontFamily: {
montserrat: ['Montserrat', 'sans-serif'],
},
Expand Down

0 comments on commit b9fe1d9

Please sign in to comment.