mirror of
https://github.com/NohamR/Pocket-Bird.git
synced 2026-05-25 12:17:22 +00:00
Insert css scale as variable at runtime
This commit is contained in:
1
dist/birb.js
vendored
1
dist/birb.js
vendored
@@ -58,6 +58,7 @@ const STYLESHEET = `@font-face {
|
||||
--neg-double-border-size: calc(var(--neg-border-size) * 2);
|
||||
--highlight: #ffa3cb;
|
||||
--border-color: var(--highlight);
|
||||
--birb-scale: ${CSS_SCALE};
|
||||
}
|
||||
|
||||
#birb {
|
||||
|
||||
1
dist/birb.user.js
vendored
1
dist/birb.user.js
vendored
@@ -71,6 +71,7 @@ const STYLESHEET = `@font-face {
|
||||
--neg-double-border-size: calc(var(--neg-border-size) * 2);
|
||||
--highlight: #ffa3cb;
|
||||
--border-color: var(--highlight);
|
||||
--birb-scale: ${CSS_SCALE};
|
||||
}
|
||||
|
||||
#birb {
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
--neg-double-border-size: calc(var(--neg-border-size) * 2);
|
||||
--highlight: #ffa3cb;
|
||||
--border-color: var(--highlight);
|
||||
--birb-scale: ${CSS_SCALE};
|
||||
}
|
||||
|
||||
#birb {
|
||||
|
||||
Reference in New Issue
Block a user