mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-08-06 04:25:22 +00:00
bad variable name
This commit is contained in:
parent
3a76d13097
commit
141dc8f8bb
@ -166,11 +166,11 @@ const QuickAccessBar = ({
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const ROUND_BORDER_RADIUS = '50%';
|
const CIRCULAR_BORDER_RADIUS = '50%';
|
||||||
const NOT_ROUND_BORDER_RADIUS = '8px';
|
const ROUND_BORDER_RADIUS = '8px';
|
||||||
|
|
||||||
const getBorderRadius = (config: ButtonConfig): string => {
|
const getBorderRadius = (config: ButtonConfig): string => {
|
||||||
return config.isRound ? ROUND_BORDER_RADIUS : NOT_ROUND_BORDER_RADIUS;
|
return config.isRound ? CIRCULAR_BORDER_RADIUS : ROUND_BORDER_RADIUS;
|
||||||
};
|
};
|
||||||
|
|
||||||
const getButtonStyle = (config: ButtonConfig) => {
|
const getButtonStyle = (config: ButtonConfig) => {
|
||||||
@ -214,14 +214,14 @@ const QuickAccessBar = ({
|
|||||||
return {
|
return {
|
||||||
backgroundColor: 'var(--icon-files-bg)',
|
backgroundColor: 'var(--icon-files-bg)',
|
||||||
color: 'var(--icon-files-color)',
|
color: 'var(--icon-files-color)',
|
||||||
borderRadius: ROUND_BORDER_RADIUS,
|
borderRadius: CIRCULAR_BORDER_RADIUS,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
if (config.id === 'activity') {
|
if (config.id === 'activity') {
|
||||||
return {
|
return {
|
||||||
backgroundColor: 'var(--icon-activity-bg)',
|
backgroundColor: 'var(--icon-activity-bg)',
|
||||||
color: 'var(--icon-activity-color)',
|
color: 'var(--icon-activity-color)',
|
||||||
borderRadius: ROUND_BORDER_RADIUS,
|
borderRadius: CIRCULAR_BORDER_RADIUS,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
if (config.id === 'config') {
|
if (config.id === 'config') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user