1+ // This is the main module - eccentrictouch
2+
3+ /* !
4+ * Eccentric Touch v2.0.0
5+ * Copyright 2020-2021 The DesignSystems
6+ * Licensed under Apache License (https://github.com/DesignSystemsOSS/eccentrictouch/blob/main/LICENSE)
7+ */
8+
9+ /// Importing Google Fonts here
10+ @import url (' https://fonts.googleapis.com/css2?family=Noto+Serif&display=swap' ); /// NOTO SERIF
11+ @import url (' https://fonts.googleapis.com/css2?family=Poppins&display=swap' ); /// POPPINS
12+ @import url (' https://fonts.googleapis.com/css2?family=Work+Sans&display=swap' ); /// Work Sans
13+
14+
15+ /// defining global root properties
16+ :root {
17+ --et-black : #292929 ;
18+ --et-white : #ffffff ;
19+
20+ --et-blue-primary : #0085FF ;
21+ --et-default : #0085FF ;
22+ --et-info : #0085FF ;
23+ --et-blue-secondary : #9DD0FF ;
24+
25+ --et-purple-primary : #0038FF ;
26+ --et-purple-secondary : #829DFF ;
27+
28+ --et-red-primary : #E73A3A ;
29+ --et-invalid : #E73A3A ;
30+ --et-danger : #E73A3A ;
31+ --et-red-secondary : #FF8282 ;
32+
33+ --et-green-primary : #00D43B ;
34+ --et-valid : #00D43B ;
35+ --et-success : #00D43B ;
36+ --et-green-secondary : #8BFFAC ;
37+
38+ --et-yellow-primary : #FFD028 ;
39+ --et-warning : #FFD028 ;
40+ --et-yellow-secondary : #FFEA9D ;
41+
42+ --et-gray-primary : #CECECE ;
43+ --et-gray-secondary : #D3D3D3 ;
44+ --et-deactivated : #CECECE ;
45+
46+ /// fonts initialization
47+ --et-serif : ' Noto Serif' , serif ;
48+ --et-sans-serif : ' Poppins' , sans-serif ;
49+ --et-description : ' Work Sans' , sans-serif ;
50+ }
51+
52+ @media (prefers-reduced-motion : no- preference) {
53+ :root {
54+ scroll-behavior : smooth ;
55+ }
56+ }
57+
58+ body {
59+ margin-left : auto ;
60+ margin-right : auto ;
61+ max-width : 1400px ;
62+ }
63+
64+ /// button method - primary-button, default button property
65+ .et-button , button , .et-primaryButton {
66+ color : white ;
67+ background-color : var (--et-blue-primary );
68+ padding : 0.6em ;
69+ border : none ;
70+ margin : 0 ;
71+ font-family : var (--et-sans-serif );
72+ border-radius : 4px ;
73+ font-size : inherit ;
74+ line-height : inherit ;
75+ }
76+
77+ .et-button-danger , .et-button-invalid {
78+ color : white ;
79+ background-color : var (--et-danger );
80+ padding : 0.6em ;
81+ border : none ;
82+ margin : 0 ;
83+ font-family : var (--et-sans-serif );
84+ border-radius : 4px ;
85+ font-size : inherit ;
86+ line-height : inherit ;
87+ }
88+
89+ .et-button-success , .et-button-valid {
90+ color : white ;
91+ background-color : var (--et-green-primary );
92+ padding : 0.6em ;
93+ border : none ;
94+ margin : 0 ;
95+ font-family : var (--et-sans-serif );
96+ border-radius : 4px ;
97+ font-size : inherit ;
98+ line-height : inherit ;
99+ }
100+
101+ .et-button-warning {
102+ color : white ;
103+ background-color : var (--et-yellow-primary );
104+ padding : 0.6em ;
105+ border : none ;
106+ margin : 0 ;
107+ font-family : var (--et-sans-serif );
108+ border-radius : 4px ;
109+ font-size : inherit ;
110+ line-height : inherit ;
111+ }
0 commit comments