Skip to content

Commit d24d451

Browse files
authored
Merge pull request #669 from framer/fix-selection-colors
Fix selection colors
2 parents d7eee72 + be73c24 commit d24d451

7 files changed

Lines changed: 30 additions & 9 deletions

File tree

plugins/ashby/src/App.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ main {
1717
--framer-color-tint-dimmed: rgba(73, 63, 172, 0.12);
1818
}
1919

20+
[data-framer-theme="dark"] *::selection {
21+
background-color: rgba(255, 255, 255, 0.2);
22+
color: #fff;
23+
}
24+
2025
form {
2126
display: flex;
2227
flex-direction: column;

plugins/global-search/src/styles.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,8 @@
7272
mask: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAApNJREFUSA2tlUtLlFEYgEe7mtFFQ8NLFBG1SJAwahtiLVy5ceVSEPQH1LZf0Lp9FO1bdYNyI7gyBFcS2kAzilYq3sfxeYZ55Zv6FGfohWfOd97vnPd23u9MXeZoaeb1Q7gPHXAFzsAS5GACxiEPqVKXqs1kmtAPQi+cAtedToz1PJ8ExxPwDl7CAlRImoN7rBiF86ABHTiGAzMIh8n3O+ifwWc4EL0n5TGTYQijvjNSxbUadozInUeGZ3nuh1WYgpIkM+hGMwYajAgdrfUn+AaLoLTCAxiAOxCZxL4RdB+gZMjxEjwHo4hS8Jh5DR9hz0mKaNizegoNEI7Wee6FXJTISG6AUgDr+QImoAiHie+mwZJow/PRps4uwnsnRj8Epqc4voVJJ8eULOtW4BFYYjPpgjc+3IWI2sh/wFeoVl6xYQ48dDGLfjOwc/ygQqz595hUMVouS9QHBm4l6k3HWpnBLqicgVrlCxujSbR1Swd+UDpQYRS/oVaZZ2MWwlZBB9Zdxf+QTYw8SRgq6sAvz7vH6JULEB9USVHFjzZskgPRQR4ayxoXXIdaHdg9HrB2rErByWxZERnYtrWUzD0esDbtTmXPhzXwHrKLxEUbYGbVyDkWWwkdadfqbPmwDXZSCyh2VAf8BM/nOOJH5Y0QopMt2I5U/KO4DZZJB47XwEX+ex0mGroMV8sLwp56gyuGwiyW4SZ4c8bt2cZzO7jBNeqtsRHbeZ1g9krsMbhfYPv/c5gecA+4yAVuitFszE5Hjva872OMdXagF19JIoOYWyozMTI3J0tmA6gLvXPfO1cc/XOqOLe/HbjwD8yCXRD3VNJROEgatiRZMJsKsbZHia3nAdphtq8fkiWyXJbBe8uM1aXKPouNnz2Bm1kwAAAAAElFTkSuQmCC");
7373
mask-size: 12px;
7474
}
75+
76+
*::selection {
77+
background-color: var(--framer-color-tint-dimmed, rgba(0, 153, 255, 0.1));
78+
color: var(--framer-color-tint, #09f);
79+
}

plugins/google-sheets/src/globals.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ main {
66
--framer-color-tint: #00c43e;
77
--framer-color-tint-dark: #00b539;
88
--framer-color-tint-extra-dark: #00ab36;
9+
--framer-color-tint-dimmed: rgba(0, 196, 62, 0.1);
910
}
1011

1112
select:not(:disabled) {

plugins/greenhouse/src/App.css

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ main {
1010

1111
user-select: none;
1212
-webkit-user-select: none;
13+
14+
--framer-color-tint: #23a47f;
15+
--framer-color-tint-dark: #23a47f;
16+
--framer-color-tint-extra-dark: #23a47f;
17+
--framer-color-tint-dimmed: rgba(35, 164, 127, 0.12);
1318
}
1419

1520
form {
@@ -138,11 +143,6 @@ form {
138143
background-color: var(--framer-color-bg-tertiary) !important;
139144
}
140145

141-
.mapping .source-field:focus-visible {
142-
outline: none;
143-
box-shadow: inset 0 0 0 1px #15372c;
144-
}
145-
146146
.mapping .source-field.missing-reference,
147147
.mapping .source-field.missing-reference input[type="checkbox"] {
148148
cursor: not-allowed;
@@ -195,10 +195,6 @@ form {
195195
pointer-events: none;
196196
}
197197

198-
input[type="checkbox"]:checked {
199-
background-color: #15372c;
200-
}
201-
202198
.setup,
203199
.mapping {
204200
width: 100%;

plugins/notion/src/App.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@
33
[data-framer-theme="light"] #root {
44
--framer-color-tint: #000;
55
--framer-color-tint-dark: #262626;
6+
--framer-color-tint-dimmed: rgba(0, 0, 0, 0.15);
67
--framer-color-tint-extra-dark: #333333;
78
}
89

910
[data-framer-theme="dark"] #root {
1011
--framer-color-tint: #fff;
1112
--framer-color-tint-dark: #e3e3e3;
1213
--framer-color-tint-extra-dark: #c3c3c3;
14+
--framer-color-tint-dimmed: rgba(255, 255, 255, 0.2);
1315
--framer-color-text-reversed: #000;
1416
}
1517

plugins/prco/src/App.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ main {
1313
--framer-color-tint: #0f7639;
1414
--framer-color-tint-dark: #0f7639;
1515
--framer-color-tint-extra-dark: #0f7639;
16+
--framer-color-tint-dimmed: rgba(15, 118, 57, 0.1);
17+
}
18+
19+
[data-framer-theme="dark"] *::selection {
20+
background-color: rgba(255, 255, 255, 0.2);
21+
color: #fff;
1622
}
1723

1824
form {

plugins/recruitee/src/App.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ main {
1313
--framer-color-tint: #493fac;
1414
--framer-color-tint-dark: #493fac;
1515
--framer-color-tint-extra-dark: #493fac;
16+
--framer-color-tint-dimmed: rgba(73, 63, 172, 0.15);
17+
}
18+
19+
[data-framer-theme="dark"] *::selection {
20+
background-color: rgba(255, 255, 255, 0.2);
21+
color: #fff;
1622
}
1723

1824
form {

0 commit comments

Comments
 (0)