Skip to content

Commit

Permalink
style: 🛁 linting
Browse files Browse the repository at this point in the history
  • Loading branch information
rodneylab committed Nov 3, 2021
1 parent 6ac82e3 commit 83f6692
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
10 changes: 0 additions & 10 deletions generate-headers.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,6 @@ ${pageCspElements.join('\n')}
async function main() {
findHtmlFiles(buildDir);
createHeaders();
// console.log(pageCspElements);
}

main();

// #Content-Security-Policy-Report-Only: base-uri 'self'; child-src 'self'; connect-src 'self' ws://${
// process.env.VITE_DOMAIN
// } https://hcaptcha.com https://*.hcaptcha.com ${
// process.env.VITE_WORKER_URL
// }; img-src 'self' data\:; font-src 'self' data\:; form-action 'self'; frame-ancestors 'self'; frame-src 'self' https://hcaptcha.com https://*.hcaptcha.com; manifest-src 'self'; media-src 'self' data\:; object-src 'none'; style-src 'self' 'unsafe-hashes' ${styleSrcAttrCsp} https://hcaptcha.com https://*.hcaptcha.com; default-src 'self' ${rootDomain} ws://${rootDomain}; script-src 'self' 'unsafe-inline' https://hcaptcha.com https://*.hcaptcha.com; worker-src 'self'; report-to csp-endpoint; report-uri https://sentry.io/api/${
// process.env.SENTRY_PROJECT_ID
// }/security/?sentry_key=${process.env.SENTRY_KEY};
// Content-Security-Policy-Report-Only: default-src 'none';
8 changes: 7 additions & 1 deletion src/lib/components/BlogPostSummary.css.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import { themeVars } from '$lib/styles/themes/theme.css';
import { fontFamilyHeading, fontSize2, fontSize3 } from '$lib/styles/vars/font.css';
import {
fontFamilyHeading,
fontSize2,
fontSize3,
fontWeightNormal,
} from '$lib/styles/vars/font.css';
import {
spacing0,
spacing1,
Expand Down Expand Up @@ -56,6 +61,7 @@ export const contentHeading = style({
selectors: {
[`${content} &`]: {
color: themeVars.colour.alternative,
fontWeight: [fontWeightNormal],
textUnderlineOffset: [spacing2],
},
[`${content}:hover &,${content}:focus & `]: {
Expand Down

0 comments on commit 83f6692

Please sign in to comment.