Skip to content

Commit ce711c3

Browse files
committed
Add cookies and color utilities to the reference page.
1 parent 8496e0d commit ce711c3

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

hyperdiv_docs/pages/reference/components.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ def reference_component(component_name):
155155
"location",
156156
"clipboard",
157157
"local_storage",
158+
"cookies",
158159
],
159160
"Plugins": ["Plugin"],
160161
}
@@ -240,6 +241,10 @@ def reference_component(component_name):
240241
"Animation": ["animation", "keyframe"],
241242
}
242243

244+
utilities = {
245+
"Color Utilities": ["color_mix", "lighten", "darken"],
246+
}
247+
243248

244249
def render_menu(menu):
245250
for section_name, component_names in menu.items():
@@ -303,3 +308,12 @@ def components():
303308
)
304309

305310
render_menu(ui_components)
311+
312+
with hd.box(gap=1):
313+
hd.markdown(
314+
"""
315+
## Utility Functions
316+
"""
317+
)
318+
319+
render_menu(utilities)

0 commit comments

Comments
 (0)