mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-11 11:34:26 +00:00
bf6a122e38
* Initial changes to define theme maps, color function, and convert all global styles. * More global styles. * All styles converted, colors uncertain. * Fix tabs, temporary theme toggle button. * Color refinements * Color network selector, introduce shade function * Make palette page * Add theme button and minor styling to nav * Blueify dark theme * A bunch of color adjustments to work better with dark theme * Fix tables * Fix wallet decrypt colors * More misc fixes * Fix up electron colors * Convert web theme to redux state / action * Theme toggle in app, prevent rerenders * Get rid of all variables, fix selects * Fix conf modal, modal close styles * Fix test * Adjust swap colors * Check in breaking out component, changing icons * Check in progress * Theme toggle in footer. New icons * Prevent rerender on theme change * Fix up outstanding merge conflicts * Fix generate colors to be dark mode friendly * Reduce swap color intensity * Make disabled buttons darker in dark mode * Reduce button size by 25%
78 lines
1.3 KiB
SCSS
78 lines
1.3 KiB
SCSS
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
*:before,
|
|
*:after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
// Why comment this out you might ask? A bug in v3 set font-size to `15 px`
|
|
// which was invalid syntax, so it went with the browser default of 16px.
|
|
// But many things use $font-size-base as 15px, so I can't just change that
|
|
// to 16px. Neat-o.
|
|
// font-size: $font-size-pixels;
|
|
font-size: 16px;
|
|
|
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
@media screen and (min-width: $screen-xl) {
|
|
font-size: $font-size-pixels-xl;
|
|
}
|
|
@media screen and (max-width: $grid-float-breakpoint-max) {
|
|
font-size: $font-size-pixels-sm;
|
|
}
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
font-family: $font-family-base;
|
|
font-size: $font-size-base;
|
|
line-height: $line-height-base;
|
|
color: color(text-color);
|
|
background-color: color(body-bg);
|
|
height: 100%;
|
|
}
|
|
|
|
#app {
|
|
height: 100%;
|
|
}
|
|
|
|
input,
|
|
button,
|
|
select,
|
|
textarea {
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
line-height: inherit;
|
|
}
|
|
|
|
textarea {
|
|
resize: vertical;
|
|
}
|
|
|
|
figure {
|
|
margin: 0;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
hr {
|
|
margin-top: $space;
|
|
margin-bottom: $space;
|
|
border: 0;
|
|
border-top: 1px solid $hr-border;
|
|
}
|
|
|
|
a {
|
|
text-decoration-skip-ink: none;
|
|
}
|
|
|
|
#app {
|
|
overflow-x: hidden;
|
|
}
|