fix spelling in markdown, use en_GB as lang

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2020-12-01 15:38:01 -05:00
1 parent 111c518bf5
commit 7ebe700a3d
20 files changed
+169 -170

No files matched your search

+113 -113
View File
@@ -1,130 +1,130 @@
# Theme Color Reference
You can use theme-based CSS Variables to style an extension according to the active theme.
## Base Colors
- `--blue`: blue color.
- `--magenta`: magenta color.
- `--golden`: gold/yellow color.
- `--halfGray`: gray with some apacity applied.
- `--primary`: Lens brand (blue) color.
- `--colorSuccess`: successfull operations color.
- `--colorOk`: successfull operations (bright version) color.
- `--colorInfo`: informational, in-progress color.
- `--colorError`: critical error color.
- `--colorSoftError`: error color.
- `--colorWarning`: warning color.
- `--colorVague`: soft gray color for notices, hints etc.
- `--colorTerminated`: terminated, closed, stale color.
- `--boxShadow`: semi-transparent box-shadow color.
## Base Colours
- `--blue`: blue colour.
- `--magenta`: magenta colour.
- `--golden`: gold/yellow colour.
- `--halfGray`: grey with some opacity applied.
- `--primary`: Lens brand (blue) colour.
- `--colorSuccess`: successful operations colour.
- `--colorOk`: successful operations (bright version) colour.
- `--colorInfo`: informational, in-progress colour.
- `--colorError`: critical error colour.
- `--colorSoftError`: error colour.
- `--colorWarning`: warning colour.
- `--colorVague`: soft grey colour for notices, hints etc.
- `--colorTerminated`: terminated, closed, stale colour.
- `--boxShadow`: semi-transparent box-shadow colour.
## Text Colors
- `--textColorPrimary`: foreground text color.
- `--textColorSecondary`: foreground text color for different paragraps, parts of text.
- `--textColorAccent`: foreground text color to highlight its parts.
## Text Colours
- `--textColorPrimary`: foreground text colour.
- `--textColorSecondary`: foreground text colour for different paragraphs, parts of text.
- `--textColorAccent`: foreground text colour to highlight its parts.
## Border Colors
- `--borderColor`: border color.
- `--borderFaintColor`: fainted (lighter or darker, which depends on the theme) border color.
## Border Colours
- `--borderColor`: border colour.
- `--borderFaintColor`: fainted (lighter or darker, which depends on the theme) border colour.
## Layout Colors
- `--mainBackground`: main background color for the app.
- `--contentColor`: background color for panels contains some data.
- `--layoutBackground`: background color for layout parts.
- `--layoutTabsBackground`: background color for general tabs.
- `--layoutTabsActiveColor`: foreground color for general tabs.
- `--layoutTabsLineColor`: background color for lines under general tabs.
## Layout Colours
- `--mainBackground`: main background colour for the app.
- `--contentColor`: background colour for panels contains some data.
- `--layoutBackground`: background colour for layout parts.
- `--layoutTabsBackground`: background colour for general tabs.
- `--layoutTabsActiveColor`: foreground colour for general tabs.
- `--layoutTabsLineColor`: background colour for lines under general tabs.
## Sidebar Colors
- `--sidebarLogoBackground`: background color behind logo in sidebar.
- `--sidebarActiveColor`: foreground color for active menu items in sidebar.
- `--sidebarSubmenuActiveColor`: foreground color for active submenu items in sidebar.
- `--sidebarBackground`: background color for sidebar.
## Sidebar Colours
- `--sidebarLogoBackground`: background colour behind logo in sidebar.
- `--sidebarActiveColor`: foreground colour for active menu items in sidebar.
- `--sidebarSubmenuActiveColor`: foreground colour for active submenu items in sidebar.
- `--sidebarBackground`: background colour for sidebar.
## Button Colors
- `--buttonPrimaryBackground`: button background color for primary actions.
- `--buttonDefaultBackground`: default button background color.
- `--buttonAccentBackground`: accent button background color.
- `--buttonDisabledBackground`: disabled button background color.
## Button Colours
- `--buttonPrimaryBackground`: button background colour for primary actions.
- `--buttonDefaultBackground`: default button background colour.
- `--buttonAccentBackground`: accent button background colour.
- `--buttonDisabledBackground`: disabled button background colour.
## Table Colors
- `--tableBgcStripe`: background color for odd rows in table.
- `--tableBgcSelected`: background color for selected row in table.
- `--tableHeaderBackground`: background color for table header.
## Table Colours
- `--tableBgcStripe`: background colour for odd rows in table.
- `--tableBgcSelected`: background colour for selected row in table.
- `--tableHeaderBackground`: background colour for table header.
- `--tableHeaderBorderWidth`: border width under table header.
- `--tableHeaderBorderColor`: border color for line under table header.
- `--tableHeaderColor`: foreground color for table header.
- `--tableSelectedRowColor`: foreground color for selected row in table.
- `--tableHeaderBorderColor`: border colour for line under table header.
- `--tableHeaderColor`: foreground colour for table header.
- `--tableSelectedRowColor`: foreground colour for selected row in table.
## Dock Colors
- `--dockHeadBackground`: background color for dock's header.
- `--dockInfoBackground`: background color for dock's info panel.
- `--dockInfoBorderColor`: border color for dock's info panel.
## Dock Colours
- `--dockHeadBackground`: background colour for dock's header.
- `--dockInfoBackground`: background colour for dock's info panel.
- `--dockInfoBorderColor`: border colour for dock's info panel.
## Helm Chart Colors
- `--helmLogoBackground`: background color for chart logo.
- `--helmImgBackground`: background color for chart image.
- `--helmStableRepo`: background color for stable repo.
- `--helmIncubatorRepo`: background color for incubator repo.
- `--helmDescriptionHr`: Helm chart description separator line color.
- `--helmDescriptionBlockqouteColor`: Helm chart description blockquote color.
- `--helmDescriptionBlockqouteBorder`: Helm chart description blockquote border color.
- `--helmDescriptionBlockquoteBackground`: Helm chart description blockquote background color.
- `--helmDescriptionHeaders`: Helm chart description headers color.
- `--helmDescriptionH6`: Helm chart description header foreground color.
- `--helmDescriptionTdBorder`: Helm chart description table cell border color.
- `--helmDescriptionTrBackground`: Helm chart description table row background color.
- `--helmDescriptionCodeBackground`: Helm chart description code background color.
- `--helmDescriptionPreBackground`: Helm chart description pre background color.
- `--helmDescriptionPreColor`: Helm chart description pre foreground color.
## Helm Chart Colours
- `--helmLogoBackground`: background colour for chart logo.
- `--helmImgBackground`: background colour for chart image.
- `--helmStableRepo`: background colour for stable repo.
- `--helmIncubatorRepo`: background colour for incubator repo.
- `--helmDescriptionHr`: Helm chart description separator line colour.
- `--helmDescriptionBlockqouteColor`: Helm chart description block-quote colour.
- `--helmDescriptionBlockqouteBorder`: Helm chart description block-quote border colour.
- `--helmDescriptionBlockquoteBackground`: Helm chart description block-quote background colour.
- `--helmDescriptionHeaders`: Helm chart description headers colour.
- `--helmDescriptionH6`: Helm chart description header foreground colour.
- `--helmDescriptionTdBorder`: Helm chart description table cell border colour.
- `--helmDescriptionTrBackground`: Helm chart description table row background colour.
- `--helmDescriptionCodeBackground`: Helm chart description code background colour.
- `--helmDescriptionPreBackground`: Helm chart description pre background colour.
- `--helmDescriptionPreColor`: Helm chart description pre foreground colour.
## Terminal Colors
- `--terminalBackground`: Terminal background color.
- `--terminalForeground`: Terminal foreground color.
- `--terminalCursor`: Terminal cursor color.
- `--terminalCursorAccent`: Terminal cursor accent color.
- `--terminalSelection`: Terminal selection background color.
- `--terminalBlack`: Terminal black color.
- `--terminalRed`: Terminal red color.
- `--terminalGreen`: Terminal green color.
- `--terminalYellow`: Terminal yellow color.
- `--terminalBlue`: Terminal blue color.
- `--terminalMagenta`: Terminal magenta color.
- `--terminalCyan`: Terminal cyan color.
- `--terminalWhite`: Terminal white color.
- `--terminalBrightBlack`: Terminal bright black color.
- `--terminalBrightRed`: Terminal bright red color.
- `--terminalBrightGreen`: Terminal bright green color.
- `--terminalBrightYellow`: Terminal bright yellow color.
- `--terminalBrightBlue`: Terminal bright blue color.
- `--terminalBrightMagenta`: Terminal bright magenta color.
- `--terminalBrightCyan`: Terminal bright cyan color.
- `--terminalBrightWhite`: Terminal bright white color.
## Terminal Colours
- `--terminalBackground`: Terminal background colour.
- `--terminalForeground`: Terminal foreground colour.
- `--terminalCursor`: Terminal cursor colour.
- `--terminalCursorAccent`: Terminal cursor accent colour.
- `--terminalSelection`: Terminal selection background colour.
- `--terminalBlack`: Terminal black colour.
- `--terminalRed`: Terminal red colour.
- `--terminalGreen`: Terminal green colour.
- `--terminalYellow`: Terminal yellow colour.
- `--terminalBlue`: Terminal blue colour.
- `--terminalMagenta`: Terminal magenta colour.
- `--terminalCyan`: Terminal cyan colour.
- `--terminalWhite`: Terminal white colour.
- `--terminalBrightBlack`: Terminal bright black colour.
- `--terminalBrightRed`: Terminal bright red colour.
- `--terminalBrightGreen`: Terminal bright green colour.
- `--terminalBrightYellow`: Terminal bright yellow colour.
- `--terminalBrightBlue`: Terminal bright blue colour.
- `--terminalBrightMagenta`: Terminal bright magenta colour.
- `--terminalBrightCyan`: Terminal bright cyan colour.
- `--terminalBrightWhite`: Terminal bright white colour.
## Dialog Colors
- `--dialogHeaderBackground`: background color for dialog header.
- `--dialogFooterBackground`: background color for dialog footer.
## Dialog Colours
- `--dialogHeaderBackground`: background colour for dialog header.
- `--dialogFooterBackground`: background colour for dialog footer.
## Detail Panel (Drawer) Colors
- `--drawerTitleText`: drawer title foreground color.
- `--drawerSubtitleBackground`: drawer subtitle foreground color.
- `--drawerItemNameColor`: foreground color for item name in drawer.
- `--drawerItemValueColor`: foreground color for item value in drawer.
## Detail Panel (Drawer) Colours
- `--drawerTitleText`: drawer title foreground colour.
- `--drawerSubtitleBackground`: drawer subtitle foreground colour.
- `--drawerItemNameColor`: foreground colour for item name in drawer.
- `--drawerItemValueColor`: foreground colour for item value in drawer.
## Misc Colors
- `--logsBackground`: background color for pod logs.
- `--clusterMenuBackground`: background color for cluster menu.
- `--clusterMenuBorderColor`: border color for cluster menu.
- `--clusterSettingsBackground`: background color for cluster settings.
- `--addClusterIconColor`: add cluster button background color.
- `--iconActiveColor`: active cluster icon foreground color.
- `--iconActiveBackground`: active cluster icon background color.
- `--filterAreaBackground`: page filter area (where selected namespaces are lister) background color.
- `--chartStripesColor`: bar chart zebra stripes background color.
- `--chartCapacityColor`: background color for capacity values in bar charts.
- `--pieChartDefaultColor`: default background color for pie chart values.
- `--selectOptionHoveredColor`: foregrond color for selected element in dropdown list.
- `--lineProgressBackground`: background color for progress line.
- `--radioActiveBackground`: background color for active radio buttons.
- `--menuActiveBackground`: background color for active menu items.
## Misc Colours
- `--logsBackground`: background colour for pod logs.
- `--clusterMenuBackground`: background colour for cluster menu.
- `--clusterMenuBorderColor`: border colour for cluster menu.
- `--clusterSettingsBackground`: background colour for cluster settings.
- `--addClusterIconColor`: add cluster button background colour.
- `--iconActiveColor`: active cluster icon foreground colour.
- `--iconActiveBackground`: active cluster icon background colour.
- `--filterAreaBackground`: page filter area (where selected namespaces are lister) background colour.
- `--chartStripesColor`: bar chart zebra stripes background colour.
- `--chartCapacityColor`: background colour for capacity values in bar charts.
- `--pieChartDefaultColor`: default background colour for pie chart values.
- `--selectOptionHoveredColor`: foreground colour for selected element in dropdown list.
- `--lineProgressBackground`: background colour for progress line.
- `--radioActiveBackground`: background colour for active radio buttons.
- `--menuActiveBackground`: background colour for active menu items.
In most cases you would only need base, text and some of the layout colors.
In most cases you would only need base, text and some of the layout colours.
+2 -2
View File
@@ -97,7 +97,7 @@ These variables can be used in the following form: `var(--magenta)`. For example
}
```
A complete list of themable colors can be found in the [Color Reference](../color-reference).
A complete list of colours that themes can change are found in the [Color Reference](../color-reference).
### Theme Switching
@@ -132,7 +132,7 @@ Working example provided in [Styling with Emotion](https://github.com/lensapp/le
Every extension is affected by the list of default global styles defined in [app.scss](https://github.com/lensapp/lens/blob/master/src/renderer/components/app.scss). These are basic browser resets and element styles, including:
- setting the `box-sizing` property for every element
- default text and background colors
- default text and background colours
- default font sizes
- basic heading (h1, h2, etc) formatting
- custom scrollbar styling