TagSpaces is an offline, open source, document manager with tagging support
chore: introduction the use of secondary color for charts
Ilian Sapundshievb5b9dafc8e29
diff --git a/src/renderer/components/HowToStart.tsx b/src/renderer/components/HowToStart.tsxindex 9ce4f1e60..c45953184 100644--- a/src/renderer/components/HowToStart.tsx+++ b/src/renderer/components/HowToStart.tsx@@ -13,14 +13,6 @@ import Links from 'assets/links';import * as React from 'react';import { useTranslation } from 'react-i18next';-/*export const styles: any = (theme: any) => ({- recentTitle: {- color: theme.palette.text.primary,- textTransform: 'uppercase',- textAlign: 'center'- }-});*/-const selectByTID: any = (tid) =>document.querySelector('[data-tid="' + tid + '"]');@@ -283,16 +275,16 @@ function HowToStart() {z-index: 1;}@keyframes pulsate {- 0% { box-shadow: 0 0 7px 6px #da15d8; }+ 0% { box-shadow: 0 0 7px 6px ${theme.palette.secondary.main}; }50% { box-shadow: 0 0 0 transparent; }- 100% { box-shadow: 0 0 7px 6px #da15d8; }+ 100% { box-shadow: 0 0 7px 6px ${theme.palette.secondary.main}; }}`}</style><Typographyvariant="inherit"sx={{- color: theme.palette.text.primary,+ color: 'text.primary',textTransform: 'uppercase',textAlign: 'center',paddingTop: '20px',@@ -306,7 +298,7 @@ function HowToStart() {<Step key={step.label}><StepLabel>{step.label}</StepLabel><StepContent>- <Typography sx={{ color: theme.palette.text.primary }}>+ <Typography sx={{ color: 'text.primary' }}>{step.description}</Typography><Box sx={{ mb: 2 }}>diff --git a/src/renderer/locales/en/core.json b/src/renderer/locales/en/core.jsonindex 2bd7e5ce8..38234c531 100644--- a/src/renderer/locales/en/core.json+++ b/src/renderer/locales/en/core.json@@ -1147,5 +1147,6 @@"hideToolbox": "Hide Toolbox\nUseful for making screenshots","descriptionAvailable": "Description available","aiChatAvailable": "AI Chat available",+ "filesPerMonth": "Files per month","-": "-"}diff --git a/src/renderer/utils/Themes.ts b/src/renderer/utils/Themes.tsindex 56e3385b3..3325b8a32 100644--- a/src/renderer/utils/Themes.ts+++ b/src/renderer/utils/Themes.ts@@ -62,10 +62,10 @@ darkThemes['darklegacy'] = {mode: 'dark',primary: {light: AppConfig.darkThemeLightColor,- main: AppConfig.darkThemeMainColor,+ main: AppConfig.darkThemeMainColor, // #ff9abedark: AppConfig.darkThemeMainColor,},- secondary: { main: '#bbb' },+ secondary: { main: '#006541' },background: { default: '#282A36' },divider: '#555',};@@ -76,7 +76,7 @@ darkThemes['dracula'] = {main: '#BD93F9',dark: '#BD93F9',},- secondary: { main: '#bbb' },+ secondary: { main: '#426c06' },divider: '#555',background: { default: '#282A36' },text: { primary: '#f8f8f2' },@@ -88,7 +88,7 @@ darkThemes['darkblue'] = {main: '#3bc8ff',dark: '#3bc8ff',},- secondary: { main: '#bbb' },+ secondary: { main: '#c43700' },background: { default: '#001E3C' },text: { primary: '#f8f8f2' },divider: '#555',@@ -100,7 +100,7 @@ darkThemes['oilgreen'] = {main: '#138086',dark: '#04484cff',},- secondary: { main: '#bbb' },+ secondary: { main: '#ec7f79' },background: { default: '#000' },text: { primary: '#f8f8f2' },divider: '#555',@@ -112,7 +112,7 @@ darkThemes['orangegreen'] = {main: '#f3b759',dark: '#fd8f52',},- secondary: { main: '#bbb' },+ secondary: { main: '#0c48a6' },background: { default: '#0d4a3a' },text: { primary: '#f8f8f2' },divider: '#555',@@ -124,7 +124,7 @@ darkThemes['limecoal'] = {main: '#a8b735ff',dark: '#a8b735ff',},- secondary: { main: '#bbb' },+ secondary: { main: '#5748ca' },background: { default: '#233d4d' },text: { primary: '#f8f8f2' },divider: '#555',@@ -135,10 +135,10 @@ lightThemes['legacy'] = {mode: 'light',primary: {light: AppConfig.lightThemeLightColor,- main: AppConfig.lightThemeMainColor,+ main: AppConfig.lightThemeMainColor, // #1dd19fdark: AppConfig.lightThemeMainColor,},- secondary: { main: '#777' },+ secondary: { main: '#e22e60' },background: { default: '#fff' },divider: '#ddd',};@@ -149,7 +149,7 @@ lightThemes['newlight'] = {main: '#3bc8ff',dark: '#3bc8ff',},- secondary: { main: '#777' },+ secondary: { main: '#c43700' },background: { default: '#f4f4f4ff' },divider: '#ddd',};@@ -160,7 +160,7 @@ lightThemes['orange'] = {main: '#ed7a13',dark: '#b45808ff',},- secondary: { main: '#777' },+ secondary: { main: '#1285ec' },background: { default: '#f4f4f4ff' },divider: '#ddd',};@@ -171,18 +171,18 @@ lightThemes['herbal'] = {main: '#6a8042',dark: '#1e3006',},- secondary: { main: '#777' },+ secondary: { main: '#957fbd' },background: { default: '#f4f4f4ff' },divider: '#ddd',};lightThemes['lemonblue'] = {mode: 'light',primary: {- light: '#486989ff',+ light: '#6a92baff',main: '#486989ff',dark: '#486989ff',},- secondary: { main: '#777' },+ secondary: { main: '#b79676' },background: { default: '#f6f1dfff' },divider: '#ddd',};@@ -193,7 +193,7 @@ lightThemes['vanilablue'] = {main: '#4c9db0',dark: '#4c9db0',},- secondary: { main: '#777' },- background: { default: '#ffebaf' },+ secondary: { main: '#b3624f' },+ background: { default: '#fbf0cdff' },divider: '#ddd',};