-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Showing
5 changed files
with
13 additions
and
7 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 |
---|---|---|
|
@@ -338,11 +338,13 @@ Dark mode example: | |
```css | ||
@media (prefers-color-scheme: dark) { | ||
.iti { | ||
--iti-border-color: #30363d; | ||
--iti-border-color: #5b5b5b; | ||
--iti-dialcode-color: #999999; | ||
--iti-dropdown-bg: #0d1117; | ||
--iti-arrow-color: #aaaaaa; | ||
--iti-hover-color: #30363d; | ||
--iti-path-globe-1x: url("path/to/globe_light.png"); | ||
--iti-path-globe-2x: url("path/to/[email protected]"); | ||
} | ||
} | ||
``` | ||
|
@@ -356,7 +358,7 @@ NOTE: this assumes you already have your own dark mode styling in place for gene | |
background-color: #0d1117; | ||
} | ||
input { | ||
border-color: #30363d; | ||
border-color: #5b5b5b; | ||
} | ||
input::placeholder { | ||
color: #8d96a0; | ||
|
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 |
---|---|---|
|
@@ -56,16 +56,18 @@ input::placeholder { | |
background-color: #0d1117; | ||
} | ||
input { | ||
border-color: #30363d; | ||
border-color: #5b5b5b; | ||
} | ||
input::placeholder { | ||
color: #8d96a0; | ||
} | ||
:root { | ||
--iti-border-color: #30363d; | ||
.iti { | ||
--iti-border-color: #5b5b5b; | ||
--iti-dialcode-color: #999999; | ||
--iti-dropdown-bg: #0d1117; | ||
--iti-arrow-color: #aaaaaa; | ||
--iti-hover-color: #30363d; | ||
--iti-path-globe-1x: url("../img/globe_light.png"); | ||
--iti-path-globe-2x: url("../img/[email protected]"); | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
|
@@ -62,17 +62,19 @@ input::placeholder { | |
background-color: #0d1117; | ||
} | ||
input { | ||
border-color: #30363d; | ||
border-color: #5b5b5b; | ||
} | ||
input::placeholder { | ||
color: #8d96a0; | ||
} | ||
// intl-tel-input styling | ||
.iti { | ||
--iti-border-color: #30363d; | ||
--iti-border-color: #5b5b5b; | ||
--iti-dialcode-color: #999999; | ||
--iti-dropdown-bg: #0d1117; | ||
--iti-arrow-color: #aaaaaa; | ||
--iti-hover-color: #30363d; | ||
--iti-path-globe-1x: url("../img/globe_light.png"); | ||
--iti-path-globe-2x: url("../img/[email protected]"); | ||
} | ||
} |