web: move typography and button styles out from the `.theme-redesign`
Created by: valerybugakov
Changes
- Moved typography styles out from the
.theme-redesign
. - Moved button styles out from the
.theme-redesign
because they are connected to typography styles in the global scope.
Notes
Moving redesign styles out from the .theme-redesign
class resulted in multiple issues because the specificity of the selectors dropped. It's a good thing because, with Chromatic screenshots, I was able to fix changes that are inconsistent with the current design system and fix a couple of truly broken parts. Take a look into the changeset — things changed are actual inconsistencies that were hidden previously.
Part of the https://github.com/sourcegraph/sourcegraph/issues/20847. Closes https://github.com/sourcegraph/sourcegraph/issues/22597. Closes https://github.com/sourcegraph/sourcegraph/issues/22598.