update to pico 2
This commit is contained in:
parent
bc50388f58
commit
1485a7efbe
|
@ -9,7 +9,7 @@
|
|||
<link rel="webmention" href="/webmention/" />
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="/index.xml">
|
||||
|
||||
<link rel='stylesheet' href='/static/pico.min.css'>
|
||||
<link rel='stylesheet' href='/static/pico-2.min.css'>
|
||||
<link rel='stylesheet' href='/static/style.css'>
|
||||
<style>
|
||||
:root {
|
||||
|
@ -20,25 +20,21 @@
|
|||
--background: {{.SiteConfig.HeaderColor}};
|
||||
--background-dark: color-mix(in srgb,var(--background),#000 50%);
|
||||
--background-light: color-mix(in srgb,var(--background),#fff 50%);
|
||||
--pico-primary: {{.SiteConfig.PrimaryColor}};
|
||||
--pico-primary-hover: color-mix(in srgb,var(--primary),#000 20%);
|
||||
--pico-primary-focus: color-mix(in srgb,var(--primary),#fff 40%);
|
||||
--pico-primary-inverse: #FFF;
|
||||
--pico-background: {{.SiteConfig.HeaderColor}};
|
||||
--pico-background-dark: color-mix(in srgb,var(--background),#000 50%);
|
||||
--pico-background-light: color-mix(in srgb,var(--background),#fff 50%);
|
||||
|
||||
}
|
||||
|
||||
[data-theme="light"],
|
||||
:root:not([data-theme="dark"]) {
|
||||
--primary: {{.SiteConfig.PrimaryColor}};
|
||||
--primary-hover: color-mix(in srgb,var(--primary),#000 20%);
|
||||
--primary-focus: color-mix(in srgb,var(--primary),#fff 40%);
|
||||
--primary-inverse: #FFF;
|
||||
--pico-primary: {{.SiteConfig.PrimaryColor}};
|
||||
--pico-primary-hover: color-mix(in srgb,var(--primary),#000 20%);
|
||||
--pico-primary-focus: color-mix(in srgb,var(--primary),#fff 40%);
|
||||
--pico-primary-inverse: #FFF;
|
||||
--pico-primary: {{.SiteConfig.PrimaryColor}};
|
||||
--pico-primary-background: {{.SiteConfig.PrimaryColor}};
|
||||
--pico-primary-hover: color-mix(in srgb,var(--primary),#000 20%);
|
||||
--pico-primary-hover-background: color-mix(in srgb,var(--primary),#000 20%);
|
||||
--pico-primary-focus: color-mix(in srgb,var(--primary),#fff 40%);
|
||||
--pico-primary-underline: color-mix(in srgb,var(--primary),#fff 40%);
|
||||
--pico-primary-inverse: #FFF;
|
||||
--pico-background: {{.SiteConfig.HeaderColor}};
|
||||
--pico-background-dark: color-mix(in srgb,var(--background),#000 50%);
|
||||
--pico-background-light: color-mix(in srgb,var(--background),#fff 50%);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
}
|
||||
|
||||
.danger {
|
||||
background-color: var(--del-color) !important;
|
||||
background-color: var(--pico-del-color) !important;
|
||||
}
|
||||
|
||||
.drop-file {
|
||||
|
|
Loading…
Reference in New Issue