Skip to content

Commit 3d791c4

Browse files
committed
fix: stylevar --primary-color is --primary
1 parent 007c3c4 commit 3d791c4

21 files changed

+236
-145
lines changed

_page/components/header-toolbar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class HeaderToolbar extends FBP(LitElement) {
8484
:host([selected="api"]) a[name="api"],
8585
:host([selected="guide"]) a[name="guide"]
8686
{
87-
border-bottom: 2px solid var(--on-secondary);
87+
border-bottom: 2px solid var(--accent);
8888
}
8989
9090

_page/home/view-home.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class ViewHome extends FBP(LitElement) {
8181
display: flex;
8282
align-content: start;
8383
font-weight: 500;
84-
color: var(--on-background);
84+
color:var(--accent);
8585
}
8686
8787
h1 {
@@ -128,6 +128,9 @@ class ViewHome extends FBP(LitElement) {
128128
h2.with-footnote{
129129
margin-bottom: 0;
130130
}
131+
a{
132+
color:var(--accent);
133+
}
131134
`
132135
}
133136

_page/styling.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export class Styling {
1010
--primary: #ececec;
1111
--accent: #3f83e3;
1212
--primary-variant: #f4f4f4;
13-
--secondary: #f4f4f4;
13+
--secondary: #ffeb3b;
1414
--secondary-variant: #edeeed;
1515
--background: #ffffff;
1616
--surface: #eeeeee;
@@ -26,7 +26,7 @@ export class Styling {
2626
--on-danger: #FAFAFA;
2727
--on-primary: #212121;
2828
--on-primary-variant: #585858;
29-
--on-secondary: #212121;
29+
--on-secondary: #000000;
3030
--on-background: #212121;
3131
--on-surface: #212121;
3232
--on-header: #ffffff;

packages/furo-data-input/furo-data-checkbox-input.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class FuroDataCheckboxInput extends FBP(FuroInputBase(LitElement)) {
6767
}
6868
6969
:host(:focus-within) .border{
70-
border-color: var(--primary-color,#3f51b5);
70+
border-color: var(--primary,#3f51b5);
7171
border-width: 1px;
7272
}
7373

packages/furo-data-input/furo-data-collection-dropdown.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class FuroDataCollectionDropdown extends FBP(FuroInputBase(LitElement)) {
7575
}
7676
7777
label[float="true"] {
78-
color: var(--primary-color, #3f51b5);
78+
color: var(--primary, #3f51b5);
7979
font-size: 10px;
8080
top: -4px;
8181
visibility: visible;
@@ -105,7 +105,7 @@ class FuroDataCollectionDropdown extends FBP(FuroInputBase(LitElement)) {
105105
}
106106
107107
:host(:focus-within) .border {
108-
border-color: var(--primary-color, #3f51b5);
108+
border-color: var(--primary, #3f51b5);
109109
border-width: 1px;
110110
}
111111
`

packages/furo-data-input/furo-data-color-input.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class FuroDataColorInput extends FBP(FuroInputBase(LitElement)) {
101101
}
102102
103103
:host(:focus-within) .border {
104-
border-color: var(--primary-color, #3f51b5);
104+
border-color: var(--primary, #3f51b5);
105105
border-width: 1px;
106106
}
107107
`

packages/furo-data-input/furo-data-date-input.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class FuroDataDateInput extends FBP(FuroInputBase(LitElement)) {
7676
overflow: hidden;
7777
white-space: nowrap;
7878
text-align: left;
79-
color: var(--primary-color, #3f51b5);
79+
color: var(--primary, #3f51b5);
8080
font-size: 10px;
8181
top: -4px;
8282
visibility: visible;
@@ -108,7 +108,7 @@ class FuroDataDateInput extends FBP(FuroInputBase(LitElement)) {
108108
}
109109
110110
:host(:focus-within) .border {
111-
border-color: var(--primary-color, #3f51b5);
111+
border-color: var(--primary, #3f51b5);
112112
border-width: 1px;
113113
}
114114
`

packages/furo-data-input/furo-data-password-input.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class FuroDataPasswordInput extends FBP(FuroInputBase(LitElement)) {
8686
}
8787
8888
label[float="true"] {
89-
color: var(--primary-color, #3f51b5);
89+
color: var(--primary, #3f51b5);
9090
font-size: 10px;
9191
top: -4px;
9292
visibility: visible;
@@ -116,7 +116,7 @@ class FuroDataPasswordInput extends FBP(FuroInputBase(LitElement)) {
116116
}
117117
118118
:host(:focus-within) .border {
119-
border-color: var(--primary-color, #3f51b5);
119+
border-color: var(--primary, #3f51b5);
120120
border-width: 1px;
121121
}
122122
`

packages/furo-data-input/furo-data-range-input.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class FuroDataRangeInput extends FBP(FuroInputBase(LitElement)) {
8282
}
8383
8484
label[float="true"] {
85-
color: var(--primary-color, #3f51b5);
85+
color: var(--primary, #3f51b5);
8686
font-size: 10px;
8787
top: -4px;
8888
visibility: visible;
@@ -112,7 +112,7 @@ class FuroDataRangeInput extends FBP(FuroInputBase(LitElement)) {
112112
}
113113
114114
:host(:focus-within) .border {
115-
border-color: var(--primary-color, #3f51b5);
115+
border-color: var(--primary, #3f51b5);
116116
border-width: 1px;
117117
}
118118
`

packages/furo-data-input/furo-data-search-input.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class FuroDataSearchInput extends FBP(FuroInputBase(LitElement)) {
8181
}
8282
8383
label[float="true"] {
84-
color: var(--primary-color, #3f51b5);
84+
color: var(--primary, #3f51b5);
8585
font-size: 10px;
8686
top: -4px;
8787
visibility: visible;
@@ -111,7 +111,7 @@ class FuroDataSearchInput extends FBP(FuroInputBase(LitElement)) {
111111
}
112112
113113
:host(:focus-within) .border {
114-
border-color: var(--primary-color, #3f51b5);
114+
border-color: var(--primary, #3f51b5);
115115
border-width: 1px;
116116
}
117117
`

0 commit comments

Comments
 (0)