一些检查失败了
automerge / automerge (push) Has been cancelled
react-native-android-build-apk / AssembleRelease (push) Has been cancelled
Build macOS M1 / Main (push) Has been cancelled
Joplin Continuous Integration / Main (macos-15-intel) (push) Has been cancelled
Joplin Continuous Integration / Main (ubuntu-22.04) (push) Has been cancelled
Joplin Continuous Integration / Main (ubuntu-22.04-arm) (push) Has been cancelled
Joplin Continuous Integration / Main (windows-11-vs2026-arm) (push) Has been cancelled
Joplin Continuous Integration / Main (windows-2025) (push) Has been cancelled
Joplin Continuous Integration / ServerDockerImage (ubuntu-22.04) (push) Has been cancelled
Joplin Continuous Integration / ServerDockerImage (ubuntu-22.04-arm) (push) Has been cancelled
Joplin UI tests / Main (ubuntu-22.04) (push) Has been cancelled
Joplin UI tests / Main (windows-2025) (push) Has been cancelled
Joplin UI tests / Mobile (push) Has been cancelled
Close stale issues / ProcessStaleIssues (push) Has been cancelled
45 行
1.0 KiB
JavaScript
45 行
1.0 KiB
JavaScript
'use strict';
|
|
const { createSelector } = require('reselect');
|
|
const { themeStyle } = require('@joplin/lib/theme');
|
|
const themeSelector = (state, props) => themeStyle(props.themeId);
|
|
const style = createSelector(themeSelector, (theme) => {
|
|
const output = {
|
|
root: {
|
|
width: 220,
|
|
height: 60,
|
|
borderRadius: 4,
|
|
border: '1px solid',
|
|
borderColor: theme.dividerColor,
|
|
backgroundColor: theme.backgroundColor,
|
|
paddingLeft: 14,
|
|
paddingRight: 14,
|
|
paddingTop: 8,
|
|
paddingBottom: 8,
|
|
boxSizing: 'border-box',
|
|
display: 'flex',
|
|
flexDirection: 'row',
|
|
boxShadow: '0px 1px 1px rgba(0,0,0,0.3)',
|
|
},
|
|
logo: {
|
|
width: 42,
|
|
height: 42,
|
|
},
|
|
labelGroup: {
|
|
display: 'flex',
|
|
flexDirection: 'column',
|
|
justifyContent: 'center',
|
|
marginLeft: 14,
|
|
fontFamily: theme.fontFamily,
|
|
color: theme.color,
|
|
fontSize: theme.fontSize,
|
|
},
|
|
locationLabel: {
|
|
fontSize: theme.fontSize * 1.2,
|
|
fontWeight: 'bold',
|
|
},
|
|
};
|
|
return output;
|
|
});
|
|
module.exports = style;
|
|
// # sourceMappingURL=ExtensionBadge.js.map
|