This is an automated email from the ASF dual-hosted git repository. niallp pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/attic.git
The following commit(s) were added to refs/heads/main by this push: new ca86ded index.md: remove color scheme preview ca86ded is described below commit ca86ded1da0152ca2b34c46c0305b89cdcc8157c Author: Niall Pemberton <niall.pember...@gmail.com> AuthorDate: Sun May 11 21:31:47 2025 +0100 index.md: remove color scheme preview --- index.md | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/index.md b/index.md index e02c1b8..20c0386 100644 --- a/index.md +++ b/index.md @@ -2,6 +2,7 @@ layout: home title: The Apache Attic nav_order: 1 +has_toc: false --- {%- comment -%} Licensed to the Apache Software Foundation (ASF) under one or more @@ -97,31 +98,3 @@ out of the Incubator; some are retired instead. Those retired projects remain un oversight: the list may be found on the [Incubator's Projects page](https://incubator.apache.org/projects/index.html#retired). -*** -## Preview Website Color Schemes - -[JustTheDocs](https://just-the-docs.github.io/just-the-docs/docs/configuration/#color-scheme) -comes with **Light** and **Dark** schemes and this website uses a custom -[Attic scheme]({{site.repo}}/blob/main/_sass/color_schemes/attic.scss), -which extends the **Light** scheme. - -Click the buttons below to preview the different schemes: - -<button class="btn js-toggle-light-mode">Light Scheme</button> -<button class="btn js-toggle-dark-mode">Dark Scheme</button> -<button class="btn js-toggle-attic-mode">Attic Scheme</button> - -<script> -const toggleDarkMode = document.querySelector('.js-toggle-dark-mode'); -jtd.addEvent(toggleDarkMode, 'click', function(){ - jtd.setTheme('dark'); -}); -const toggleLightMode = document.querySelector('.js-toggle-light-mode'); -jtd.addEvent(toggleLightMode, 'click', function(){ - jtd.setTheme('light'); -}); -const toggleAtticMode = document.querySelector('.js-toggle-attic-mode'); -jtd.addEvent(toggleAtticMode, 'click', function(){ - jtd.setTheme('attic'); -}); -</script>