Compare commits
3 Commits
32f2686f14
...
ca1e3f2952
| Author | SHA1 | Date | |
|---|---|---|---|
| ca1e3f2952 | |||
|
|
ac939341a0 | ||
|
|
2957054823 |
10
Makefile
10
Makefile
@@ -33,14 +33,8 @@ sync-to-github:
|
||||
|
||||
sync-to-gitea:
|
||||
@echo "Synchronizing to Gitea..."
|
||||
@if ! git remote | grep -q '^gitea$$'; then \
|
||||
echo "Adding Gitea remote..."; \
|
||||
git remote add gitea $(GITEA_REPO_URL); \
|
||||
fi
|
||||
git push gitea --all
|
||||
git push gitea --tags
|
||||
@echo "Synchronization to Gitea complete."
|
||||
|
||||
git fetch github
|
||||
git merge github/main
|
||||
|
||||
# Declaramos el target como PHONY ya que no corresponde a un archivo real (opcional pero recomendado)
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@ const appearanceSettingKeys = [
|
||||
'accentColorTareas',
|
||||
'accentColorPlanillas',
|
||||
'accentColorAsistencias',
|
||||
'accentColorConfiguracion',
|
||||
]
|
||||
|
||||
const loadSettingsFromLocalStorage = () => {
|
||||
@@ -76,6 +77,7 @@ export const useUi = defineStore('ui', {
|
||||
accentColorTareas: '#4CAF50', // Green
|
||||
accentColorPlanillas: '#FF9800', // Orange
|
||||
accentColorAsistencias: '#E91E63', // Pink
|
||||
accentColorConfiguracion: '#607D8B', // Blue Grey
|
||||
}
|
||||
|
||||
const loadedSettings = loadSettingsFromLocalStorage()
|
||||
@@ -157,6 +159,10 @@ export const useUi = defineStore('ui', {
|
||||
setAccentColorAsistencias(color) {
|
||||
this.accentColorAsistencias = color
|
||||
_saveAppearanceState(this)
|
||||
},
|
||||
setAccentColorConfiguracion(color) {
|
||||
this.accentColorConfiguracion = color
|
||||
_saveAppearanceState(this)
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
@@ -94,6 +94,11 @@
|
||||
<input type="color" id="accentColorAsistencias" v-model="ui.accentColorAsistencias" @input="ui.setAccentColorAsistencias($event.target.value)"
|
||||
class="w-full h-12 p-1 border rounded-lg cursor-pointer shadow-sm hover:opacity-80 transition-opacity border-[var(--secondary-color)] focus:border-[var(--primary-color)] focus:ring-1 focus:ring-[var(--primary-color)]">
|
||||
</div>
|
||||
<div class="setting-item">
|
||||
<label for="accentColorConfiguracion" class="block text-sm font-medium mb-1">Configuracion Accent</label>
|
||||
<input type="color" id="accentColorConfiguracion" v-model="ui.accentColorConfiguracion" @input="ui.setAccentColorConfiguracion($event.target.value)"
|
||||
class="w-full h-12 p-1 border rounded-lg cursor-pointer shadow-sm hover:opacity-80 transition-opacity border-[var(--secondary-color)] focus:border-[var(--primary-color)] focus:ring-1 focus:ring-[var(--primary-color)]">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user