Skip to content

Commit 77d6f8f

Browse files
ciar4nwilsonge
authored andcommitted
Self contain webcomponent SCSS (#21615)
1 parent 9599494 commit 77d6f8f

File tree

4 files changed

+19
-187
lines changed

4 files changed

+19
-187
lines changed

build/media/webcomponents/scss/_functions.scss

Lines changed: 0 additions & 89 deletions
This file was deleted.

build/media/webcomponents/scss/_variables.scss

Lines changed: 0 additions & 54 deletions
This file was deleted.

build/media/webcomponents/scss/field-switcher/field-switcher.scss

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,27 @@
11
// Switcher
22

3-
@import "../functions";
4-
@import "../mixins";
5-
@import "../variables";
6-
73
$switcher-width: 62px;
84
$switcher-height: 28px;
95
$border-width: 1px;
6+
$border-radius: 0;
7+
8+
$white: #fff;
9+
$gray-600: #868e96;
10+
11+
$blue: #1e87f0;
12+
$red: #f0506e;
13+
$yellow: #faa05a;
14+
$green: #2f7d32;
15+
16+
$theme-colors: ();
17+
$theme-colors: map-merge((
18+
primary: $blue,
19+
secondary: $gray-600,
20+
success: $green,
21+
warning: $yellow,
22+
danger: $red
23+
), $theme-colors);
24+
1025

1126
joomla-field-switcher {
1227
box-sizing: border-box;

build/media/webcomponents/scss/mixins.scss

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)