diff --git a/.claude/settings.json b/.claude/settings.json new file mode 100644 index 00000000..0cbf4db5 --- /dev/null +++ b/.claude/settings.json @@ -0,0 +1,5 @@ +{ + "enabledPlugins": { + "typescript-lsp@claude-plugins-official": true + } +} diff --git a/src/features/greeting/greeting.scss b/src/features/greeting/greeting.scss index d80a5cb1..d1e4b894 100644 --- a/src/features/greeting/greeting.scss +++ b/src/features/greeting/greeting.scss @@ -3,7 +3,7 @@ font-size: 1.6em; cursor: initial; user-select: none; - font-weight: 600; + font-weight: 700; &:not(.preview) { animation: fadeIn 1s; diff --git a/src/features/greeting/options/GreetingOptions.jsx b/src/features/greeting/options/GreetingOptions.jsx index 2b82c5c1..563f2127 100644 --- a/src/features/greeting/options/GreetingOptions.jsx +++ b/src/features/greeting/options/GreetingOptions.jsx @@ -275,13 +275,13 @@ const GreetingOptions = ({ currentSubSection, onSubSectionChange, sectionName }) name="greetingFontWeight" category="greeting" items={[ - { value: '600', text: t(fontWeight + '.semi_bold') }, + { value: '700', text: t(fontWeight + '.bold') }, { value: '100', text: t(fontWeight + '.thin') }, { value: '200', text: t(fontWeight + '.extra_light') }, { value: '300', text: t(fontWeight + '.light') }, { value: '400', text: t(fontWeight + '.normal') }, { value: '500', text: t(fontWeight + '.medium') }, - { value: '700', text: t(fontWeight + '.bold') }, + { value: '600', text: t(fontWeight + '.semi_bold') }, { value: '800', text: t(fontWeight + '.extra_bold') }, ]} /> @@ -350,8 +350,8 @@ const GreetingOptions = ({ currentSubSection, onSubSectionChange, sectionName }) type="settings" onClick={() => { localStorage.removeItem('greetingFont'); - localStorage.removeItem('greetingFontWeight'); localStorage.removeItem('greetingFontStyle'); + localStorage.setItem('greetingFontWeight', '700'); localStorage.setItem('greetingColor', '#ffffff'); EventBus.emit('refresh', 'greeting'); toast(t('toasts.reset')); @@ -419,8 +419,8 @@ const GreetingOptions = ({ currentSubSection, onSubSectionChange, sectionName }) onClick={(e) => { e.stopPropagation(); localStorage.removeItem('greetingFont'); - localStorage.removeItem('greetingFontWeight'); localStorage.removeItem('greetingFontStyle'); + localStorage.setItem('greetingFontWeight', '700'); localStorage.setItem('greetingColor', '#ffffff'); EventBus.emit('refresh', 'greeting'); toast(t('toasts.reset')); diff --git a/src/features/quote/options/QuoteOptions.jsx b/src/features/quote/options/QuoteOptions.jsx index abba6b78..a3ebbfc7 100644 --- a/src/features/quote/options/QuoteOptions.jsx +++ b/src/features/quote/options/QuoteOptions.jsx @@ -234,13 +234,13 @@ const QuoteOptions = ({ currentSubSection, onSubSectionChange, sectionName }) => name="quoteFontWeight" category="quote" items={[ - { value: '600', text: t(fontWeight + '.semi_bold') }, + { value: '700', text: t(fontWeight + '.bold') }, { value: '100', text: t(fontWeight + '.thin') }, { value: '200', text: t(fontWeight + '.extra_light') }, { value: '300', text: t(fontWeight + '.light') }, { value: '400', text: t(fontWeight + '.normal') }, { value: '500', text: t(fontWeight + '.medium') }, - { value: '700', text: t(fontWeight + '.bold') }, + { value: '600', text: t(fontWeight + '.semi_bold') }, { value: '800', text: t(fontWeight + '.extra_bold') }, ]} /> @@ -490,8 +490,8 @@ const QuoteOptions = ({ currentSubSection, onSubSectionChange, sectionName }) => type="settings" onClick={() => { localStorage.removeItem('quoteFont'); - localStorage.removeItem('quoteFontWeight'); localStorage.removeItem('quoteFontStyle'); + localStorage.setItem('quoteFontWeight', '700'); localStorage.setItem('quoteColor', '#ffffff'); EventBus.emit('refresh', 'quote'); toast(t('toasts.reset')); @@ -550,8 +550,8 @@ const QuoteOptions = ({ currentSubSection, onSubSectionChange, sectionName }) => onClick={(e) => { e.stopPropagation(); localStorage.removeItem('quoteFont'); - localStorage.removeItem('quoteFontWeight'); localStorage.removeItem('quoteFontStyle'); + localStorage.setItem('quoteFontWeight', '700'); localStorage.setItem('quoteColor', '#ffffff'); EventBus.emit('refresh', 'quote'); toast(t('toasts.reset')); diff --git a/src/features/quote/scss/index.scss b/src/features/quote/scss/index.scss index b23a283c..e3214f95 100644 --- a/src/features/quote/scss/index.scss +++ b/src/features/quote/scss/index.scss @@ -11,7 +11,7 @@ --shadow-shift: 0.125rem; color: #fff; - font-weight: 600; + font-weight: 700; max-width: 45vw; text-rendering: optimizelegibility; -webkit-font-smoothing: antialiased; diff --git a/src/features/time/clock.scss b/src/features/time/clock.scss index 344cf354..d1b77f6e 100644 --- a/src/features/time/clock.scss +++ b/src/features/time/clock.scss @@ -5,7 +5,7 @@ margin: 0; cursor: initial; user-select: none; - font-weight: 600; + font-weight: 700; animation: fadeIn 1s; --shadow-shift: 0.4rem; diff --git a/src/features/time/options/TimeOptions.jsx b/src/features/time/options/TimeOptions.jsx index 5ca40c48..aa243a0a 100644 --- a/src/features/time/options/TimeOptions.jsx +++ b/src/features/time/options/TimeOptions.jsx @@ -234,13 +234,13 @@ const TimeOptions = ({ currentSubSection, onSubSectionChange, sectionName }) => name="clockFontWeight" category="clock" items={[ - { value: '600', text: t(fontWeight + '.semi_bold') }, + { value: '700', text: t(fontWeight + '.bold') }, { value: '100', text: t(fontWeight + '.thin') }, { value: '200', text: t(fontWeight + '.extra_light') }, { value: '300', text: t(fontWeight + '.light') }, { value: '400', text: t(fontWeight + '.normal') }, { value: '500', text: t(fontWeight + '.medium') }, - { value: '700', text: t(fontWeight + '.bold') }, + { value: '600', text: t(fontWeight + '.semi_bold') }, { value: '800', text: t(fontWeight + '.extra_bold') }, ]} /> @@ -299,8 +299,8 @@ const TimeOptions = ({ currentSubSection, onSubSectionChange, sectionName }) => type="settings" onClick={() => { localStorage.removeItem('clockFont'); - localStorage.removeItem('clockFontWeight'); localStorage.removeItem('clockFontStyle'); + localStorage.setItem('clockFontWeight', '700'); localStorage.setItem('clockColor', '#ffffff'); localStorage.setItem('hourColour', '#ffffff'); localStorage.setItem('minuteColour', '#ffffff'); @@ -349,8 +349,8 @@ const TimeOptions = ({ currentSubSection, onSubSectionChange, sectionName }) => onClick={(e) => { e.stopPropagation(); localStorage.removeItem('clockFont'); - localStorage.removeItem('clockFontWeight'); localStorage.removeItem('clockFontStyle'); + localStorage.setItem('clockFontWeight', '700'); localStorage.setItem('clockColor', '#ffffff'); localStorage.setItem('hourColour', '#ffffff'); localStorage.setItem('minuteColour', '#ffffff');