Skip to content

Commit c6e61b5

Browse files
feat: add bee theme
1 parent 7d6dc1a commit c6e61b5

File tree

3 files changed

+47
-15
lines changed

3 files changed

+47
-15
lines changed

src/common/helpers.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export function _isDefined(...args: any[]) {
5757

5858
export function _getThemes() {
5959
return [
60+
{ label: 'Tabee 🐝', value: 'tabee' },
6061
{ label: 'Dim', value: 'dim' },
6162
{ label: 'Dark', value: 'dark' },
6263
{ label: 'Halloween', value: 'halloween' },

src/components/options/left/Menu.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<ul class="menu p-4 w-80 bg-base-300 text-base-content">
33
<li v-for="menuItem in props.menuItems" :key="menuItem.component">
44
<a
5-
:class="{ active: menuStore.currentMenuItem?.title === menuItem.title }"
5+
:class="{ 'active !text-primary': menuStore.currentMenuItem?.title === menuItem.title }"
66
@click.prevent="onMenuClicked(menuItem)"
77
>
88
<component :is="icons[menuItem.icon]" class="menuItem-icon" />

tailwind.config.js

Lines changed: 45 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,47 @@
11
export default {
2-
content: ["./index.html", "./src/**/*.{vue,js,ts,jsx,tsx,html}"],
3-
theme: {
4-
extend: {},
5-
},
6-
plugins: [require("daisyui")],
7-
daisyui: {
8-
themes: ["dim", "light", "dark", "cupcake", "valentine", "halloween"],
9-
base: true, // applies background color and foreground color for root element by default
10-
styled: true, // include daisyUI colors and design decisions for all components
11-
utils: true, // adds responsive and modifier utility classes
12-
prefix: "", // prefix for daisyUI classnames (components, modifiers and responsive class names. Not colors)
13-
logs: true, // Shows info about daisyUI version and used config in the console when building your CSS
14-
themeRoot: ":root", // The element that receives theme color CSS variables
15-
},
2+
content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx,html}'],
3+
theme: {
4+
extend: {},
5+
},
6+
plugins: [require('daisyui')],
7+
daisyui: {
8+
themes: [
9+
'dim',
10+
'light',
11+
'dark',
12+
'cupcake',
13+
'valentine',
14+
'halloween',
15+
{
16+
tabee: {
17+
primary: '#fbbf24', // Amber-400 - Jaune d'abeille
18+
'primary-content': '#0a0a0a', // Texte foncé sur jaune
19+
secondary: '#f59e0b', // Amber-500 - Orange miel
20+
'secondary-content': '#0a0a0a', // Texte foncé sur orange
21+
accent: '#fde047', // Yellow-300 - Jaune clair
22+
'accent-content': '#0a0a0a', // Texte foncé
23+
neutral: '#1f1f1f', // Gris très foncé
24+
'neutral-content': '#e5e7eb', // Texte clair
25+
'base-100': '#0a0a0a', // Fond presque noir
26+
'base-200': '#141414', // Fond très sombre
27+
'base-300': '#1e1e1e', // Fond sombre
28+
'base-content': '#e5e7eb', // Texte principal clair
29+
info: '#3b82f6', // Bleu info
30+
'info-content': '#ffffff', // Texte blanc sur bleu
31+
success: '#10b981', // Vert succès
32+
'success-content': '#ffffff', // Texte blanc sur vert
33+
warning: '#f59e0b', // Orange warning (miel)
34+
'warning-content': '#0a0a0a', // Texte foncé sur orange
35+
error: '#ef4444', // Rouge erreur
36+
'error-content': '#ffffff', // Texte blanc sur rouge
37+
},
38+
},
39+
],
40+
base: true, // applies background color and foreground color for root element by default
41+
styled: true, // include daisyUI colors and design decisions for all components
42+
utils: true, // adds responsive and modifier utility classes
43+
prefix: '', // prefix for daisyUI classnames (components, modifiers and responsive class names. Not colors)
44+
logs: true, // Shows info about daisyUI version and used config in the console when building your CSS
45+
themeRoot: ':root', // The element that receives theme color CSS variables
46+
},
1647
};

0 commit comments

Comments
 (0)