feat: sync all remaining python source board configurations
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// only scss variables
|
||||
|
||||
$--colors: (
|
||||
"primary": ("base": #589ef8,
|
||||
),
|
||||
);
|
||||
|
||||
@forward "element-plus/theme-chalk/src/dark/var.scss" with ($colors: $--colors);
|
||||
@@ -0,0 +1,33 @@
|
||||
$--colors: (
|
||||
'primary': ('base': green,
|
||||
),
|
||||
'success': ('base': #21ba45,
|
||||
),
|
||||
'warning': ('base': #f2711c,
|
||||
),
|
||||
'danger': ('base': #db2828,
|
||||
),
|
||||
'error': ('base': #db2828,
|
||||
),
|
||||
'info': ('base': #42b8dd,
|
||||
),
|
||||
);
|
||||
|
||||
// we can add this to custom namespace, default is 'el'
|
||||
@forward 'element-plus/theme-chalk/src/mixins/config.scss' with ($namespace: 'ep'
|
||||
);
|
||||
|
||||
// You should use them in scss, because we calculate it by sass.
|
||||
// comment next lines to use default color
|
||||
@forward 'element-plus/theme-chalk/src/common/var.scss' with ( // do not use same name, it will override.
|
||||
$colors: $--colors,
|
||||
$button-padding-horizontal: ('default': 50px));
|
||||
|
||||
// if you want to import all
|
||||
// @use "element-plus/theme-chalk/src/index.scss" as *;
|
||||
|
||||
// You can comment it to hide debug info.
|
||||
// @debug $--colors;
|
||||
|
||||
// custom dark variables
|
||||
@use './dark.scss';
|
||||
@@ -0,0 +1,28 @@
|
||||
// import dark theme
|
||||
@use 'element-plus/theme-chalk/src/dark/css-vars.scss' as *;
|
||||
|
||||
// :root {
|
||||
// --ep-color-primary: red;
|
||||
// }
|
||||
|
||||
code {
|
||||
border-radius: 2px;
|
||||
padding: 2px 4px;
|
||||
background-color: var(--ep-color-primary-light-9);
|
||||
color: var(--ep-color-primary);
|
||||
}
|
||||
|
||||
#nprogress {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
#nprogress .bar {
|
||||
background: rgb(13, 148, 136);
|
||||
opacity: 0.75;
|
||||
position: fixed;
|
||||
z-index: 1031;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
}
|
||||
Reference in New Issue
Block a user