Skip to content

Commit

Permalink
fixing prettier error
Browse files Browse the repository at this point in the history
  • Loading branch information
VKumar786 committed Nov 1, 2023
1 parent a690cd0 commit 508d2a6
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 40 deletions.
27 changes: 16 additions & 11 deletions packages/preview/src/styles/_components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ a {
}

@include respond-below(sm) {

.container,
.sidebar {
min-height: auto;
Expand All @@ -225,7 +224,7 @@ a {
padding-top: var(--space-2);
}

.container>.p3 {
.container > .p3 {
padding: var(--space-2);
}

Expand Down Expand Up @@ -253,7 +252,7 @@ a {
}
}

.icons:empty+.no-results:after {
.icons:empty + .no-results:after {
content: "No icons found";
}

Expand Down Expand Up @@ -289,7 +288,7 @@ a {
}

a.active {
background-color: rgba(173, 181, 189, .15);
background-color: rgba(173, 181, 189, 0.15);
}

a:focus {
Expand All @@ -298,7 +297,6 @@ a {
}
}


.p3,
.container {
background-color: #1b1f22;
Expand All @@ -307,7 +305,8 @@ a {

.p3 {
a {
color: #5cb0ff;
color: cyan;
// color: #ADD8E6;
}

.icon.h2:focus {
Expand All @@ -319,20 +318,26 @@ a {
.icons .item .icon {
background-color: #1b1f22;
border: 1px solid #495057;

}

.item:focus .icon {
border: 1px solid #e91e63;
background: rgba(var(--color-brand-rgb), 0.05);
}

.item:focus~.box {
.item:focus ~ .box {
border: 1px solid #e91e63;
}
}

// .checkbox-label .ball {
// background-color: #5cb0ff;
// }

pre.code .prism-code--copy {
// color: #5cb0ff;
color: white;
}
}

.checkbox {
opacity: 0;
Expand Down Expand Up @@ -374,6 +379,6 @@ a {
transition: transform 0.2s linear;
}

.checkbox:checked+.checkbox-label .ball {
.checkbox:checked + .checkbox-label .ball {
transform: translateX(24px);
}
}
38 changes: 9 additions & 29 deletions packages/preview/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
{
"compilerOptions": {
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
Expand All @@ -19,30 +15,14 @@
"jsx": "preserve",
"baseUrl": ".",
"paths": {
"@components/*": [
"./src/components/*"
],
"@pages/*": [
"./src/pages/*"
],
"@styles/*": [
"./src/styles/*"
],
"@utils/*": [
"./src/utils/*"
],
"@context/*": [
"./src/context/*"
]
"@components/*": ["./src/components/*"],
"@pages/*": ["./src/pages/*"],
"@styles/*": ["./src/styles/*"],
"@utils/*": ["./src/utils/*"],
"@context/*": ["./src/context/*"]
},
"incremental": true
},
"exclude": [
"node_modules"
],
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx"
]
}
"exclude": ["node_modules"],
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"]
}

0 comments on commit 508d2a6

Please sign in to comment.