Files
Verso/services/web/frontend/stylesheets/abstracts/themes-common-variables.scss
T
Rebeka DekanyandCopybot 3f11776ecd Remove LESS stylesheets and dependencies (#27409)
* Remove components, core and modules LESS stylesheets

* Remove variables LESS stylesheets

* Remove app LESS stylesheets

* Remove github-sync, onboarding LESS stylesheets

* Remove main-light and IEEE LESS stylesheets

* Remove Less loader configuration

* Remove bootstrap-3 entrypoint

* Rename bootstrap-5 entrypoint to bootstrap

* Remove bootstrap-5 CSS folder and move stylesheets

* Update CSS variables

* Restore and update github-sync.scss path

* Fix try-premium.scss path and fix undefined mixin error

* Restore entrypoints

* Simplify buildCssPath to always use main-style.css

* Remove less from prettier formatting scripts

* Remove less from addHook extension

* Source format

* Remove nvd3 file reference from prettierignore (equivalent of nvd3.scss)

* Remove less and less-loader

* Add SCSS files to pirates require hook

GitOrigin-RevId: bd83c79f4d6ef7305d75993959a4dc5e7714ef9c
2025-08-06 08:05:38 +00:00

60 lines
2.8 KiB
SCSS

/* ====== Semantic CSS color variables that adjust depending on the current theme ====== */
:root {
--editor-border-color: var(--neutral-80);
--bg-primary-themed: var(--bg-dark-primary);
--bg-secondary-themed: var(--bg-dark-secondary);
--bg-tertiary-themed: var(--bg-dark-tertiary);
--bg-disabled-themed: var(--bg-dark-disabled);
--content-primary-themed: var(--content-primary-dark);
--content-secondary-themed: var(--content-secondary-dark);
--content-disabled-themed: var(--content-disabled-dark);
--content-placeholder-themed: var(--content-placeholder-dark);
--content-danger-themed: var(--content-danger-dark);
--content-warning-themed: var(--content-warning-dark);
--content-positive-themed: var(--content-positive-dark);
--content-info-themed: var(--content-info-dark);
--border-primary-themed: var(--border-primary-dark);
--border-hover-themed: var(--border-hover-dark);
--border-disabled-themed: var(--border-disabled-dark);
--border-active-themed: var(--border-active-dark);
--border-danger-themed: var(--border-danger-dark);
--border-divider-themed: var(--border-divider-dark);
--link-web-themed: var(--link-web-dark);
--link-web-hover-themed: var(--link-web-hover-dark);
--link-web-visited-themed: var(--link-web-visited-dark);
--link-ui-themed: var(--link-ui-dark);
--link-ui-hover-themed: var(--link-ui-hover-dark);
--link-ui-visited-themed: var(--link-ui-visited-dark);
--premium-gradient-themed: var(--premium-gradient-dark);
}
@include theme('light') {
--editor-border-color: var(--neutral-20);
--bg-primary-themed: var(--bg-light-primary);
--bg-secondary-themed: var(--bg-light-secondary);
--bg-tertiary-themed: var(--bg-light-tertiary);
--bg-disabled-themed: var(--bg-light-disabled);
--content-primary-themed: var(--content-primary);
--content-secondary-themed: var(--content-secondary);
--content-disabled-themed: var(--content-disabled);
--content-placeholder-themed: var(--content-placeholder);
--content-danger-themed: var(--content-danger);
--content-warning-themed: var(--content-warning);
--content-positive-themed: var(--content-positive);
--content-info-themed: var(--content-info);
--border-primary-themed: var(--border-primary);
--border-hover-themed: var(--border-hover);
--border-disabled-themed: var(--border-disabled);
--border-active-themed: var(--border-active);
--border-danger-themed: var(--border-danger);
--border-divider-themed: var(--border-divider);
--border-dark-divider-themed: var(--border-dark-divider);
--link-web-themed: var(--link-web);
--link-web-hover-themed: var(--link-web-hover);
--link-web-visited-themed: var(--link-web-visited);
--link-ui-themed: var(--link-ui);
--link-ui-hover-themed: var(--link-ui-hover);
--link-ui-visited-themed: var(--link-ui-visited);
--premium-gradient-themed: var(--premium-gradient);
}