We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
HoloViews Colorbar not styled for dark themed template
Panel: 0.12.4

The ColorBar is unreadable when using the `FastListTemplate` with the `dark` theme.

I would like this to work for an example I am contributing to the `scikit-image` docs.

![image](https://user-images.githubusercontent.com/42288570/140877887-22a08468-97dc-422b-bc5b-0e02496a07a9.png)

```python
import holoviews as hv
import panel as pn
from skimage import data, filters

image = data.coins()
edges = filters.sobel(image)*256
bounds = (-1, -1, 1, 1)

after_img = hv.Image(edges, bounds=bounds).apply.opts(
    cmap="binary_r", responsive=True, title="After", active_tools=["box_zoom"], tools=["hover"], colorbar=True
)

layout=pn.panel(after_img, height=800, aspect_ratio=1)

pn.template.FastListTemplate(
    site="Panel and Scikit-Image",
    main=[layout],
    header_background="#292929",
    theme="dark",
).servable()
```

## How do I fix this?

I would like to contribute a PR. I assume I would have to update the Bokeh Theme generation here https://github.com/holoviz/panel/blob/396ce2f37473a047e4721a1431e6795374686533/panel/template/fast/theme.py#L62.

I can now see that I need to change to

![image](https://user-images.githubusercontent.com/42288570/140878649-40f2f03f-cbf1-4520-83b0-5b0ffacadc12.png)

![image](https://user-images.githubusercontent.com/42288570/140878711-8f380e61-f8da-448b-b2c2-151a017568a4.png)


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `panel/template/fast/theme.py`
Content:
```
1 """
2 Functionality for styling according to Fast.design
3 """
4 import pathlib
5 import param
6 
7 from bokeh.themes import Theme as _BkTheme
8 
9 from ..theme import DarkTheme, DefaultTheme
10 
11 _ROOT = pathlib.Path(__file__).parent / "css"
12 
13 COLLAPSED_SVG_ICON = """
14 <svg style="stroke: var(--accent-fill-rest);" width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" slot="collapsed-icon">
15   <path d="M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z" stroke-linecap="round" stroke-linejoin="round"></path>
16   <path d="M9 5.44446V12.5556" stroke-linecap="round" stroke-linejoin="round"></path>
17   <path d="M5.44446 9H12.5556" stroke-linecap="round" stroke-linejoin="round"></path>
18 </svg>
19 """ # noqa
20 
21 EXPANDED_SVG_ICON = """
22 <svg style="stroke: var(--accent-fill-rest);" width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" slot="expanded-icon">
23   <path d="M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z" stroke-linecap="round" stroke-linejoin="round"></path>
24   <path d="M5.44446 9H12.5556" stroke-linecap="round" stroke-linejoin="round"></path>
25 </svg>
26 """ # noqa
27 
28 FONT_URL = "//fonts.googleapis.com/css?family=Open+Sans"
29 
30 class FastStyle(param.Parameterized):
31     """
32     The FastStyle class provides the different colors and icons used
33     to style the Fast Templates.
34     """
35 
36     background_color = param.String(default="#ffffff")
37     neutral_color = param.String(default="#000000")
38     accent_base_color = param.String(default="#A01346")
39     collapsed_icon = param.String(default=COLLAPSED_SVG_ICON)
40     expanded_icon = param.String(default=EXPANDED_SVG_ICON)
41     color = param.String(default="#00aa41")
42     neutral_fill_card_rest = param.String(default="#F7F7F7")
43     neutral_focus = param.String(default="#888888")
44     neutral_foreground_rest = param.String(default="#2B2B2B")
45 
46     header_background = param.String(default="#00aa41")
47     header_neutral_color = param.String(default="#ffffff")
48     header_accent_base_color = param.String(default="#ffffff")
49     header_color = param.String(default="#ffffff")
50     font = param.String(default="Open Sans, sans-serif")
51     font_url = param.String(default=FONT_URL)
52     corner_radius = param.Integer(default=3)
53     shadow = param.Boolean(default=True)
54 
55     def create_bokeh_theme(self):
56         """Returns a custom bokeh theme based on the style parameters
57 
58         Returns:
59             Dict: A Bokeh Theme
60         """
61 
62         return {
63             "attrs": {
64                 "Figure": {
65                     "background_fill_color": self.background_color,
66                     "border_fill_color": self.neutral_fill_card_rest,
67                     "border_fill_alpha": 0,
68                     "outline_line_color": self.neutral_focus,
69                     "outline_line_alpha": 0.5,
70                     "outline_line_width": 1,
71                 },
72                 "Grid": {"grid_line_color": self.neutral_focus, "grid_line_alpha": 0.25},
73                 "Axis": {
74                     "major_tick_line_alpha": 0.5,
75                     "major_tick_line_color": self.neutral_foreground_rest,
76                     "minor_tick_line_alpha": 0.25,
77                     "minor_tick_line_color": self.neutral_foreground_rest,
78                     "axis_line_alpha": 0.1,
79                     "axis_line_color": self.neutral_foreground_rest,
80                     "major_label_text_color": self.neutral_foreground_rest,
81                     "major_label_text_font": self.font,
82                     # Should be added back when bokeh 2.3.3 is released and https://github.com/bokeh/bokeh/issues/11110 fixed
83                     # "major_label_text_font_size": "1.025em",
84                     "axis_label_standoff": 10,
85                     "axis_label_text_color": self.neutral_foreground_rest,
86                     "axis_label_text_font": self.font,
87                     "axis_label_text_font_size": "1.25em",
88                     "axis_label_text_font_style": "normal",
89                 },
90                 "Legend": {
91                     "spacing": 8,
92                     "glyph_width": 15,
93                     "label_standoff": 8,
94                     "label_text_color": self.neutral_foreground_rest,
95                     "label_text_font": self.font,
96                     "label_text_font_size": "1.025em",
97                     "border_line_alpha": 0.5,
98                     "border_line_color": self.neutral_focus,
99                     "background_fill_alpha": 0.25,
100                     "background_fill_color": self.neutral_fill_card_rest,
101                 },
102                 "ColorBar": {
103                     "title_text_color": self.neutral_foreground_rest,
104                     "title_text_font": self.font,
105                     "title_text_font_size": "1.025em",
106                     "title_text_font_style": "normal",
107                     "major_label_text_color": self.neutral_foreground_rest,
108                     "major_label_text_font": self.font,
109                     "major_label_text_font_size": "1.025em",
110                     # "background_fill_color": FAST_DARK_75,
111                     "major_tick_line_alpha": 0,
112                     "bar_line_alpha": 0,
113                 },
114                 "Title": {
115                     "text_color": self.neutral_foreground_rest,
116                     "text_font": self.font,
117                     "text_font_size": "1.15em",
118                 },
119             }
120         }
121 
122 
123 DEFAULT_STYLE = FastStyle()
124 DARK_STYLE = FastStyle(
125     accent_base_color="#E1477E",
126     background_color="#181818",
127     color="#ffffff",
128     header_background="#313131",
129     header_color="#ffffff",
130     neutral_fill_card_rest="#212121",
131     neutral_focus="#717171",
132     neutral_foreground_rest="#e5e5e5",
133     shadow = False,
134 )
135 
136 class FastDefaultTheme(DefaultTheme):
137 
138     base_css = param.Filename(default=_ROOT / 'fast_root_default.css')
139 
140     style = param.ClassSelector(default=DEFAULT_STYLE, class_=FastStyle)
141 
142     __abstract = True
143 
144     @property
145     def bokeh_theme(self):
146         return _BkTheme(json=self.style.create_bokeh_theme())
147 
148 
149 class FastDarkTheme(DarkTheme):
150 
151     base_css = param.Filename(default=_ROOT / 'fast_root_dark.css')
152 
153     style = param.ClassSelector(default=DARK_STYLE, class_=FastStyle)
154 
155     __abstract = True
156 
157     @property
158     def bokeh_theme(self):
159         return _BkTheme(json=self.style.create_bokeh_theme())
160
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/panel/template/fast/theme.py b/panel/template/fast/theme.py
--- a/panel/template/fast/theme.py
+++ b/panel/template/fast/theme.py
@@ -100,6 +100,7 @@
                     "background_fill_color": self.neutral_fill_card_rest,
                 },
                 "ColorBar": {
+                    "background_fill_color": self.background_color,
                     "title_text_color": self.neutral_foreground_rest,
                     "title_text_font": self.font,
                     "title_text_font_size": "1.025em",
@@ -107,7 +108,6 @@
                     "major_label_text_color": self.neutral_foreground_rest,
                     "major_label_text_font": self.font,
                     "major_label_text_font_size": "1.025em",
-                    # "background_fill_color": FAST_DARK_75,
                     "major_tick_line_alpha": 0,
                     "bar_line_alpha": 0,
                 },

{"golden_diff": "diff --git a/panel/template/fast/theme.py b/panel/template/fast/theme.py\n--- a/panel/template/fast/theme.py\n+++ b/panel/template/fast/theme.py\n@@ -100,6 +100,7 @@\n                     \"background_fill_color\": self.neutral_fill_card_rest,\n                 },\n                 \"ColorBar\": {\n+                    \"background_fill_color\": self.background_color,\n                     \"title_text_color\": self.neutral_foreground_rest,\n                     \"title_text_font\": self.font,\n                     \"title_text_font_size\": \"1.025em\",\n@@ -107,7 +108,6 @@\n                     \"major_label_text_color\": self.neutral_foreground_rest,\n                     \"major_label_text_font\": self.font,\n                     \"major_label_text_font_size\": \"1.025em\",\n-                    # \"background_fill_color\": FAST_DARK_75,\n                     \"major_tick_line_alpha\": 0,\n                     \"bar_line_alpha\": 0,\n                 },\n", "issue": "HoloViews Colorbar not styled for dark themed template\nPanel: 0.12.4\r\n\r\nThe ColorBar is unreadable when using the `FastListTemplate` with the `dark` theme.\r\n\r\nI would like this to work for an example I am contributing to the `scikit-image` docs.\r\n\r\n![image](https://user-images.githubusercontent.com/42288570/140877887-22a08468-97dc-422b-bc5b-0e02496a07a9.png)\r\n\r\n```python\r\nimport holoviews as hv\r\nimport panel as pn\r\nfrom skimage import data, filters\r\n\r\nimage = data.coins()\r\nedges = filters.sobel(image)*256\r\nbounds = (-1, -1, 1, 1)\r\n\r\nafter_img = hv.Image(edges, bounds=bounds).apply.opts(\r\n    cmap=\"binary_r\", responsive=True, title=\"After\", active_tools=[\"box_zoom\"], tools=[\"hover\"], colorbar=True\r\n)\r\n\r\nlayout=pn.panel(after_img, height=800, aspect_ratio=1)\r\n\r\npn.template.FastListTemplate(\r\n    site=\"Panel and Scikit-Image\",\r\n    main=[layout],\r\n    header_background=\"#292929\",\r\n    theme=\"dark\",\r\n).servable()\r\n```\r\n\r\n## How do I fix this?\r\n\r\nI would like to contribute a PR. I assume I would have to update the Bokeh Theme generation here https://github.com/holoviz/panel/blob/396ce2f37473a047e4721a1431e6795374686533/panel/template/fast/theme.py#L62.\r\n\r\nI can now see that I need to change to\r\n\r\n![image](https://user-images.githubusercontent.com/42288570/140878649-40f2f03f-cbf1-4520-83b0-5b0ffacadc12.png)\r\n\r\n![image](https://user-images.githubusercontent.com/42288570/140878711-8f380e61-f8da-448b-b2c2-151a017568a4.png)\r\n\n", "before_files": [{"content": "\"\"\"\nFunctionality for styling according to Fast.design\n\"\"\"\nimport pathlib\nimport param\n\nfrom bokeh.themes import Theme as _BkTheme\n\nfrom ..theme import DarkTheme, DefaultTheme\n\n_ROOT = pathlib.Path(__file__).parent / \"css\"\n\nCOLLAPSED_SVG_ICON = \"\"\"\n<svg style=\"stroke: var(--accent-fill-rest);\" width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n  <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n  <path d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n  <path d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n</svg>\n\"\"\" # noqa\n\nEXPANDED_SVG_ICON = \"\"\"\n<svg style=\"stroke: var(--accent-fill-rest);\" width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n  <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n  <path d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n</svg>\n\"\"\" # noqa\n\nFONT_URL = \"//fonts.googleapis.com/css?family=Open+Sans\"\n\nclass FastStyle(param.Parameterized):\n    \"\"\"\n    The FastStyle class provides the different colors and icons used\n    to style the Fast Templates.\n    \"\"\"\n\n    background_color = param.String(default=\"#ffffff\")\n    neutral_color = param.String(default=\"#000000\")\n    accent_base_color = param.String(default=\"#A01346\")\n    collapsed_icon = param.String(default=COLLAPSED_SVG_ICON)\n    expanded_icon = param.String(default=EXPANDED_SVG_ICON)\n    color = param.String(default=\"#00aa41\")\n    neutral_fill_card_rest = param.String(default=\"#F7F7F7\")\n    neutral_focus = param.String(default=\"#888888\")\n    neutral_foreground_rest = param.String(default=\"#2B2B2B\")\n\n    header_background = param.String(default=\"#00aa41\")\n    header_neutral_color = param.String(default=\"#ffffff\")\n    header_accent_base_color = param.String(default=\"#ffffff\")\n    header_color = param.String(default=\"#ffffff\")\n    font = param.String(default=\"Open Sans, sans-serif\")\n    font_url = param.String(default=FONT_URL)\n    corner_radius = param.Integer(default=3)\n    shadow = param.Boolean(default=True)\n\n    def create_bokeh_theme(self):\n        \"\"\"Returns a custom bokeh theme based on the style parameters\n\n        Returns:\n            Dict: A Bokeh Theme\n        \"\"\"\n\n        return {\n            \"attrs\": {\n                \"Figure\": {\n                    \"background_fill_color\": self.background_color,\n                    \"border_fill_color\": self.neutral_fill_card_rest,\n                    \"border_fill_alpha\": 0,\n                    \"outline_line_color\": self.neutral_focus,\n                    \"outline_line_alpha\": 0.5,\n                    \"outline_line_width\": 1,\n                },\n                \"Grid\": {\"grid_line_color\": self.neutral_focus, \"grid_line_alpha\": 0.25},\n                \"Axis\": {\n                    \"major_tick_line_alpha\": 0.5,\n                    \"major_tick_line_color\": self.neutral_foreground_rest,\n                    \"minor_tick_line_alpha\": 0.25,\n                    \"minor_tick_line_color\": self.neutral_foreground_rest,\n                    \"axis_line_alpha\": 0.1,\n                    \"axis_line_color\": self.neutral_foreground_rest,\n                    \"major_label_text_color\": self.neutral_foreground_rest,\n                    \"major_label_text_font\": self.font,\n                    # Should be added back when bokeh 2.3.3 is released and https://github.com/bokeh/bokeh/issues/11110 fixed\n                    # \"major_label_text_font_size\": \"1.025em\",\n                    \"axis_label_standoff\": 10,\n                    \"axis_label_text_color\": self.neutral_foreground_rest,\n                    \"axis_label_text_font\": self.font,\n                    \"axis_label_text_font_size\": \"1.25em\",\n                    \"axis_label_text_font_style\": \"normal\",\n                },\n                \"Legend\": {\n                    \"spacing\": 8,\n                    \"glyph_width\": 15,\n                    \"label_standoff\": 8,\n                    \"label_text_color\": self.neutral_foreground_rest,\n                    \"label_text_font\": self.font,\n                    \"label_text_font_size\": \"1.025em\",\n                    \"border_line_alpha\": 0.5,\n                    \"border_line_color\": self.neutral_focus,\n                    \"background_fill_alpha\": 0.25,\n                    \"background_fill_color\": self.neutral_fill_card_rest,\n                },\n                \"ColorBar\": {\n                    \"title_text_color\": self.neutral_foreground_rest,\n                    \"title_text_font\": self.font,\n                    \"title_text_font_size\": \"1.025em\",\n                    \"title_text_font_style\": \"normal\",\n                    \"major_label_text_color\": self.neutral_foreground_rest,\n                    \"major_label_text_font\": self.font,\n                    \"major_label_text_font_size\": \"1.025em\",\n                    # \"background_fill_color\": FAST_DARK_75,\n                    \"major_tick_line_alpha\": 0,\n                    \"bar_line_alpha\": 0,\n                },\n                \"Title\": {\n                    \"text_color\": self.neutral_foreground_rest,\n                    \"text_font\": self.font,\n                    \"text_font_size\": \"1.15em\",\n                },\n            }\n        }\n\n\nDEFAULT_STYLE = FastStyle()\nDARK_STYLE = FastStyle(\n    accent_base_color=\"#E1477E\",\n    background_color=\"#181818\",\n    color=\"#ffffff\",\n    header_background=\"#313131\",\n    header_color=\"#ffffff\",\n    neutral_fill_card_rest=\"#212121\",\n    neutral_focus=\"#717171\",\n    neutral_foreground_rest=\"#e5e5e5\",\n    shadow = False,\n)\n\nclass FastDefaultTheme(DefaultTheme):\n\n    base_css = param.Filename(default=_ROOT / 'fast_root_default.css')\n\n    style = param.ClassSelector(default=DEFAULT_STYLE, class_=FastStyle)\n\n    __abstract = True\n\n    @property\n    def bokeh_theme(self):\n        return _BkTheme(json=self.style.create_bokeh_theme())\n\n\nclass FastDarkTheme(DarkTheme):\n\n    base_css = param.Filename(default=_ROOT / 'fast_root_dark.css')\n\n    style = param.ClassSelector(default=DARK_STYLE, class_=FastStyle)\n\n    __abstract = True\n\n    @property\n    def bokeh_theme(self):\n        return _BkTheme(json=self.style.create_bokeh_theme())\n", "path": "panel/template/fast/theme.py"}], "after_files": [{"content": "\"\"\"\nFunctionality for styling according to Fast.design\n\"\"\"\nimport pathlib\nimport param\n\nfrom bokeh.themes import Theme as _BkTheme\n\nfrom ..theme import DarkTheme, DefaultTheme\n\n_ROOT = pathlib.Path(__file__).parent / \"css\"\n\nCOLLAPSED_SVG_ICON = \"\"\"\n<svg style=\"stroke: var(--accent-fill-rest);\" width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n  <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n  <path d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n  <path d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n</svg>\n\"\"\" # noqa\n\nEXPANDED_SVG_ICON = \"\"\"\n<svg style=\"stroke: var(--accent-fill-rest);\" width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n  <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n  <path d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n</svg>\n\"\"\" # noqa\n\nFONT_URL = \"//fonts.googleapis.com/css?family=Open+Sans\"\n\nclass FastStyle(param.Parameterized):\n    \"\"\"\n    The FastStyle class provides the different colors and icons used\n    to style the Fast Templates.\n    \"\"\"\n\n    background_color = param.String(default=\"#ffffff\")\n    neutral_color = param.String(default=\"#000000\")\n    accent_base_color = param.String(default=\"#A01346\")\n    collapsed_icon = param.String(default=COLLAPSED_SVG_ICON)\n    expanded_icon = param.String(default=EXPANDED_SVG_ICON)\n    color = param.String(default=\"#00aa41\")\n    neutral_fill_card_rest = param.String(default=\"#F7F7F7\")\n    neutral_focus = param.String(default=\"#888888\")\n    neutral_foreground_rest = param.String(default=\"#2B2B2B\")\n\n    header_background = param.String(default=\"#00aa41\")\n    header_neutral_color = param.String(default=\"#ffffff\")\n    header_accent_base_color = param.String(default=\"#ffffff\")\n    header_color = param.String(default=\"#ffffff\")\n    font = param.String(default=\"Open Sans, sans-serif\")\n    font_url = param.String(default=FONT_URL)\n    corner_radius = param.Integer(default=3)\n    shadow = param.Boolean(default=True)\n\n    def create_bokeh_theme(self):\n        \"\"\"Returns a custom bokeh theme based on the style parameters\n\n        Returns:\n            Dict: A Bokeh Theme\n        \"\"\"\n\n        return {\n            \"attrs\": {\n                \"Figure\": {\n                    \"background_fill_color\": self.background_color,\n                    \"border_fill_color\": self.neutral_fill_card_rest,\n                    \"border_fill_alpha\": 0,\n                    \"outline_line_color\": self.neutral_focus,\n                    \"outline_line_alpha\": 0.5,\n                    \"outline_line_width\": 1,\n                },\n                \"Grid\": {\"grid_line_color\": self.neutral_focus, \"grid_line_alpha\": 0.25},\n                \"Axis\": {\n                    \"major_tick_line_alpha\": 0.5,\n                    \"major_tick_line_color\": self.neutral_foreground_rest,\n                    \"minor_tick_line_alpha\": 0.25,\n                    \"minor_tick_line_color\": self.neutral_foreground_rest,\n                    \"axis_line_alpha\": 0.1,\n                    \"axis_line_color\": self.neutral_foreground_rest,\n                    \"major_label_text_color\": self.neutral_foreground_rest,\n                    \"major_label_text_font\": self.font,\n                    # Should be added back when bokeh 2.3.3 is released and https://github.com/bokeh/bokeh/issues/11110 fixed\n                    # \"major_label_text_font_size\": \"1.025em\",\n                    \"axis_label_standoff\": 10,\n                    \"axis_label_text_color\": self.neutral_foreground_rest,\n                    \"axis_label_text_font\": self.font,\n                    \"axis_label_text_font_size\": \"1.25em\",\n                    \"axis_label_text_font_style\": \"normal\",\n                },\n                \"Legend\": {\n                    \"spacing\": 8,\n                    \"glyph_width\": 15,\n                    \"label_standoff\": 8,\n                    \"label_text_color\": self.neutral_foreground_rest,\n                    \"label_text_font\": self.font,\n                    \"label_text_font_size\": \"1.025em\",\n                    \"border_line_alpha\": 0.5,\n                    \"border_line_color\": self.neutral_focus,\n                    \"background_fill_alpha\": 0.25,\n                    \"background_fill_color\": self.neutral_fill_card_rest,\n                },\n                \"ColorBar\": {\n                    \"background_fill_color\": self.background_color,\n                    \"title_text_color\": self.neutral_foreground_rest,\n                    \"title_text_font\": self.font,\n                    \"title_text_font_size\": \"1.025em\",\n                    \"title_text_font_style\": \"normal\",\n                    \"major_label_text_color\": self.neutral_foreground_rest,\n                    \"major_label_text_font\": self.font,\n                    \"major_label_text_font_size\": \"1.025em\",\n                    \"major_tick_line_alpha\": 0,\n                    \"bar_line_alpha\": 0,\n                },\n                \"Title\": {\n                    \"text_color\": self.neutral_foreground_rest,\n                    \"text_font\": self.font,\n                    \"text_font_size\": \"1.15em\",\n                },\n            }\n        }\n\n\nDEFAULT_STYLE = FastStyle()\nDARK_STYLE = FastStyle(\n    accent_base_color=\"#E1477E\",\n    background_color=\"#181818\",\n    color=\"#ffffff\",\n    header_background=\"#313131\",\n    header_color=\"#ffffff\",\n    neutral_fill_card_rest=\"#212121\",\n    neutral_focus=\"#717171\",\n    neutral_foreground_rest=\"#e5e5e5\",\n    shadow = False,\n)\n\nclass FastDefaultTheme(DefaultTheme):\n\n    base_css = param.Filename(default=_ROOT / 'fast_root_default.css')\n\n    style = param.ClassSelector(default=DEFAULT_STYLE, class_=FastStyle)\n\n    __abstract = True\n\n    @property\n    def bokeh_theme(self):\n        return _BkTheme(json=self.style.create_bokeh_theme())\n\n\nclass FastDarkTheme(DarkTheme):\n\n    base_css = param.Filename(default=_ROOT / 'fast_root_dark.css')\n\n    style = param.ClassSelector(default=DARK_STYLE, class_=FastStyle)\n\n    __abstract = True\n\n    @property\n    def bokeh_theme(self):\n        return _BkTheme(json=self.style.create_bokeh_theme())\n", "path": "panel/template/fast/theme.py"}]}