Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

fix(nc-gui): update create schema mode modal style

Ramesh Maned8ecde0a30b3
diff --git a/packages/nc-gui/components/workspace/project/CreateMode.vue b/packages/nc-gui/components/workspace/project/CreateMode.vue
index 820f64735d..0f4bc784e6 100644
--- a/packages/nc-gui/components/workspace/project/CreateMode.vue
+++ b/packages/nc-gui/components/workspace/project/CreateMode.vue
@@ -65,26 +65,26 @@ onMounted(() => {
}
&.nc-create-base {
- @apply border-brand-200;
+ @apply border-nc-border-brand-medium;
&:hover {
box-shadow: 0px 12px 16px -4px rgba(51, 102, 255, 0.12), 0px 4px 6px -2px rgba(51, 102, 255, 0.08);
}
.nc-placeholder-icon-wrapper {
- @apply border-brand-200 bg-nc-bg-brand;
+ @apply border-nc-border-brand-medium bg-nc-bg-brand;
}
}
&.nc-create-base-ai {
- @apply border-purple-200;
+ @apply border-nc-border-purple-medium;
&:hover {
box-shadow: 0px 12px 16px -4px rgba(125, 38, 205, 0.12), 0px 4px 6px -2px rgba(125, 38, 205, 0.08);
}
.nc-placeholder-icon-wrapper {
- @apply border-purple-200 bg-nc-bg-purple-light;
+ @apply border-nc-border-purple-medium bg-nc-bg-purple-light;
}
}
diff --git a/packages/nc-gui/utils/colorsUtils.ts b/packages/nc-gui/utils/colorsUtils.ts
index d50d031689..615222521f 100644
--- a/packages/nc-gui/utils/colorsUtils.ts
+++ b/packages/nc-gui/utils/colorsUtils.ts
@@ -691,7 +691,10 @@ export const themeVariables = {
},
},
border: {
- 'nc-border-brand': themeV4Colors.brand[500],
+ 'nc-border-brand': {
+ DEFAULT: themeV4Colors.brand[500],
+ medium: themeV4Colors.brand[200],
+ },
'nc-border-gray': {
extralight: themeV4Colors.gray[50],
light: themeV4Colors.gray[100],
@@ -714,6 +717,7 @@ export const themeVariables = {
},
'nc-border-purple': {
DEFAULT: themeV4Colors.purple[500],
+ medium: themeV4Colors.purple[200],
},
'nc-border-pink': {
DEFAULT: themeV4Colors.pink[500],