Skip to content

Commit f5e3744

Browse files
committed
feat: theme color change
1 parent f4016f7 commit f5e3744

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

demo/src/index.less

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
margin: 0 auto;
1111
padding: 2rem;
1212
text-align: center;
13-
border: 2px solid #646cff;
13+
border: 2px solid #0da6e9;
1414
width: 500px;
1515
}
1616

@@ -20,7 +20,7 @@
2020
will-change: filter;
2121

2222
&:hover {
23-
filter: drop-shadow(0 0 2em #646cffaa);
23+
filter: drop-shadow(0 0 2em #0da6e9aa);
2424
transition: all 0.5s;
2525
}
2626
}
@@ -41,7 +41,7 @@ button {
4141
transition: border-color 0.25s;
4242
color: white;
4343
&:hover {
44-
border-color: #646cff;
44+
border-color: #0da6e9;
4545
}
4646

4747
&:focus,

demo/src/pages/style.less

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
margin: 0 auto;
33
padding: 2rem;
44
text-align: center;
5-
border: 2px solid #646cff;
5+
border: 2px solid #0da6e9;
66
width: 500px;
77
display: block;
88
}

examples/using-local-bundle/src/lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function d(t, o, e, i) {
1111
(a = t[f]) && (n = (c < 3 ? a(n) : c > 3 ? a(o, e, n) : a(o, e)) || n);
1212
return c > 3 && n && Object.defineProperty(o, e, n), n;
1313
}
14-
const g = `:root{font-family:Inter,Avenir,Helvetica,Arial,sans-serif;font-size:16px;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424}:host{display:block;margin:0 auto;padding:2rem;text-align:center;border:2px solid #646cff;width:500px}.logo{height:6em;padding:1.5em;will-change:filter}.logo:hover{filter:drop-shadow(0 0 2em #646cffaa);transition:all .5s}.card{padding:2em}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}.read-the-docs{color:#888}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}
14+
const g = `:root{font-family:Inter,Avenir,Helvetica,Arial,sans-serif;font-size:16px;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424}:host{display:block;margin:0 auto;padding:2rem;text-align:center;border:2px solid #0da6e9;width:500px}.logo{height:6em;padding:1.5em;will-change:filter}.logo:hover{filter:drop-shadow(0 0 2em #0da6e9aa);transition:all .5s}.card{padding:2em}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;cursor:pointer;transition:border-color .25s}button:hover{border-color:#0da6e9}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}.read-the-docs{color:#888}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}
1515
`;
1616
let l = class extends r {
1717
constructor() {

examples/using-local-bundle/src/lib/index.umd.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/create-quarkc/template-quarkc-component-ts/src/index.less

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
margin: 0 auto;
1313
padding: 2rem;
1414
text-align: center;
15-
border: 2px solid #646cff;
15+
border: 2px solid #0da6e9;
1616
width: 500px;
1717
}
1818

@@ -22,7 +22,7 @@
2222
will-change: filter;
2323

2424
&:hover {
25-
filter: drop-shadow(0 0 2em #646cffaa);
25+
filter: drop-shadow(0 0 2em #0da6e9aa);
2626
transition: all 0.5s;
2727
}
2828
}
@@ -42,7 +42,7 @@ button {
4242
transition: border-color 0.25s;
4343

4444
&:hover {
45-
border-color: #646cff;
45+
border-color: #0da6e9;
4646
}
4747

4848
&:focus,

packages/create-quarkc/template-quarkc-component/src/index.less

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
margin: 0 auto;
1313
padding: 2rem;
1414
text-align: center;
15-
border: 2px solid #646cff;
15+
border: 2px solid #0da6e9;
1616
width: 500px;
1717
}
1818

@@ -22,7 +22,7 @@
2222
will-change: filter;
2323

2424
&:hover {
25-
filter: drop-shadow(0 0 2em #646cffaa);
25+
filter: drop-shadow(0 0 2em #0da6e9aa);
2626
transition: all 0.5s;
2727
}
2828
}
@@ -42,7 +42,7 @@ button {
4242
transition: border-color 0.25s;
4343

4444
&:hover {
45-
border-color: #646cff;
45+
border-color: #0da6e9;
4646
}
4747

4848
&:focus,

0 commit comments

Comments
 (0)