diff --git a/packages/builder/assets/Inter-Black.woff b/packages/builder/assets/Inter-Black.woff new file mode 100644 index 0000000000..07800f4b74 Binary files /dev/null and b/packages/builder/assets/Inter-Black.woff differ diff --git a/packages/builder/assets/Inter-Black.woff2 b/packages/builder/assets/Inter-Black.woff2 new file mode 100644 index 0000000000..9a615e6e83 Binary files /dev/null and b/packages/builder/assets/Inter-Black.woff2 differ diff --git a/packages/builder/assets/Inter-Bold.woff b/packages/builder/assets/Inter-Bold.woff new file mode 100644 index 0000000000..61e1c25e64 Binary files /dev/null and b/packages/builder/assets/Inter-Bold.woff differ diff --git a/packages/builder/assets/Inter-Bold.woff2 b/packages/builder/assets/Inter-Bold.woff2 new file mode 100644 index 0000000000..6c401bb09b Binary files /dev/null and b/packages/builder/assets/Inter-Bold.woff2 differ diff --git a/packages/builder/assets/Inter-ExtraBold.woff b/packages/builder/assets/Inter-ExtraBold.woff new file mode 100644 index 0000000000..433fb3285c Binary files /dev/null and b/packages/builder/assets/Inter-ExtraBold.woff differ diff --git a/packages/builder/assets/Inter-ExtraBold.woff2 b/packages/builder/assets/Inter-ExtraBold.woff2 new file mode 100644 index 0000000000..5a08b364d5 Binary files /dev/null and b/packages/builder/assets/Inter-ExtraBold.woff2 differ diff --git a/packages/builder/assets/Inter-Medium.woff b/packages/builder/assets/Inter-Medium.woff new file mode 100644 index 0000000000..8c36a6345e Binary files /dev/null and b/packages/builder/assets/Inter-Medium.woff differ diff --git a/packages/builder/assets/Inter-Medium.woff2 b/packages/builder/assets/Inter-Medium.woff2 new file mode 100644 index 0000000000..3b31d3350a Binary files /dev/null and b/packages/builder/assets/Inter-Medium.woff2 differ diff --git a/packages/builder/assets/Inter-Regular.woff b/packages/builder/assets/Inter-Regular.woff new file mode 100644 index 0000000000..7d587c40bf Binary files /dev/null and b/packages/builder/assets/Inter-Regular.woff differ diff --git a/packages/builder/assets/Inter-Regular.woff2 b/packages/builder/assets/Inter-Regular.woff2 new file mode 100644 index 0000000000..d5ffd2a1f1 Binary files /dev/null and b/packages/builder/assets/Inter-Regular.woff2 differ diff --git a/packages/builder/assets/Inter-SemiBold.woff b/packages/builder/assets/Inter-SemiBold.woff new file mode 100644 index 0000000000..99df06cbee Binary files /dev/null and b/packages/builder/assets/Inter-SemiBold.woff differ diff --git a/packages/builder/assets/Inter-SemiBold.woff2 b/packages/builder/assets/Inter-SemiBold.woff2 new file mode 100644 index 0000000000..df746af999 Binary files /dev/null and b/packages/builder/assets/Inter-SemiBold.woff2 differ diff --git a/packages/builder/assets/roboto-v20-latin-ext_latin-300.woff b/packages/builder/assets/roboto-v20-latin-ext_latin-300.woff deleted file mode 100644 index 72f1207930..0000000000 Binary files a/packages/builder/assets/roboto-v20-latin-ext_latin-300.woff and /dev/null differ diff --git a/packages/builder/assets/roboto-v20-latin-ext_latin-300.woff2 b/packages/builder/assets/roboto-v20-latin-ext_latin-300.woff2 deleted file mode 100644 index 05fda6ab5c..0000000000 Binary files a/packages/builder/assets/roboto-v20-latin-ext_latin-300.woff2 and /dev/null differ diff --git a/packages/builder/assets/roboto-v20-latin-ext_latin-500.woff b/packages/builder/assets/roboto-v20-latin-ext_latin-500.woff deleted file mode 100644 index fb70b7e915..0000000000 Binary files a/packages/builder/assets/roboto-v20-latin-ext_latin-500.woff and /dev/null differ diff --git a/packages/builder/assets/roboto-v20-latin-ext_latin-500.woff2 b/packages/builder/assets/roboto-v20-latin-ext_latin-500.woff2 deleted file mode 100644 index 96981bc870..0000000000 Binary files a/packages/builder/assets/roboto-v20-latin-ext_latin-500.woff2 and /dev/null differ diff --git a/packages/builder/assets/roboto-v20-latin-ext_latin-700.woff b/packages/builder/assets/roboto-v20-latin-ext_latin-700.woff deleted file mode 100644 index d023f3de32..0000000000 Binary files a/packages/builder/assets/roboto-v20-latin-ext_latin-700.woff and /dev/null differ diff --git a/packages/builder/assets/roboto-v20-latin-ext_latin-700.woff2 b/packages/builder/assets/roboto-v20-latin-ext_latin-700.woff2 deleted file mode 100644 index fd49210352..0000000000 Binary files a/packages/builder/assets/roboto-v20-latin-ext_latin-700.woff2 and /dev/null differ diff --git a/packages/builder/assets/roboto-v20-latin-ext_latin-900.woff b/packages/builder/assets/roboto-v20-latin-ext_latin-900.woff deleted file mode 100644 index 397450501b..0000000000 Binary files a/packages/builder/assets/roboto-v20-latin-ext_latin-900.woff and /dev/null differ diff --git a/packages/builder/assets/roboto-v20-latin-ext_latin-900.woff2 b/packages/builder/assets/roboto-v20-latin-ext_latin-900.woff2 deleted file mode 100644 index 5cd76971f1..0000000000 Binary files a/packages/builder/assets/roboto-v20-latin-ext_latin-900.woff2 and /dev/null differ diff --git a/packages/builder/assets/roboto-v20-latin-ext_latin-regular.woff b/packages/builder/assets/roboto-v20-latin-ext_latin-regular.woff deleted file mode 100644 index f9849dfbee..0000000000 Binary files a/packages/builder/assets/roboto-v20-latin-ext_latin-regular.woff and /dev/null differ diff --git a/packages/builder/assets/roboto-v20-latin-ext_latin-regular.woff2 b/packages/builder/assets/roboto-v20-latin-ext_latin-regular.woff2 deleted file mode 100644 index 1f7dd5b890..0000000000 Binary files a/packages/builder/assets/roboto-v20-latin-ext_latin-regular.woff2 and /dev/null differ diff --git a/packages/builder/package.json b/packages/builder/package.json index 41ffe2ba91..91ee86ce05 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -50,7 +50,7 @@ ] }, "dependencies": { - "@budibase/bbui": "^1.8.0", + "@budibase/bbui": "^1.10.1", "@budibase/client": "^0.0.32", "@nx-js/compiler-util": "^2.0.0", "codemirror": "^5.51.0", diff --git a/packages/builder/src/budibase.css b/packages/builder/src/budibase.css index 85425ba049..134ec5a6a9 100644 --- a/packages/builder/src/budibase.css +++ b/packages/builder/src/budibase.css @@ -57,13 +57,14 @@ .budibase__nav-item { cursor: pointer; padding: 0 4px 0 2px; - height: 35px; - margin: 5px 0px 4px 0px; - border-radius: 0 5px 5px 0; + height: 36px; + margin: 0px 0px 0px 0px; + border-radius: 5px; display: flex; align-items: center; font-size: 14px; transition: 0.2s; + border-top: var(--grey-1) .5px solid; } .budibase__nav-item.selected { @@ -72,15 +73,14 @@ } .budibase__nav-item:hover { - background: var(--grey-light); + background: var(--grey-1); } .budibase__input { - height: 35px; - width: 100%; - max-width: 220px; + height: 36px; + width: 220px; border-radius: 3px; - border: 1px solid var(--grey-dark); + border: 1px solid var(--grey-4); text-align: left; color: var(--ink); font-size: 14px; @@ -100,7 +100,7 @@ } .budibase__table { - border: 1px solid var(--grey-dark); + border: 1px solid var(--grey-4); background: #fff; border-radius: 2px; } @@ -116,12 +116,12 @@ } .budibase__table tr { - border-bottom: 1px solid var(--grey-light); + border-bottom: 1px solid var(--grey-1); } .button--toggled { background: var(--blue-light); - color: var(--ink-light); + color: var(--grey-7); width: 40px; height: 40px; display: flex; diff --git a/packages/builder/src/components/common/ActionButton.svelte b/packages/builder/src/components/common/ActionButton.svelte index 147737b5c6..3af21e4398 100644 --- a/packages/builder/src/components/common/ActionButton.svelte +++ b/packages/builder/src/components/common/ActionButton.svelte @@ -41,7 +41,7 @@ .secondary { color: var(--ink); - border: solid 1px var(--grey-dark); + border: solid 1px var(--grey-4); background: white; } diff --git a/packages/builder/src/components/common/Button.svelte b/packages/builder/src/components/common/Button.svelte index 5b8f2fb593..a5fe3752a2 100644 --- a/packages/builder/src/components/common/Button.svelte +++ b/packages/builder/src/components/common/Button.svelte @@ -42,14 +42,14 @@ /* ---- PRIMARY ----*/ .primary { - background-color: var(--primary100); - border-color: var(--primary100); + background-color: var(--blue); + border-color: var(--blue); color: var(--white); } .primary:hover { - background-color: var(--primary75); - border-color: var(--primary75); + background-color: var(--blue); + border-color: var(--blue); } .primary:active { @@ -59,8 +59,8 @@ .primary-outline { background-color: var(--white); - border-color: var(--primary100); - color: var(--primary100); + border-color: var(--blue); + color: var(--blue); } .primary-outline:hover { @@ -74,8 +74,8 @@ /* ---- secondary ----*/ .secondary { - background-color: var(--secondary100); - border-color: var(--secondary100); + background-color: var(--ink); + border-color: var(--ink); color: var(--white); } @@ -91,8 +91,8 @@ .secondary-outline { background-color: var(--white); - border-color: var(--secondary100); - color: var(--secondary100); + border-color: var(--ink); + color: var(--ink); } .secondary-outline:hover { @@ -136,32 +136,36 @@ /* ---- deletion ----*/ .deletion { - background-color: var(--deletion100); - border-color: var(--deletion100); + background-color: var(--red); + border-color: var(--red); color: var(--white); } .deletion:hover { - background-color: var(--deletion75); - border-color: var(--deletion75); + background-color: var(--red-light); + border-color: var(--red); + color: var(--red); } .deletion:pressed { - background-color: var(--deletiondark); - border-color: var(--deletiondark); + background-color: var(--red-dark); + border-color: var(--red-dark); + color: var(--white); } .deletion-outline { background-color: var(--white); - border-color: var(--deletion100); - color: var(--deletion100); + border-color: var(--red); + color: var(--red); } .deletion-outline:hover { - background-color: var(--deletion10); + background-color: var(--red-light); + color: var(--red); } .deletion-outline:pressed { - background-color: var(--deletion25); + background-color: var(--red-dark); + color: var(--white); } diff --git a/packages/builder/src/components/common/CodeArea.svelte b/packages/builder/src/components/common/CodeArea.svelte index e6a4fac030..afa12dfcca 100644 --- a/packages/builder/src/components/common/CodeArea.svelte +++ b/packages/builder/src/components/common/CodeArea.svelte @@ -11,7 +11,7 @@ padding: 10px; margin-top: 5px; margin-bottom: 10px; - background: var(--secondary80); + background: var(--grey-7); color: var(--white); font-family: "Courier New", Courier, monospace; height: 200px; diff --git a/packages/builder/src/components/common/ConfirmDialog.svelte b/packages/builder/src/components/common/ConfirmDialog.svelte index 98524caa18..cd3ffb9b79 100644 --- a/packages/builder/src/components/common/ConfirmDialog.svelte +++ b/packages/builder/src/components/common/ConfirmDialog.svelte @@ -54,7 +54,7 @@ diff --git a/packages/builder/src/components/common/Select.svelte b/packages/builder/src/components/common/Select.svelte index 4bdd2a941e..0eb368dac9 100644 --- a/packages/builder/src/components/common/Select.svelte +++ b/packages/builder/src/components/common/Select.svelte @@ -21,7 +21,7 @@ .select-container { font-size: 14px; position: relative; - border: var(--grey-dark) 1px solid; + border: var(--grey-4) 1px solid; } .adjusted { diff --git a/packages/builder/src/components/common/Switcher.svelte b/packages/builder/src/components/common/Switcher.svelte index 484d52ee07..59c44190af 100644 --- a/packages/builder/src/components/common/Switcher.svelte +++ b/packages/builder/src/components/common/Switcher.svelte @@ -43,7 +43,7 @@ display: flex; flex-direction: column; padding: 20px 20px; - border-left: solid 1px var(--grey); + border-left: solid 1px var(--grey-2); box-sizing: border-box; } @@ -60,10 +60,11 @@ padding: 0; cursor: pointer; font-size: 18px; - font-weight: 700; - color: var(--ink-lighter); + font-weight: 600; + color: var(--grey-5); margin-right: 20px; background: none; + outline: none; } .switcher > .selected { diff --git a/packages/builder/src/components/database/ModelDataTable/ModelDataTable.svelte b/packages/builder/src/components/database/ModelDataTable/ModelDataTable.svelte index d10c56799b..409f4b9892 100644 --- a/packages/builder/src/components/database/ModelDataTable/ModelDataTable.svelte +++ b/packages/builder/src/components/database/ModelDataTable/ModelDataTable.svelte @@ -157,7 +157,7 @@ } table { - border: 1px solid var(--grey-dark); + border: 1px solid var(--grey-4); background: #fff; border-radius: 3px; border-collapse: collapse; @@ -165,7 +165,7 @@ thead { background: var(--blue-light); - border: 1px solid var(--grey-dark); + border: 1px solid var(--grey-4); } thead th { @@ -174,18 +174,17 @@ font-weight: 500; font-size: 14px; text-rendering: optimizeLegibility; - letter-spacing: 1px; } tbody tr { - border-bottom: 1px solid var(--grey-dark); + border-bottom: 1px solid var(--grey-4); transition: 0.3s background-color; color: var(--ink); font-size: 14px; } tbody tr:hover { - background: var(--grey-light); + background: var(--grey-1); } .table-controls { diff --git a/packages/builder/src/components/database/ModelDataTable/TablePagination.svelte b/packages/builder/src/components/database/ModelDataTable/TablePagination.svelte index 52a480f224..508ee60b23 100644 --- a/packages/builder/src/components/database/ModelDataTable/TablePagination.svelte +++ b/packages/builder/src/components/database/ModelDataTable/TablePagination.svelte @@ -58,20 +58,19 @@ padding: 10px; margin: 0; background: #fff; - border: 1px solid #ccc; + border: 1px solid var(--grey-4); text-transform: capitalize; border-radius: 3px; - font-family: Roboto; min-width: 20px; transition: 0.3s background-color; } .pagination__buttons button:hover { cursor: pointer; - background-color: #fafafa; + background-color: var(--grey-1); } .selected { - color: var(--button-text); + color: var(--blue); } diff --git a/packages/builder/src/components/database/ModelDataTable/modals/CreateDatabase.svelte b/packages/builder/src/components/database/ModelDataTable/modals/CreateDatabase.svelte index b9208b15a3..d50adc2d10 100644 --- a/packages/builder/src/components/database/ModelDataTable/modals/CreateDatabase.svelte +++ b/packages/builder/src/components/database/ModelDataTable/modals/CreateDatabase.svelte @@ -34,7 +34,7 @@ } footer { padding: 20px; - background: #fafafa; + background: var(--grey-1); border-radius: 0.5rem; } diff --git a/packages/builder/src/components/database/ModelDataTable/modals/CreateEditModel/CreateEditModel.svelte b/packages/builder/src/components/database/ModelDataTable/modals/CreateEditModel/CreateEditModel.svelte index a01acdc68d..6e1a1d564b 100644 --- a/packages/builder/src/components/database/ModelDataTable/modals/CreateEditModel/CreateEditModel.svelte +++ b/packages/builder/src/components/database/ModelDataTable/modals/CreateEditModel/CreateEditModel.svelte @@ -130,7 +130,7 @@ } tbody > tr:hover { - background-color: var(--grey-light); + background-color: var(--grey-1); } .table-controls { @@ -156,7 +156,7 @@ } footer { - background-color: var(--grey-light); + background-color: var(--grey-1); margin-top: 40px; padding: 20px 40px 20px 40px; display: flex; diff --git a/packages/builder/src/components/database/ModelDataTable/modals/CreateEditRecord.svelte b/packages/builder/src/components/database/ModelDataTable/modals/CreateEditRecord.svelte index d7ee74b4fd..5b0140e026 100644 --- a/packages/builder/src/components/database/ModelDataTable/modals/CreateEditRecord.svelte +++ b/packages/builder/src/components/database/ModelDataTable/modals/CreateEditRecord.svelte @@ -132,7 +132,7 @@ footer { padding: 20px; - background: #fafafa; + background: var(--grey-1); border-radius: 0.5rem; } diff --git a/packages/builder/src/components/database/ModelDataTable/modals/CreateEditView.svelte b/packages/builder/src/components/database/ModelDataTable/modals/CreateEditView.svelte index 53cb3e2cc6..c7d3ec8af0 100644 --- a/packages/builder/src/components/database/ModelDataTable/modals/CreateEditView.svelte +++ b/packages/builder/src/components/database/ModelDataTable/modals/CreateEditView.svelte @@ -96,7 +96,7 @@ .snippet-selector__heading { margin-right: 20px; font-size: 14px; - color: var(--ink-lighter); + color: var(--grey-5); } .header { @@ -116,7 +116,7 @@ .buttons { display: flex; justify-content: flex-end; - background-color: var(--grey-light); + background-color: var(--grey-1); margin: 0 40px; padding: 20px 0; } diff --git a/packages/builder/src/components/database/ModelDataTable/modals/CreateUser.svelte b/packages/builder/src/components/database/ModelDataTable/modals/CreateUser.svelte index 2587f00ea8..eef38ecfec 100644 --- a/packages/builder/src/components/database/ModelDataTable/modals/CreateUser.svelte +++ b/packages/builder/src/components/database/ModelDataTable/modals/CreateUser.svelte @@ -69,7 +69,7 @@ .title { font-size: 24px; - font-weight: 700; + font-weight: 600; color: var(--ink); margin-left: 12px; } @@ -84,7 +84,7 @@ align-items: center; justify-content: flex-end; padding: 20px; - background: var(--grey-light); + background: var(--grey-1); border-radius: 0 0 5px 5px; } diff --git a/packages/builder/src/components/database/ModelDataTable/modals/DeleteRecord.svelte b/packages/builder/src/components/database/ModelDataTable/modals/DeleteRecord.svelte index 1507fa96d7..4f533f812d 100644 --- a/packages/builder/src/components/database/ModelDataTable/modals/DeleteRecord.svelte +++ b/packages/builder/src/components/database/ModelDataTable/modals/DeleteRecord.svelte @@ -37,13 +37,13 @@ diff --git a/packages/builder/src/components/userInterface/ComponentSearch.svelte b/packages/builder/src/components/userInterface/ComponentSearch.svelte index b8583075c8..b65a08b5eb 100644 --- a/packages/builder/src/components/userInterface/ComponentSearch.svelte +++ b/packages/builder/src/components/userInterface/ComponentSearch.svelte @@ -38,7 +38,7 @@ padding: 5px; border-style: solid; border-width: 0 0 1px 0; - border-color: var(--lightslate); + border-color: var(--grey-1); cursor: pointer; } @@ -48,12 +48,12 @@ .component > .title { font-size: 13pt; - color: var(--secondary100); + color: var(--ink); } .component > .description { font-size: 10pt; - color: var(--primary75); + color: var(--blue); font-style: italic; } diff --git a/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte b/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte index 041377aedc..1381e66221 100644 --- a/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte +++ b/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte @@ -77,8 +77,7 @@ } .title { - margin-left: 10px; - margin-top: 2px; + margin-left: 14px; font-size: 14px; font-weight: 400; } @@ -87,9 +86,8 @@ display: inline-block; transition: 0.2s; font-size: 24px; - width: 20px; - margin-top: 2px; - color: var(--ink-light); + width: 18px; + color: var(--grey-7); } .icon:nth-of-type(2) { diff --git a/packages/builder/src/components/userInterface/ComponentsHierarchyChildren.svelte b/packages/builder/src/components/userInterface/ComponentsHierarchyChildren.svelte index 43473a85a3..cb9fa9d8ec 100644 --- a/packages/builder/src/components/userInterface/ComponentsHierarchyChildren.svelte +++ b/packages/builder/src/components/userInterface/ComponentsHierarchyChildren.svelte @@ -39,7 +39,7 @@