From 9c03b03b99dfcf32ebef1e4af05e48f84db98c3f Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Tue, 25 Jul 2023 16:47:12 +0300 Subject: [PATCH] Add theming tab --- assets/styles/layout/_doc.scss | 2 +- components/doc/DocComponent.vue | 15 ++++++--- .../{StyleDoc.vue => theming/StyledDoc.vue} | 2 +- doc/checkbox/theming/UnstyledDoc.vue | 5 +++ doc/checkbox/theming/index.vue | 33 +++++++++++++++++++ pages/checkbox/index.vue | 20 ++++++----- 6 files changed, 63 insertions(+), 14 deletions(-) rename doc/checkbox/{StyleDoc.vue => theming/StyledDoc.vue} (93%) create mode 100644 doc/checkbox/theming/UnstyledDoc.vue create mode 100644 doc/checkbox/theming/index.vue diff --git a/assets/styles/layout/_doc.scss b/assets/styles/layout/_doc.scss index 24186eb9e..0caa2a2ac 100644 --- a/assets/styles/layout/_doc.scss +++ b/assets/styles/layout/_doc.scss @@ -13,7 +13,7 @@ background-color: transparent; border: 0 none; display: block; - padding: 1rem 0; + padding: 1rem 2rem; min-width: 12rem; text-align: center; color: var(--text-color-secondary); diff --git a/components/doc/DocComponent.vue b/components/doc/DocComponent.vue index 3891826ba..a5bf8746c 100644 --- a/components/doc/DocComponent.vue +++ b/components/doc/DocComponent.vue @@ -12,8 +12,11 @@
  • -
  • - +
  • + +
  • +
  • +
  • @@ -34,6 +37,10 @@
    + +
    + +
    @@ -42,14 +49,14 @@ diff --git a/doc/checkbox/StyleDoc.vue b/doc/checkbox/theming/StyledDoc.vue similarity index 93% rename from doc/checkbox/StyleDoc.vue rename to doc/checkbox/theming/StyledDoc.vue index ca599aebb..4f7e3031d 100644 --- a/doc/checkbox/StyleDoc.vue +++ b/doc/checkbox/theming/StyledDoc.vue @@ -1,5 +1,5 @@