generated from Jonghakseo/chrome-extension-boilerplate-react-vite
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3fc8c4e
commit 838e0cc
Showing
2 changed files
with
16 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,16 @@ | ||
// CSS that can pollute global styles. Use it with caution. | ||
// If you use ShodowRoot for style pollution, this style will not be applied inside the content script. | ||
// TODO parse selectors from bitbucket with a script? | ||
// { | ||
// loader: "sass-loader", | ||
// options: { | ||
// additionalData: "$bitbucketMain: " + parsedMainSelector + ";", | ||
// }, | ||
// }, | ||
$bitbucketMain: '.css-kyhvoj'; | ||
$sidebarSelector: '.css-4rxc6l'; | ||
|
||
#{$bitbucketMain} { | ||
--color-main: #070f2b; | ||
& #{$sidebarSelector} { | ||
background-color: var(--color-main); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +0,0 @@ | ||
* { | ||
color: red !important; | ||
background-color: red !important; | ||
} | ||