Skip to content

Commit

Permalink
Style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
p0nch000 committed Oct 24, 2024
1 parent 27b8f0d commit 55237d1
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions apps/docs/components/LogoDownloadModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ const styles = stylex.create({
fontSize: '14px',
fontWeight: 'bold',
marginBottom: '8px',
color: 'var(--ifm-color-primary-light)',
},
buttonGroup: {
display: 'flex',
Expand Down Expand Up @@ -131,7 +130,9 @@ export default function LogoDownloadModal({ isOpen, onClose }) {
}}
>
<div {...stylex.props(styles.section)}>
<h3 {...stylex.props(styles.sectionTitle)}>Dark Mode</h3>
<h3 {...stylex.props(styles.sectionTitle)} style={{
color: colorMode === 'dark' ? '#FFFFFF' : '#000000',
}}>Dark Mode</h3>
<div {...stylex.props(styles.buttonGroup)}>
<button
{...stylex.props(styles.button)}
Expand All @@ -150,7 +151,9 @@ export default function LogoDownloadModal({ isOpen, onClose }) {
</div>
</div>
<div {...stylex.props(styles.section)}>
<h3 {...stylex.props(styles.sectionTitle)}>Light Mode</h3>
<h3 {...stylex.props(styles.sectionTitle)} style={{
color: colorMode === 'dark' ? '#FFFFFF' : '#000000',
}}>Light Mode</h3>
<div {...stylex.props(styles.buttonGroup)}>
<button
{...stylex.props(styles.button)}
Expand All @@ -169,7 +172,9 @@ export default function LogoDownloadModal({ isOpen, onClose }) {
</div>
</div>
<div {...stylex.props(styles.section)}>
<h3 {...stylex.props(styles.sectionTitle)}>Assets</h3>
<h3 {...stylex.props(styles.sectionTitle)} style={{
color: colorMode === 'dark' ? '#FFFFFF' : '#000000',
}}>Assets</h3>
<div {...stylex.props(styles.buttonGroup)}>
<button
{...stylex.props(styles.button)}
Expand Down

0 comments on commit 55237d1

Please sign in to comment.