aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/StyleProp.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/StyleProp.ts')
-rw-r--r--src/client/views/StyleProp.ts24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/client/views/StyleProp.ts b/src/client/views/StyleProp.ts
new file mode 100644
index 000000000..dd5b98cfe
--- /dev/null
+++ b/src/client/views/StyleProp.ts
@@ -0,0 +1,24 @@
+export enum StyleProp {
+ TreeViewIcon = 'treeView_Icon',
+ TreeViewSortings = 'treeView_Sortings', // options for how to sort tree view items
+ DocContents = 'docContents', // when specified, the JSX returned will replace the normal rendering of the document view
+ Opacity = 'opacity', // opacity of the document view
+ BoxShadow = 'boxShadow', // box shadow - used for making collections standout and for showing clusters in free form views
+ BorderRounding = 'borderRounding', // border radius of the document view
+ Color = 'color', // foreground color of Document view items
+ BackgroundColor = 'backgroundColor', // background color of a document view
+ FillColor = 'fillColor', // fill color of an ink stroke or shape
+ WidgetColor = 'widgetColor', // color to display UI widgets on a document view -- used for the sidebar divider dragger on a text note
+ PointerEvents = 'pointerEvents', // pointer events for DocumentView -- inherits pointer events if not specified
+ Decorations = 'decorations', // additional decoration to display above a DocumentView -- currently only used to display a Lock for making things background
+ HeaderMargin = 'headerMargin', // margin at top of documentview, typically for displaying a title -- doc contents will start below that
+ ShowCaption = 'layout_showCaption',
+ TitleHeight = 'titleHeight', // Height of Title area
+ ShowTitle = 'layout_showTitle', // whether to display a title on a Document (optional :hover suffix)
+ BorderPath = 'customBorder', // border path for document view
+ FontColor = 'fontColor', // color o tet
+ FontSize = 'fontSize', // size of text font
+ FontFamily = 'fontFamily', // font family of text
+ FontWeight = 'fontWeight', // font weight of text
+ Highlighting = 'highlighting', // border highlighting
+}