theme: change themes
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en" data-theme="garden">
|
<html lang="en" data-theme="retro">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ const toggle = (isChecked: boolean) => {
|
|||||||
localStorage.setItem('is-dark', isChecked ? 'true' : 'false')
|
localStorage.setItem('is-dark', isChecked ? 'true' : 'false')
|
||||||
}
|
}
|
||||||
|
|
||||||
const darkMode = 'forest'
|
const darkMode = 'coffee'
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|||||||
@@ -18,8 +18,8 @@
|
|||||||
|
|
||||||
@plugin 'daisyui' {
|
@plugin 'daisyui' {
|
||||||
themes:
|
themes:
|
||||||
garden --default,
|
retro --default,
|
||||||
forest --prefersdark;
|
coffee --prefersdark;
|
||||||
}
|
}
|
||||||
|
|
||||||
@config '../../tailwind.config.js';
|
@config '../../tailwind.config.js';
|
||||||
|
|||||||
Reference in New Issue
Block a user