mirror of
https://github.com/docmost/docmost.git
synced 2026-06-11 10:46:54 +08:00
feat(ee): page-level access/permissions (#1971)
* Add page_hierarchy table * feat(ee): page-level permissions * pagination * rename migration fixes * fix * tabs * fix theme * cleanup * sync * page permissions notification * other fixes * sharing disbled * fix column nodes * toggle error handling
This commit is contained in:
@@ -2,6 +2,7 @@ import {
|
||||
createTheme,
|
||||
CSSVariablesResolver,
|
||||
MantineColorsTuple,
|
||||
Tabs,
|
||||
} from "@mantine/core";
|
||||
|
||||
const blue: MantineColorsTuple = [
|
||||
@@ -35,6 +36,17 @@ export const theme = createTheme({
|
||||
blue,
|
||||
red,
|
||||
},
|
||||
components: {
|
||||
Tabs: Tabs.extend({
|
||||
vars: (theme, props) => ({
|
||||
root: {
|
||||
...(props.color === "dark" && {
|
||||
"--tabs-color": "var(--mantine-color-dark-default)",
|
||||
}),
|
||||
},
|
||||
}),
|
||||
}),
|
||||
},
|
||||
/***
|
||||
components: {
|
||||
ActionIcon: ActionIcon.extend({
|
||||
|
||||
Reference in New Issue
Block a user