-
Notifications
You must be signed in to change notification settings - Fork 5
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
4 changed files
with
98 additions
and
21 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
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
.search-box { | ||
--form-control-corner-radius: 0.3rem; | ||
--form-control-color: var(--gray-500); | ||
--form-label-color: var(--gray-500); | ||
} | ||
|
||
.search-box:focus-within { | ||
--form-control-color: var(--primary); | ||
} | ||
|
||
.search-box:focus-within div:nth-child(2){ | ||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.25); | ||
} | ||
|
||
.search-box:focus-within div:nth-child(2) > * { | ||
border-color: transparent; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
const path = require('path') | ||
|
||
const icons = ['magnify'] | ||
|
||
const iconsRoot = path.join( | ||
path.dirname(require.resolve('@mdi/svg/package.json')), | ||
'./svg' | ||
) | ||
|
||
const config = { | ||
icons: { | ||
path: iconsRoot, | ||
files: icons, | ||
}, | ||
|
||
output: { | ||
path: path.join(__dirname, 'public/design'), | ||
publicPath: '/design', | ||
icons: { | ||
files: 'icons', | ||
sprite: 'icons.svg', | ||
}, | ||
}, | ||
} | ||
|
||
module.exports = config |
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