From 93cbb99cdf992b5b3cbcf571477160092eb7ca16 Mon Sep 17 00:00:00 2001 From: boruok Date: Tue, 16 Jul 2024 12:10:57 +0900 Subject: [PATCH] fix style docs --- docs_md/03-styles.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs_md/03-styles.md b/docs_md/03-styles.md index 80675e68..4868d1e6 100644 --- a/docs_md/03-styles.md +++ b/docs_md/03-styles.md @@ -46,11 +46,11 @@ end ## Create your own styles -The most components have their styles. You can explore it on [Druid API](https://insality.github.io/druid/) in table style section ([button example](https://insality.github.io/druid/modules/druid.button.html#Style)). Or you can see, what fields component uses in code in function `on_style_change` +The most components have their styles. You can explore it on [Druid API](https://insality.github.io/druid/) in table style section ([button example](https://insality.github.io/druid/modules/Button.html#style)). Or you can see, what fields component uses in code in function `on_style_change` To create you style, create lua module, what return <_component_name_, _component_style_> table -Example: [default druid style](styles/default/style.lua) +Example: [default druid style](https://github.com/Insality/druid/blob/master/druid/styles/default/style.lua) Override all fields you want and set your style with one of next ways: