updates on the astryx desing
This commit is contained in:
41
src/globalPolish.css
Normal file
41
src/globalPolish.css
Normal file
@@ -0,0 +1,41 @@
|
||||
/* Global visual polish that used to come from MUI's <CssBaseline>/<GlobalStyles>
|
||||
in themes/index.js (ThemeCustomization). Kept as plain CSS now that every
|
||||
page runs on Astryx — see root CLAUDE.md §6.6. Astryx's own reset
|
||||
(@astryxdesign/core/reset.css, imported in index.js) covers the base
|
||||
element resets; this file only carries the two enterprise-polish touches
|
||||
that reset doesn't: crisp font rendering and a thin, unobtrusive scrollbar. */
|
||||
|
||||
body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
* {
|
||||
scrollbar-width: thin; /* Firefox */
|
||||
scrollbar-color: rgba(0, 0, 0, 0.28) transparent;
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar-track {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar-thumb {
|
||||
background-color: rgba(0, 0, 0, 0.26);
|
||||
border-radius: 8px;
|
||||
border: 2px solid transparent;
|
||||
background-clip: padding-box;
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar-thumb:hover {
|
||||
background-color: rgba(0, 0, 0, 0.45);
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar-corner {
|
||||
background-color: transparent;
|
||||
}
|
||||
Reference in New Issue
Block a user