diff --git a/.gitignore b/.gitignore index fbe3bb8..7531e82 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,8 @@ tmp # we do not want these *_templ.txt *_templ.go -public/tallytome.css \ No newline at end of file +public/tallytome.css + +node_modules +package-lock.json +package.json diff --git a/README.md b/README.md index 5f91620..b53d23f 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,3 @@ Small tracker site build with GO and HTMX. - [ ] Database connection - [ ] Page to track critical hits or misses - [ ] Remove the main PicoCSS files from Git - ---- - diff --git a/view/stylesheets/custom/_dark.scss b/view/stylesheets/custom/_dark.scss index b2a82c9..2ce51d3 100644 --- a/view/stylesheets/custom/_dark.scss +++ b/view/stylesheets/custom/_dark.scss @@ -1,7 +1,7 @@ @use "sass:map"; -@use "../pico/colors" as *; -@use "../pico/settings" as *; -@use "../pico/helpers/functions"; +@use "../node_modules/@picocss/pico/scss/colors" as *; +@use "../node_modules/@picocss/pico/scss/settings" as *; +@use "../node_modules/@picocss/pico/scss/helpers/functions"; @use "theme-colors"; // Default: Dark theme diff --git a/view/stylesheets/custom/_light.scss b/view/stylesheets/custom/_light.scss index b1beab4..63de63b 100644 --- a/view/stylesheets/custom/_light.scss +++ b/view/stylesheets/custom/_light.scss @@ -1,7 +1,7 @@ @use "sass:map"; -@use "../pico/colors" as *; -@use "../pico/settings" as *; -@use "../pico/helpers/functions"; +@use "../node_modules/@picocss/pico/scss/colors" as *; +@use "../node_modules/@picocss/pico/scss/settings" as *; +@use "../node_modules/@picocss/pico/scss/helpers/functions"; @use "theme-colors"; // Default: Light theme diff --git a/view/stylesheets/custom/_schemes.scss b/view/stylesheets/custom/_schemes.scss index 8cdad62..534a841 100644 --- a/view/stylesheets/custom/_schemes.scss +++ b/view/stylesheets/custom/_schemes.scss @@ -1,5 +1,5 @@ @use "sass:map"; -@use "../pico/settings" as *; +@use "../node_modules/@picocss/pico/scss/settings" as *; @use "light"; @use "dark"; @@ -35,4 +35,4 @@ #{$parent-selector} [type="radio"], #{$parent-selector} [type="range"] { accent-color: var(#{$css-var-prefix}primary); -} \ No newline at end of file +} diff --git a/view/stylesheets/custom/_styles.scss b/view/stylesheets/custom/_styles.scss index 4a64726..b8c3d2c 100644 --- a/view/stylesheets/custom/_styles.scss +++ b/view/stylesheets/custom/_styles.scss @@ -1,7 +1,7 @@ @use "sass:map"; -@use "../pico/colors" as *; -@use "../pico/settings" as *; -@use "../pico/helpers/functions"; +@use "../node_modules/@picocss/pico/scss/colors" as *; +@use "../node_modules/@picocss/pico/scss/settings" as *; +@use "../node_modules/@picocss/pico/scss/helpers/functions"; @use "theme-colors"; @@ -472,4 +472,4 @@ input:not([type="submit"], } } } -} \ No newline at end of file +} diff --git a/view/stylesheets/custom/_theme-colors.scss b/view/stylesheets/custom/_theme-colors.scss index 3fc18f7..025115d 100644 --- a/view/stylesheets/custom/_theme-colors.scss +++ b/view/stylesheets/custom/_theme-colors.scss @@ -1,6 +1,6 @@ @use "sass:map"; -@use "../pico/colors" as *; -@use "../pico/settings" as *; +@use "../node_modules/@picocss/pico/scss/colors" as *; +@use "../node_modules/@picocss/pico/scss/settings" as *; $color-mappings: ( "crabnpaper": ( diff --git a/view/stylesheets/pico/_index.scss b/view/stylesheets/pico/_index.scss deleted file mode 100644 index 33d57be..0000000 --- a/view/stylesheets/pico/_index.scss +++ /dev/null @@ -1,49 +0,0 @@ -@use "helpers/copyright"; - -// Config -@forward "settings"; - -// Theming -@use "themes/default"; - -// Layout -@use "layout/document"; // html -@use "layout/landmarks"; // body, header, main, footer -@use "layout/section"; // section -@use "layout/container"; // .container, .container-fluid -@use "layout/grid"; // .grid -@use "layout/overflow-auto"; // .overflow-auto - -// Content -@use "content/typography"; // headings, p, ul, blockquote, ... -@use "content/link"; // a, role="link" -@use "content/button"; // button, role="button", type="button", type="submit" ... -@use "content/table"; // table, tr, td, ... -@use "content/embedded"; // audio, canvas, iframe, img, svg, video -@use "content/code"; // pre, code, ... -@use "content/figure"; // figure, figcaption -@use "content/miscs"; // hr, template, [hidden], dialog, canvas - -// Forms -@use "forms/basics"; // input, select, textarea, label, fieldset, legend -@use "forms/checkbox-radio-switch"; // type="checkbox", type="radio", role="switch" -@use "forms/input-color"; // type="color" -@use "forms/input-date"; // type="date", type="datetime-local", type="month", type="time", type="week" -@use "forms/input-file"; // type="file" -@use "forms/input-range"; // type="range" -@use "forms/input-search"; // type="search" - -// Components -@use "components/accordion"; // details, summary -@use "components/card"; // article -@use "components/dropdown"; // details.dropdown -@use "components/group"; // role="group" -@use "components/loading"; // aria-busy=true -@use "components/modal"; // dialog -@use "components/nav"; // nav -@use "components/progress"; // progress -@use "components/tooltip"; // data-tooltip - -// Utilities -@use "utilities/accessibility"; // -ms-touch-action, aria-* -@use "utilities/reduce-motion"; // prefers-reduced-motion diff --git a/view/stylesheets/pico/_settings.scss b/view/stylesheets/pico/_settings.scss deleted file mode 100644 index d1fa911..0000000 --- a/view/stylesheets/pico/_settings.scss +++ /dev/null @@ -1,148 +0,0 @@ -@use "sass:map"; - -// Settings -// –––––––––––––––––––– - -// Theme color -$theme-color: "azure" !default; // amber, azure, blue, cyan, fuchsia, green, grey, indigo, jade, lime, orange, pink, pumpkin, purple, red, sand, slate, violet, yellow, zinc - -// Prefix for CSS variables -$css-var-prefix: "--pico-" !default; // Must start with "--" - -// Define the root element used to target
,
,