Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devx1435 Design tokens + improve card styles #160

Merged
merged 14 commits into from
Jul 30, 2024
1 change: 1 addition & 0 deletions packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"@backstage/plugin-user-settings": "^0.8.5",
"@backstage/theme": "^0.5.3",
"@bcgov/bc-sans": "^2.0.0",
"@bcgov/design-tokens": "^3.0.0",
"@internal/plugin-analytics-module-snowplow": "^0.1.0",
"@material-ui/core": "^4.12.4",
"@material-ui/icons": "^4.11.3",
Expand Down
1 change: 0 additions & 1 deletion packages/app/src/components/Root/Root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ export const Root = ({ children }: PropsWithChildren<{}>) => {
</SidebarScrollWrapper> */}
</SidebarGroup>
<SidebarSpace />
<SidebarDivider />
<SidebarGroup
label="Offsite Links"
>
Expand Down
32 changes: 32 additions & 0 deletions packages/app/src/components/home/HomeHeaderText.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import {Typography, withStyles} from "@material-ui/core";
import * as tokens from "@bcgov/design-tokens/js";

export const BCGovBannerText = withStyles({
root: {
position: 'relative',
'&::before': {
content: `''`,
position: 'absolute',
top: '-6px',
left: '-25px',
width: '4px',
height: '64px',
background: tokens.themePrimaryGold
},
}
})(Typography);

export const BCGovHeaderText = withStyles({
root: {
position: 'relative',
'&::before': {
content: `''`,
position: 'absolute',
top: '-10px',
left: '0',
width: '36px',
height: '4px',
background: tokens.themePrimaryGold
},
}
})(Typography);
Loading