Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: added new font size for internal grid font sizes

Jonathan Summers-Muir95aa7e2f3273
diff --git a/studio/styles/grid.scss b/studio/styles/grid.scss
index 5a5717514bc..02cf85fbcd1 100644
--- a/studio/styles/grid.scss
+++ b/studio/styles/grid.scss
@@ -9,7 +9,8 @@
.rdg-cell {
@apply flex;
- @apply border-scale-400 dark:border-scale-500 border-r border-b text-sm;
+ @apply text-grid;
+ @apply border-scale-400 dark:border-scale-500 border-r border-b;
@apply text-scale-1200;
white-space: nowrap;
overflow: hidden;
@@ -360,7 +361,7 @@
*/
.sb-grid-json-editor__trigger {
- @apply overflow-hidden overflow-ellipsis px-2 text-sm;
+ @apply text-grid overflow-hidden overflow-ellipsis px-2;
}
/*
@@ -384,7 +385,7 @@
*/
.sb-grid-text-editor__trigger {
- @apply overflow-hidden overflow-ellipsis px-2 text-sm;
+ @apply text-grid overflow-hidden overflow-ellipsis px-2;
}
/*
@@ -436,7 +437,7 @@
}
.sb-grid-foreign-key-formatter__text {
- @apply m-0 flex-grow overflow-hidden overflow-ellipsis text-sm;
+ @apply m-0 flex-grow overflow-hidden overflow-ellipsis;
}
/*
@@ -539,7 +540,7 @@
*/
.sb-grid-status-label {
- @apply text-sm text-white;
+ @apply text-grid text-white;
}
.sb-grid-status-label__no-msg {
diff --git a/studio/tailwind.config.js b/studio/tailwind.config.js
index ad3a4f15646..a8468bf8db4 100644
--- a/studio/tailwind.config.js
+++ b/studio/tailwind.config.js
@@ -137,6 +137,9 @@ module.exports = ui({
},
},
}),
+ fontSize: {
+ grid: '13px',
+ },
colors: {
// gray: { ...gray },
// green: { ...green },